Searched refs:object (Results 1 - 25 of 249) sorted by relevance

12345678910

/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;
/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/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());
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DInnerCannotReadDependencyTest.java33 BasicObject object = new BasicObject();
34 object.setField1("a");
35 mBinder.setObj(object);
38 object.setField1(null);
41 object.setField2("b");
44 object.setField1("c");
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
H A DLeakDetectorTest.java47 // Note: Do not try to factor out object / collection waiter creation. The optimizer will
54 Object object = new Object();
55 CollectionWaiter collectionWaiter = ReferenceTestUtils.createCollectionWaiter(object);
57 mLeakDetector.trackInstance(object);
58 object = null;
64 Collection<?> object = new ArrayList<>();
65 CollectionWaiter collectionWaiter = ReferenceTestUtils.createCollectionWaiter(object);
67 mLeakDetector.trackCollection(object, "tag");
68 object = null;
74 Object object
[all...]
/frameworks/data-binding/integration-tests/IndependentLibrary/app/src/main/java/android/databinding/test/independentlibrary/
H A DLibraryActivity.java31 MyBindableObject object = new MyBindableObject();
32 object.setField(FIELD_VALUE);
33 binding.setFoo(object);
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.h27 extern void recycleJavaParcelObject(JNIEnv* env, jobject object);
/frameworks/av/services/audiopolicy/enginedefault/include/
H A DAudioPolicyEngineInstance.h39 * @return pointer to Route Manager Instance object.
64 EngineInstance(const EngineInstance &object);
65 EngineInstance &operator=(const EngineInstance &object);
/frameworks/base/core/java/com/android/internal/widget/
H A DPagerAdapter.java62 * whether a page View is associated with a given key object.</p>
69 * could be implemented as <code>return view == object;</code>.</p>
120 * @param object The same object that was returned by
123 public void destroyItem(ViewGroup container, int position, Object object) { argument
124 destroyItem((View) container, position, object);
133 * @param object The same object that was returned by
136 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
137 setPrimaryItem((View) container, position, object);
191 destroyItem(View container, int position, Object object) argument
206 setPrimaryItem(View container, int position, Object object) argument
230 isViewFromObject(View view, Object object) argument
267 getItemPosition(Object object) argument
[all...]
/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/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayList.java43 public boolean add(T object) { argument
44 super.add(object);
50 public void add(int index, T object) { argument
51 super.add(index, object);
91 public boolean remove(Object object) { argument
92 int index = indexOf(object);
102 public T set(int index, T object) { argument
103 T val = super.set(index, object);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerAdapter.java62 * whether a page View is associated with a given key object.</p>
69 * could be implemented as <code>return view == object;</code>.</p>
121 * @param object The same object that was returned by
124 public void destroyItem(ViewGroup container, int position, Object object) { argument
125 destroyItem((View) container, position, object);
134 * @param object The same object that was returned by
137 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
138 setPrimaryItem((View) container, position, object);
195 destroyItem(View container, int position, Object object) argument
211 setPrimaryItem(View container, int position, Object object) argument
236 isViewFromObject(View view, Object object) argument
273 getItemPosition(Object object) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp35 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/native/vulkan/libvulkan/
H A Ddebug_report.h30 VKAPI_ATTR void DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage);
52 uint64_t object,
95 uint64_t object,
104 void Info(ObjectType object, const char* format, ...) const
108 PrintV(VK_DEBUG_REPORT_INFORMATION_BIT_EXT, GetObjectType(object),
109 GetObjectUInt64(object), format, ap);
114 void Warn(ObjectType object, const char* format, ...) const
118 PrintV(VK_DEBUG_REPORT_WARNING_BIT_EXT, GetObjectType(object),
119 GetObjectUInt64(object), format, ap);
124 void Err(ObjectType object, cons
147 GetObjectUInt64(ObjectType object) argument
[all...]
/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/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/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/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPresenterSwitcher.java33 * {@link PresenterSelector} for choosing a {@link Presenter} for a given object.
43 * Selects a view based on the given object and shows that view.
45 public void select(Object object) { argument
46 switchView(object);
70 private void switchView(Object object) { argument
71 Presenter presenter = mPresenterSelector.getPresenter(object);
87 mCurrentPresenter.onBindViewHolder(mCurrentViewHolder, object);
94 * Called when a view is bound to the object of {@link #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/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DReflectionUtils.java50 public static Object invoke(@NonNull Method method, @Nullable Object object, argument
54 return method.invoke(object, args);
62 * Check if the object is an instance of a class named {@code className}. This doesn't work
65 public static boolean isInstanceOf(Object object, String className) { argument
66 Class superClass = object.getClass();
84 * Looks through the class hierarchy of {@code object} at runtime and returns the class matching
91 public static Class<?> getClassInstance(@NonNull Object object, @NonNull String className) { argument
92 Class<?> superClass = object.getClass();
99 throw new RuntimeException("invalid object/classname combination.");
/frameworks/av/services/audiopolicy/engineconfigurable/include/
H A DAudioPolicyEngineInstance.h40 * @return pointer to Route Manager Instance object.
65 EngineInstance(const EngineInstance &object);
66 EngineInstance &operator=(const EngineInstance &object);
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
H A DPolicySubsystem.h42 PolicySubsystem(const PolicySubsystem &object);
43 PolicySubsystem &operator=(const PolicySubsystem &object);

Completed in 732 milliseconds

12345678910