Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/frameworks/base/media/mca/filterfw/jni/
Djni_util.cpp35 JavaObject::JavaObject(jobject object, JNIEnv* env)
121 bool IsJavaInstanceOf(JNIEnv* env, jobject object, const std::string& class_name) { in IsJavaInstanceOf() argument
123 return clazz ? env->IsInstanceOf(object, clazz) == JNI_TRUE : false; in IsJavaInstanceOf()
133 Value ToCValue(JNIEnv* env, jobject object) { in ToCValue() argument
135 if (object != NULL) { in ToCValue()
136 if (IsJavaInstanceOf(env, object, "java/lang/Boolean")) { in ToCValue()
137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); in ToCValue()
138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0); in ToCValue()
139 } else if (IsJavaInstanceOf(env, object, "java/lang/Integer")) { in ToCValue()
140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValue", "()I"); in ToCValue()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java139 private static <T extends Comparable<? super T>> void assertInRange(Range<T> object, T needle) { in assertInRange() argument
140 assertAction("in-range", object, needle, true, object.contains(needle)); in assertInRange()
143 private static <T extends Comparable<? super T>> void assertOutOfRange(Range<T> object, in assertOutOfRange() argument
145 assertAction("out-of-range", object, needle, false, object.contains(needle)); in assertOutOfRange()
148 private static <T extends Comparable<? super T>> void assertUpper(Range<T> object, T expected) { in assertUpper() argument
149 assertAction("upper", object, expected, object.getUpper()); in assertUpper()
152 private static <T extends Comparable<? super T>> void assertLower(Range<T> object, T expected) { in assertLower() argument
153 assertAction("lower", object, expected, object.getLower()); in assertLower()
156 private static <T, T2> void assertAction(String action, T object, T2 expected, in assertAction() argument
158 assertEquals("Expected " + object + " " + action + " to be ", in assertAction()
[all …]
DRationalTest.java391 private static void assertValueEquals(Rational object, float expected) { in assertValueEquals() argument
392 assertEquals("Checking floatValue() for " + object + ";", in assertValueEquals()
393 expected, object.floatValue()); in assertValueEquals()
396 private static void assertValueEquals(Rational object, double expected) { in assertValueEquals() argument
397 assertEquals("Checking doubleValue() for " + object + ";", in assertValueEquals()
398 expected, object.doubleValue()); in assertValueEquals()
401 private static void assertValueEquals(Rational object, long expected) { in assertValueEquals() argument
402 assertEquals("Checking longValue() for " + object + ";", in assertValueEquals()
403 expected, object.longValue()); in assertValueEquals()
406 private static void assertValueEquals(Rational object, int expected) { in assertValueEquals() argument
[all …]
/frameworks/native/vulkan/libvulkan/
Ddebug_report.h30 …bugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, …
52 uint64_t object,
95 uint64_t object,
104 void Info(ObjectType object, const char* format, ...) const in Info() argument
108 PrintV(VK_DEBUG_REPORT_INFORMATION_BIT_EXT, GetObjectType(object), in Info()
109 GetObjectUInt64(object), format, ap); in Info()
114 void Warn(ObjectType object, const char* format, ...) const in Warn() argument
118 PrintV(VK_DEBUG_REPORT_WARNING_BIT_EXT, GetObjectType(object), in Warn()
119 GetObjectUInt64(object), format, ap); in Warn()
124 void Err(ObjectType object, const char* format, ...) const in Err() argument
[all …]
Ddebug_report.cpp58 uint64_t object, in Message() argument
67 node->callback(flags, object_type, object, location, message_code, in Message()
75 uint64_t object, in Message() argument
87 info->pfnCallback(flags, object_type, object, location, in Message()
97 callbacks_->Message(flags, object_type, object, location, message_code, in Message()
104 uint64_t object, in PrintV() argument
114 Message(flags, object_type, object, 0, 0, LOG_TAG, buf); in PrintV()
171 uint64_t object, in DebugReportMessageEXT() argument
178 instance, flags, object_type, object, location, message_code, in DebugReportMessageEXT()
182 flags, object_type, object, location, message_code, layer_prefix, in DebugReportMessageEXT()
/frameworks/base/core/java/android/app/timezone/
DUtils.java41 static <T> T validateNotNull(String type, T object) { in validateNotNull() argument
42 if (object == null) { in validateNotNull()
45 return object; in validateNotNull()
52 static <T> T validateConditionalNull(boolean requireNotNull, String type, T object) { in validateConditionalNull() argument
54 return validateNotNull(type, object); in validateConditionalNull()
56 return validateNull(type, object); in validateConditionalNull()
61 static <T> T validateNull(String type, T object) { in validateNull() argument
62 if (object != null) { in validateNull()
/frameworks/base/core/java/android/os/
DMessageQueue.java603 boolean hasMessages(Handler h, int what, Object object) { in hasMessages() argument
611 if (p.target == h && p.what == what && (object == null || p.obj == object)) { in hasMessages()
620 boolean hasEqualMessages(Handler h, int what, Object object) { in hasEqualMessages() argument
628 if (p.target == h && p.what == what && (object == null || object.equals(p.obj))) { in hasEqualMessages()
638 boolean hasMessages(Handler h, Runnable r, Object object) { in hasMessages() argument
646 if (p.target == h && p.callback == r && (object == null || p.obj == object)) { in hasMessages()
672 void removeMessages(Handler h, int what, Object object) { in removeMessages() argument
682 && (object == null || p.obj == object)) { in removeMessages()
694 && (object == null || n.obj == object)) { in removeMessages()
706 void removeEqualMessages(Handler h, int what, Object object) { in removeEqualMessages() argument
[all …]
/frameworks/av/media/libaudiohal/impl/
DVersionUtils.h35 Return<void> getParameters(T& object, hidl_vec<ParameterValue> /*context*/, in getParameters() argument
37 return object->getParameters(keys, callback); in getParameters()
41 Return<Result> setParameters(T& object, hidl_vec<ParameterValue> /*context*/, in setParameters() argument
43 return object->setParameters(keys); in setParameters()
47 Return<void> getParameters(T& object, hidl_vec<ParameterValue> context,
49 return object->getParameters(context, keys, callback);
53 Return<Result> setParameters(T& object, hidl_vec<ParameterValue> context,
55 return object->setParameters(context, keys);
/frameworks/base/core/java/com/android/internal/widget/
DPagerAdapter.java123 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() argument
124 destroyItem((View) container, position, object); in destroyItem() local
136 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() argument
137 setPrimaryItem((View) container, position, object); in setPrimaryItem() local
191 public void destroyItem(View container, int position, Object object) { in destroyItem() argument
206 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() argument
230 public abstract boolean isViewFromObject(View view, Object object); in isViewFromObject() argument
267 public int getItemPosition(Object object) { in getItemPosition() argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrame.java77 public void setObjectValue(Object object) { in setObjectValue() argument
82 if (object instanceof int[]) { in setObjectValue()
83 setInts((int[])object); in setObjectValue()
84 } else if (object instanceof float[]) { in setObjectValue()
85 setFloats((float[])object); in setObjectValue()
86 } else if (object instanceof ByteBuffer) { in setObjectValue()
87 setData((ByteBuffer)object); in setObjectValue()
88 } else if (object instanceof Bitmap) { in setObjectValue()
89 setBitmap((Bitmap)object); in setObjectValue()
91 setGenericObjectValue(object); in setObjectValue()
DSimpleFrame.java41 static SimpleFrame wrapObject(Object object, FrameManager frameManager) { in wrapObject() argument
42 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); in wrapObject()
44 result.setObjectValue(object); in wrapObject()
138 protected void setGenericObjectValue(Object object) { in setGenericObjectValue() argument
144 setFormatObjectClass(object.getClass()); in setGenericObjectValue()
145 } else if (!format.getObjectClass().isAssignableFrom(object.getClass())) { in setGenericObjectValue()
147 "Attempting to set object value of type '" + object.getClass() + "' on " + in setGenericObjectValue()
152 mObject = object; in setGenericObjectValue()
/frameworks/base/core/java/android/util/
DMapCollections.java127 public V setValue(V object) { in setValue() argument
132 return colSetValue(mIndex, object); in setValue()
169 public boolean add(Map.Entry<K, V> object) { in add() argument
222 public boolean remove(Object object) { in remove() argument
252 public boolean equals(Object object) { in equals() argument
253 return equalsSetHelper(this, object); in equals()
272 public boolean add(K object) { in add() argument
287 public boolean contains(Object object) { in contains() argument
288 return colIndexOfKey(object) >= 0; in contains()
307 public boolean remove(Object object) { in remove() argument
[all …]
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt40 associated with a native synchronization fence object that is referenced
44 referring to the native fence object.
47 object that behaves similarly to an EGL fence sync object. These native
48 objects must have a signal status like that of an EGLSyncKHR object that
50 native object's signal status may not change again.
90 object is created. In this case the EGL_SYNC_NATIVE_FENCE_FD_ANDROID
93 object or to the value EGL_NO_NATIVE_FENCE_FD_ANDROID.
95 The default values for the EGL native fence sync object attributes are as
108 attribute is set to reflect the signal status of the native fence object.
115 "When a fence sync object is created or when an EGL native fence sync
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerHandleView.java43 public Integer get(DividerHandleView object) {
44 return object.mCurrentWidth;
48 public void set(DividerHandleView object, Integer value) {
49 object.mCurrentWidth = value;
50 object.invalidate();
58 public Integer get(DividerHandleView object) {
59 return object.mCurrentHeight;
63 public void set(DividerHandleView object, Integer value) {
64 object.mCurrentHeight = value;
65 object.invalidate();
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java52 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke() argument
56 return method.invoke(object, args); in invoke()
67 public static boolean isInstanceOf(Object object, String className) { in isInstanceOf() argument
68 Class superClass = object.getClass(); in isInstanceOf()
83 public static boolean isInstanceOf(Object object, String[] classNames) { in isInstanceOf() argument
84 return getParentClass(object, classNames) != null; in isInstanceOf()
92 public static String getParentClass(Object object, String[] classNames) { in getParentClass() argument
93 Class superClass = object.getClass(); in getParentClass()
120 public static Class<?> getClassInstance(@NonNull Object object, @NonNull String className) { in getClassInstance() argument
121 Class<?> superClass = object.getClass(); in getClassInstance()
/frameworks/base/graphics/java/android/graphics/
DBlendModeColorFilter.java66 public boolean equals(Object object) { in equals() argument
67 if (this == object) { in equals()
70 if (object == null || getClass() != object.getClass()) { in equals()
73 final BlendModeColorFilter other = (BlendModeColorFilter) object; in equals()
DPorterDuffColorFilter.java78 public boolean equals(Object object) { in equals() argument
79 if (this == object) { in equals()
82 if (object == null || getClass() != object.getClass()) { in equals()
85 final PorterDuffColorFilter other = (PorterDuffColorFilter) object; in equals()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java424 public void setValue(RippleForeground object, float value) {
425 object.mTweenRadius = value;
426 object.onAnimationPropertyChanged();
430 public Float get(RippleForeground object) {
431 return object.mTweenRadius;
441 public void setValue(RippleForeground object, float value) {
442 object.mTweenX = value;
443 object.mTweenY = value;
444 object.onAnimationPropertyChanged();
448 public Float get(RippleForeground object) {
[all …]
DVectorDrawable.java1196 public void setValue(VGroup object, float value) {
1197 object.setTranslateX(value);
1201 public Float get(VGroup object) {
1202 return object.getTranslateX();
1209 public void setValue(VGroup object, float value) {
1210 object.setTranslateY(value);
1214 public Float get(VGroup object) {
1215 return object.getTranslateY();
1222 public void setValue(VGroup object, float value) {
1223 object.setScaleX(value);
[all …]
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp54 #define GET_INT(object, field) \ argument
55 env->GetIntField(object, field)
57 #define GET_LONG(object, field) \ argument
58 env->GetLongField(object, field)
60 #define SET_INT(object, field, value) \ argument
61 env->SetIntField(object, field, value)
63 #define SET_LONG(object, field, value) \ argument
64 env->SetLongField(object, field, value)
66 #define INVOKEV(object, method, ...) \ argument
67 env->CallVoidMethod(object, method, __VA_ARGS__)
Dandroid_net_LocalSocketImpl.cpp57 socket_connect_local(JNIEnv *env, jobject object, in socket_connect_local() argument
95 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_bind_local() argument
185 static int socket_write_all(JNIEnv *env, jobject object, int fd, in socket_write_all() argument
194 object, field_outboundFileDescriptors); in socket_write_all()
239 static jint socket_read (JNIEnv *env, jobject object, jobject fileDescriptor) in socket_read() argument
257 err = socket_read_all(env, object, fd, &buf, 1); in socket_read()
272 static jint socket_readba (JNIEnv *env, jobject object, in socket_readba() argument
307 ret = socket_read_all(env, object, in socket_readba()
317 static void socket_write (JNIEnv *env, jobject object, in socket_write() argument
334 err = socket_write_all(env, object, fd, &b, 1); in socket_write()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java173 MtpStorageManager.MtpObject object, MtpPropertyList list) { in getPropertyList() argument
175 int id = object.getId(); in getPropertyList()
176 String path = object.getPath().toString(); in getPropertyList()
181 final Uri uri = MtpDatabase.getObjectPropertiesUri(object.getFormat(), in getPropertyList()
203 list.append(id, property.code, object.getName()); in getPropertyList()
209 format_date_time(object.getModifiedTime())); in getPropertyList()
212 list.append(id, property.code, property.type, object.getStorageId()); in getPropertyList()
215 list.append(id, property.code, property.type, object.getFormat()); in getPropertyList()
218 list.append(id, property.code, property.type, object.getSize()); in getPropertyList()
222 object.getParent().isRoot() ? 0 : object.getParent().getId()); in getPropertyList()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedObjects.java37 public synchronized <T> void track(T object) { in track() argument
38 Class<?> clazz = object.getClass(); in track()
47 trackedClass.track(object); in track()
58 void track(T object) { in track() argument
59 instances.put(object, null); in track()
/frameworks/base/media/java/android/media/
DTimedText.java445 Object object = null; in parseParcel() local
450 object = mStyleList; in parseParcel()
455 object = mFontList; in parseParcel()
460 object = mHighlightPosList; in parseParcel()
465 object = mKaraokeList; in parseParcel()
470 object = mHyperTextList; in parseParcel()
476 object = mBlinkingPosList; in parseParcel()
482 object = mWrapText; in parseParcel()
487 object = mHighlightColorRGBA; in parseParcel()
492 object = mDisplayFlags; in parseParcel()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java104 public void destroyItem(View container, int position, Object object) { in destroyItem() argument
108 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object in destroyItem()
109 + " v=" + ((Fragment)object).getView()); in destroyItem()
111 Fragment fragment = (Fragment) object; in destroyItem()
125 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() argument
126 Fragment fragment = (Fragment) object; in setPrimaryItem()
149 public boolean isViewFromObject(View view, Object object) { in isViewFromObject() argument
151 View root = ((Fragment) object).getView(); in isViewFromObject()

12345678910>>...19