/frameworks/base/core/java/android/util/ |
H A D | FloatProperty.java | 37 public abstract void setValue(T object, float value); argument 40 final public void set(T object, Float value) { argument 41 setValue(object, value);
|
H A D | IntProperty.java | 37 public abstract void setValue(T object, int value); argument 40 final public void set(T object, Integer value) { argument 41 setValue(object, value.intValue());
|
H A D | DebugUtils.java | 64 * @param object any object to match against the ANDROID_OBJECT_FILTER 66 * @return true if object is selected by the ANDROID_OBJECT_FILTER 69 public static boolean isObjectSelected(Object object) { argument 75 if (object.getClass().getSimpleName().matches(selectors[0])) { 79 Class<?> klass = object.getClass(); 93 .invoke(object, (Object[])null);
|
H A D | Property.java | 21 * in a <em>host</em> object. The Property's {@link #set(Object, Object)} or {@link #get(Object)} 22 * methods can be implemented in terms of the private fields of the host object, or via "setter" and 68 * object (in which case the {@link #set(Object, Object) set()} method should throw a {@link 71 * Class, String)} factory method may return a Property with name "foo" for an object that has 80 * Sets the value on <code>object</code> which this property represents. If the method is unable 81 * to set the value on the target object it will throw an {@link UnsupportedOperationException} 84 public void set(T object, V value) { argument 89 * Returns the current value that this property represents on the given <code>object</code>. 91 public abstract V get(T object); argument
|
H A D | ReflectiveProperty.java | 92 * object matches the type of the Property. The extra checks for primitive types are because 115 public void set(T object, V value) { argument 118 mSetter.invoke(object, value); 126 mField.set(object, value); 136 public V get(T object) { argument 139 return (V) mGetter.invoke(object, (Object[])null); 147 return (V) mField.get(object);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AnimatorInflaterTest.java | 34 private void assertUnique(Object object) { argument 35 assertUnique(object, ""); 38 private void assertUnique(Object object, String msg) { argument 39 final int code = System.identityHashCode(object); 40 assertTrue("object should be unique " + msg + ", obj:" + object, identityHashes.add(code));
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | BaseWrapper.java | 23 BaseWrapper(T object) { argument 24 if (null == object) { 27 mWrappedObject = object;
|
H A D | BaseMenuWrapper.java | 36 BaseMenuWrapper(Context context, T object) { argument 37 super(object);
|
/frameworks/base/core/java/android/app/timezone/ |
H A D | Utils.java | 40 /** Validates that {@code object} is not null. Always returns {@code object}. */ 41 static <T> T validateNotNull(String type, T object) { argument 42 if (object == null) { 45 return object; 50 * and {@link #validateNull(String, Object)} otherwise. Returns {@code object}. 52 static <T> T validateConditionalNull(boolean requireNotNull, String type, T object) { argument 54 return validateNotNull(type, object); 56 return validateNull(type, object); 60 /** Validates that {@code object} i 61 validateNull(String type, T object) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ParcelUuid.java | 82 * Compares this ParcelUuid to another object for equality. If {@code object} 86 * @param object 88 * @return {@code true} if this ParcelUuid is equal to {@code object} 92 public boolean equals(Object object) { argument 93 if (object == null) { 97 if (this == object) { 101 if (!(object instanceof ParcelUuid)) { 105 ParcelUuid that = (ParcelUuid) object;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
H A D | ObjectFormat.java | 44 public static MutableFrameFormat fromObject(Object object, int target) { argument 45 return object == null 47 : fromClass(object.getClass(), FrameFormat.SIZE_UNSPECIFIED, target); 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument 51 return object == null 53 : fromClass(object.getClass(), count, target); 61 throw new IllegalArgumentException("Native object-based formats must be of a " + 68 + "native object-based frame of type " + clazz + "! Perhaps it is missing a "
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | Stack.java | 40 * Pushes the given object to the stack 41 * @param object the object to push 43 public void push(T object) { argument 44 add(object); 48 * Remove the object at the top of the stack and returns it. 49 * @return the removed object or null if the stack was empty. 60 * Returns the object at the top of the stack. 61 * @return the object at the top or null if the stack is empty.
|
/frameworks/support/dynamic-animation/src/android/support/animation/ |
H A D | FloatPropertyCompat.java | 24 * is held in a host object. To access this float value, {@link #setValue(Object, float)} and getter 46 * Create a {@link FloatPropertyCompat} wrapper for a {@link FloatProperty} object. The new 52 * @return a new {@link FloatPropertyCompat} wrapper for the given {@link FloatProperty} object 59 public float getValue(T object) { 60 return property.get(object); 64 public void setValue(T object, float value) { 65 property.setValue(object, value); 71 * Returns the current value that this property represents on the given <code>object</code>. 73 * @param object object whic 76 getValue(T object) argument 84 setValue(T object, float value) argument [all...] |
/frameworks/support/lifecycle/common/src/main/java/android/arch/lifecycle/ |
H A D | Lifecycling.java | 49 static GenericLifecycleObserver getCallback(Object object) { argument 50 if (object instanceof FullLifecycleObserver) { 51 return new FullLifecycleObserverAdapter((FullLifecycleObserver) object); 54 if (object instanceof GenericLifecycleObserver) { 55 return (GenericLifecycleObserver) object; 59 final Class<?> klass = object.getClass(); 63 return cachedConstructor.newInstance(object); 74 return cachedConstructor.newInstance(object);
|
/frameworks/base/core/java/android/print/ |
H A D | PrinterId.java | 86 public boolean equals(Object object) { argument 87 if (this == object) { 90 if (object == null) { 93 if (getClass() != object.getClass()) { 96 PrinterId other = (PrinterId) object;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PorterDuffColorFilter.java | 116 public boolean equals(Object object) { argument 117 if (this == object) { 120 if (object == null || getClass() != object.getClass()) { 123 final PorterDuffColorFilter other = (PorterDuffColorFilter) object;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | GraphReader.java | 57 public void addReference(String name, Object object) { argument 58 mReferences.put(name, object);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Constructed.java | 17 public void addChild(Asn1Object object) { argument 18 mChildren.add(object);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
H A D | TrackedObjects.java | 37 public synchronized <T> void track(T object) { argument 38 Class<?> clazz = object.getClass(); 47 trackedClass.track(object); 58 void track(T object) { argument 59 instances.put(object, null);
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | LeakCheck.java | 144 public LeakInfo getLeakInfo(Object object) { argument 145 LeakInfo leakInfo = mObjects.get(object); 148 mObjects.put(object, leakInfo);
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | PathProperty.java | 52 public Float get(T object) { argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 65 * for the object. 67 public void select(HorizontalGridView gridView, View childView, Object object) { argument 74 select(object);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.h | 33 void *object; member in struct:list_elem_s 39 // object holds the effect desc and the list sub_elem holds the sub effects 41 void *object; member in struct:list_sub_elem_s 73 void *object; member in struct:sub_effect_entry_s
|
/frameworks/base/core/jni/ |
H A D | android_util_FileObserver.cpp | 40 static jint android_os_fileobserver_init(JNIEnv* env, jobject object) argument 49 static void android_os_fileobserver_observe(JNIEnv* env, jobject object, jint fd) argument 82 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 101 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument 121 static void android_os_fileobserver_stopWatching(JNIEnv* env, jobject object, jint fd, jint wfd) argument
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmSupportInfo.java | 68 * Retrieves an iterator object that you can use to iterate over the MIME types that 71 * @return The iterator object 78 * Retrieves an iterator object that you can use to iterate over the file suffixes that 81 * @return The iterator object. 141 * @param object The object to be compared. 144 public boolean equals(Object object) { argument 145 if (object instanceof DrmSupportInfo) { 146 DrmSupportInfo info = (DrmSupportInfo) object;
|