本文整理汇总了Java中com.nineoldandroids.util.Property.getName方法的典型用法代码示例。如果您正苦于以下问题:Java Property.getName方法的具体用法?Java Property.getName怎么用?Java Property.getName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.nineoldandroids.util.Property
的用法示例。
在下文中一共展示了Property.getName方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setProperty
import com.nineoldandroids.util.Property; //导入方法依赖的package包/类
/**
* Sets the property that will be animated. Property objects will take precedence over
* properties specified by the {@link #setPropertyName(String)} method. Animations should
* be set up to use one or the other, not both.
*
* @param property The property being animated. Should not be null.
*/
public void setProperty(Property property) {
// mValues could be null if this is being constructed piecemeal. Just record the
// propertyName to be used later when setValues() is called if so.
if (mValues != null) {
PropertyValuesHolder valuesHolder = mValues[0];
String oldName = valuesHolder.getPropertyName();
valuesHolder.setProperty(property);
mValuesMap.remove(oldName);
mValuesMap.put(mPropertyName, valuesHolder);
}
if (mProperty != null) {
mPropertyName = property.getName();
}
mProperty = property;
// New property/values/target should cause re-initialization prior to starting
mInitialized = false;
}
示例2: setProperty
import com.nineoldandroids.util.Property; //导入方法依赖的package包/类
public void setProperty(Property property)
{
if (k != null)
{
PropertyValuesHolder propertyvaluesholder = k[0];
String s = propertyvaluesholder.getPropertyName();
propertyvaluesholder.setProperty(property);
l.remove(s);
l.put(p, propertyvaluesholder);
}
if (q != null)
{
p = property.getName();
}
q = property;
j = false;
}
示例3: PropertyValuesHolder
import com.nineoldandroids.util.Property; //导入方法依赖的package包/类
/**
* Internal utility constructor, used by the factory methods to set the property.
* @param property The property for this holder.
*/
private PropertyValuesHolder(Property property) {
mProperty = property;
if (property != null) {
mPropertyName = property.getName();
}
}
示例4: setProperty
import com.nineoldandroids.util.Property; //导入方法依赖的package包/类
public void setProperty(Property property) {
if (this.mValues != null) {
PropertyValuesHolder valuesHolder = this.mValues[0];
String oldName = valuesHolder.getPropertyName();
valuesHolder.setProperty(property);
this.mValuesMap.remove(oldName);
this.mValuesMap.put(this.mPropertyName, valuesHolder);
}
if (this.mProperty != null) {
this.mPropertyName = property.getName();
}
this.mProperty = property;
this.mInitialized = false;
}
示例5: PropertyValuesHolder
import com.nineoldandroids.util.Property; //导入方法依赖的package包/类
private PropertyValuesHolder(Property property) {
this.mSetter = null;
this.mGetter = null;
this.mKeyframeSet = null;
this.mPropertyMapLock = new ReentrantReadWriteLock();
this.mTmpValueArray = new Object[1];
this.mProperty = property;
if (property != null) {
this.mPropertyName = property.getName();
}
}
示例6: PropertyValuesHolder
import com.nineoldandroids.util.Property; //导入方法依赖的package包/类
private PropertyValuesHolder(Property property)
{
b = null;
g = null;
d = null;
e = new ReentrantReadWriteLock();
f = new Object[1];
mProperty = property;
if (property != null)
{
a = property.getName();
}
}