/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/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/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
H A D | Utils.java | 35 * @param object 37 public static final void checkNotNull(Object object) { argument 38 if (object == null) {
|
/frameworks/base/tools/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/documents-archive/src/android/support/provider/ |
H A D | Preconditions.java | 36 static void checkArgumentNotNull(Object object, String message) { argument 37 if (object == null) {
|
/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 | 110 public boolean equals(Object object) { argument 111 if (this == object) { 114 if (object == null || getClass() != object.getClass()) { 117 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 66 * for the object. 68 public void select(HorizontalGridView gridView, View childView, Object object) { argument 75 select(object);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.h | 32 void *object; member in struct:list_elem_s 38 // object holds the effect desc and the list sub_elem holds the sub effects 40 void *object; member in struct:list_sub_elem_s 67 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;
|
/frameworks/base/location/java/android/location/ |
H A D | Country.java | 64 * Time that this object was created (which we assume to be the time that the source was 129 * Returns the time that this object was created (which we assume to be the time that the source 157 * Returns true if this {@link Country} is equivalent to the given object. This ignores 162 public boolean equals(Object object) { argument 163 if (object == this) { 166 if (object instanceof Country) { 167 Country c = (Country) object; 187 * Compare the specified country to this country object ignoring the source
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 35 JavaObject::JavaObject(jobject object, JNIEnv* env) 121 bool IsJavaInstanceOf(JNIEnv* env, jobject object, const std::string& class_name) { argument 123 return clazz ? env->IsInstanceOf(object, clazz) == JNI_TRUE : false; 133 Value ToCValue(JNIEnv* env, jobject object) { argument 135 if (object != NULL) { 136 if (IsJavaInstanceOf(env, object, "java/lang/Boolean")) { 137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); 138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0); 139 } else if (IsJavaInstanceOf(env, object, "java/lang/Integer")) { 140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValu [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | RangeTest.java | 139 private static <T extends Comparable<? super T>> void assertInRange(Range<T> object, T needle) { argument 140 assertAction("in-range", object, needle, true, object.contains(needle)); 143 private static <T extends Comparable<? super T>> void assertOutOfRange(Range<T> object, argument 145 assertAction("out-of-range", object, needle, false, object.contains(needle)); 148 private static <T extends Comparable<? super T>> void assertUpper(Range<T> object, T expected) { argument 149 assertAction("upper", object, expected, object.getUpper()); 152 private static <T extends Comparable<? super T>> void assertLower(Range<T> object, argument 156 assertAction(String action, T object, T2 expected, T2 actual) argument 162 assertAction(String action, T object, T2 needle, boolean expected, boolean actual) argument [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpRoot.java | 56 public boolean equals(Object object) { argument 57 if (!(object instanceof MtpRoot)) 59 final MtpRoot other = (MtpRoot) object;
|