Home
last modified time | relevance | path

Searched refs:mCurrentValue (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLObjectProperty.java25 private Object mCurrentValue; field in GLObjectProperty
32 mDefaultValue = mCurrentValue = defaultValue; in GLObjectProperty()
37 return mDefaultValue != null & mDefaultValue.equals(mCurrentValue); in isDefault()
42 mCurrentValue = newValue; in setValue()
47 if (mCurrentValue == null) { in getStringValue()
50 if (mCurrentValue instanceof List<?>) { in getStringValue()
51 return "[" + JOINER.join((List<?>) mCurrentValue) + "]"; //$NON-NLS-1$ //$NON-NLS-2$ in getStringValue()
53 return mCurrentValue.toString(); in getStringValue()
64 return mCurrentValue; in getValue()
DGLStringProperty.java21 private String mCurrentValue; field in GLStringProperty
26 mDefaultValue = mCurrentValue = defaultValue; in GLStringProperty()
31 return mDefaultValue.equalsIgnoreCase(mCurrentValue); in isDefault()
37 mCurrentValue = (String) value; in setValue()
45 mCurrentValue = value; in setValue()
50 return mCurrentValue; in getValue()
55 return mCurrentValue; in getStringValue()
DGLLongProperty.java22 private Long mCurrentValue; field in GLLongProperty
28 mDefaultValue = mCurrentValue = defaultValue; in GLLongProperty()
38 return mDefaultValue != null & mDefaultValue.equals(mCurrentValue); in isDefault()
42 mCurrentValue = newValue; in setValue()
48 return String.format("0x%08x", Long.valueOf(mCurrentValue)); in getStringValue()
51 return mCurrentValue.toString(); in getStringValue()
62 mCurrentValue = (Long) value; in setValue()
71 return mCurrentValue; in getValue()
DGLIntegerProperty.java22 private Integer mCurrentValue; field in GLIntegerProperty
28 mDefaultValue = mCurrentValue = defaultValue; in GLIntegerProperty()
38 return mDefaultValue != null & mDefaultValue.equals(mCurrentValue); in isDefault()
42 mCurrentValue = newValue; in setValue()
48 return String.format("0x%08x", Integer.valueOf(mCurrentValue)); in getStringValue()
51 return mCurrentValue.toString(); in getStringValue()
62 mCurrentValue = (Integer) value; in setValue()
71 return mCurrentValue; in getValue()
DGLFloatProperty.java22 private Float mCurrentValue; field in GLFloatProperty
27 mDefaultValue = mCurrentValue = defaultValue; in GLFloatProperty()
32 return Math.abs(mCurrentValue - mDefaultValue) < 0.000000001; in isDefault()
36 mCurrentValue = newValue; in setValue()
42 mCurrentValue = (Float) value; in setValue()
51 return mCurrentValue; in getValue()
56 return mCurrentValue.toString(); in getStringValue()
DGLBooleanProperty.java23 private Boolean mCurrentValue; field in GLBooleanProperty
28 mDefaultValue = mCurrentValue = defaultValue; in GLBooleanProperty()
33 return mDefaultValue != null & mDefaultValue.equals(mCurrentValue); in isDefault()
37 mCurrentValue = newValue; in setValue()
42 return mCurrentValue.toString(); in getStringValue()
53 mCurrentValue = (Boolean) value; in setValue()
62 return mCurrentValue; in getValue()
DGLEnumProperty.java23 private GLEnum mCurrentValue; field in GLEnumProperty
29 mCurrentValue = mDefaultValue = defaultValue; in GLEnumProperty()
34 return mDefaultValue == mCurrentValue; in isDefault()
38 mCurrentValue = newValue; in setValue()
43 return mCurrentValue.toString(); in getStringValue()
54 mCurrentValue = (GLEnum) value; in setValue()
62 return mCurrentValue; in getValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiAbstractTextAttributeNode.java41 private String mCurrentValue = DEFAULT_VALUE; field in UiAbstractTextAttributeNode
51 return mCurrentValue; in getCurrentValue()
57 mCurrentValue = value; in setCurrentValue()
81 mCurrentValue = DEFAULT_VALUE; in updateValue()
83 mCurrentValue = xml_attribute_node.getNodeValue(); in updateValue()
86 if (isValid() && !getTextWidgetValue().equals(mCurrentValue)) { in updateValue()
89 setTextWidgetValue(mCurrentValue); in updateValue()
107 mCurrentValue = value; in commit()