当前位置: 首页>>代码示例>>Java>>正文


Java Property.getName方法代码示例

本文整理汇总了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;
}
 
开发者ID:junchenChow,项目名称:exciting-app,代码行数:25,代码来源:ObjectAnimator.java

示例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;
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:18,代码来源:ObjectAnimator.java

示例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();
    }
}
 
开发者ID:junchenChow,项目名称:exciting-app,代码行数:11,代码来源:PropertyValuesHolder.java

示例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;
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:15,代码来源:ObjectAnimator.java

示例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();
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:12,代码来源:PropertyValuesHolder.java

示例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();
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:14,代码来源:PropertyValuesHolder.java


注:本文中的com.nineoldandroids.util.Property.getName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。