Searched defs:object (Results 1 - 25 of 148) sorted by relevance

123456

/frameworks/base/core/java/android/util/
H A DFloatProperty.java37 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 DIntProperty.java37 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 DDebugUtils.java64 * @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 DProperty.java21 * 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 DReflectiveProperty.java92 * 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 DAnimatorInflaterTest.java34 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 DBaseWrapper.java23 BaseWrapper(T object) { argument
24 if (null == object) {
27 mWrappedObject = object;
H A DBaseMenuWrapper.java36 BaseMenuWrapper(Context context, T object) { argument
37 super(object);
/frameworks/base/core/java/android/os/
H A DParcelUuid.java82 * 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 DObjectFormat.java44 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 DUtils.java35 * @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 DStack.java40 * 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 DFloatPropertyCompat.java24 * 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/base/core/java/android/print/
H A DPrinterId.java86 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 DPorterDuffColorFilter.java116 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 DGraphReader.java57 public void addReference(String name, Object object) { argument
58 mReferences.put(name, object);
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DAsn1Constructed.java17 public void addChild(Asn1Object object) { argument
18 mChildren.add(object);
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DTrackedObjects.java37 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 DLeakCheck.java88 public LeakInfo getLeakInfo(Object object) { argument
89 LeakInfo leakInfo = mObjects.get(object);
92 mObjects.put(object, leakInfo);
/frameworks/support/transition/api14/android/support/transition/
H A DPathProperty.java52 public Float get(T object) { argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalHoverCardSwitcher.java65 * for the object.
67 public void select(HorizontalGridView gridView, View childView, Object object) { argument
74 select(object);
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h33 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 Dandroid_util_FileObserver.cpp40 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 DDrmSupportInfo.java68 * 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/legacy-test/src/junit/framework/
H A DAssert.java208 * Asserts that an object isn't null.
210 static public void assertNotNull(Object object) { argument
211 assertNotNull(null, object);
214 * Asserts that an object isn't null. If it is
217 static public void assertNotNull(String message, Object object) { argument
218 assertTrue(message, object != null);
221 * Asserts that an object is null. If it isn't an {@link AssertionError} is
223 * Message contains: Expected: <null> but was: object
225 * @param object
228 static public void assertNull(Object object) { argument
236 assertNull(String message, Object object) argument
[all...]

Completed in 822 milliseconds

123456