Searched defs:obj (Results 26 - 50 of 194) sorted by relevance

12345678

/frameworks/base/graphics/java/android/renderscript/
H A DBaseObj.java163 * @param obj The object to check equality with.
168 public boolean equals(Object obj) { argument
170 if (this == obj)
173 if (getClass() != obj.getClass()) {
177 BaseObj b = (BaseObj) obj;
H A DFieldPacker.java144 public void addObj(BaseObj obj) { argument
145 if (obj != null) {
146 addI32(obj.getID(null));
/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbAccessory.java104 public boolean equals(Object obj) { argument
105 if (obj instanceof UsbAccessory) {
106 UsbAccessory accessory = (UsbAccessory)obj;
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp54 jobject obj = env->NewLocalRef(mObjWeak); local
55 if (!obj) {
64 jstring nameObj = jstring(env->GetObjectField(obj,
75 mInfo->dispatchingTimeout = env->GetLongField(obj,
78 env->DeleteLocalRef(obj);
110 static void android_server_InputApplicationHandle_nativeDispose(JNIEnv* env, jobject obj) { argument
113 int ptr = env->GetIntField(obj, gInputApplicationHandleClassInfo.ptr);
115 env->SetIntField(obj, gInputApplicationHandleClassInfo.ptr, 0);
118 handle->decStrong(obj);
H A Dcom_android_server_UsbDeviceManager.cpp58 jstring obj = env->NewStringUTF(buffer); local
59 env->SetObjectArrayElement(strArray, index, obj);
60 env->DeleteLocalRef(obj);
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/textservice/
H A DITextServicesManager_Stub_Delegate.java39 public static ITextServicesManager asInterface(IBinder obj) { argument
40 // ignore the obj and return a fake interface implementation
/frameworks/rs/
H A DrsObjectBase.cpp260 bool ObjectBase::isValid(const Context *rsc, const ObjectBase *obj) { argument
265 if (o == obj) {
/frameworks/support/renderscript/v8/rs_support/
H A DrsObjectBase.cpp260 bool ObjectBase::isValid(const Context *rsc, const ObjectBase *obj) { argument
265 if (o == obj) {
/frameworks/av/media/libmedia/
H A DIHDCP.cpp42 int msg, int ext1, int ext2, const Parcel *obj) {
48 if (obj && obj->dataSize() > 0) {
49 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize());
124 Parcel obj; local
126 obj.appendFrom(
132 notify(msg, ext1, ext2, &obj);
41 notify( int msg, int ext1, int ext2, const Parcel *obj) argument
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp174 sp<RefBase> obj; local
175 if (msg->findObject("subtitle", &obj)) {
177 parcelEvent = static_cast<ParcelEvent*>(obj.get());
187 sp<RefBase> obj; local
188 msg->findObject("source", &obj);
195 if (obj == NULL) {
201 mSource = static_cast<TimedTextSource*>(obj.get());
/frameworks/base/core/java/android/content/
H A DComponentName.java186 public boolean equals(Object obj) { argument
188 if (obj != null) {
189 ComponentName other = (ComponentName)obj;
/frameworks/base/core/java/android/net/
H A DNetworkPolicy.java154 public boolean equals(Object obj) { argument
155 if (obj instanceof NetworkPolicy) {
156 final NetworkPolicy other = (NetworkPolicy) obj;
H A DRouteInfo.java155 public boolean equals(Object obj) { argument
156 if (this == obj) return true;
158 if (!(obj instanceof RouteInfo)) return false;
160 RouteInfo target = (RouteInfo) obj;
/frameworks/base/core/jni/android/graphics/
H A DCamera.cpp8 static void Camera_constructor(JNIEnv* env, jobject obj) { argument
10 env->SetIntField(obj, gNativeInstanceFieldID, (int)view);
13 static void Camera_destructor(JNIEnv* env, jobject obj) { argument
14 delete (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID);
17 static void Camera_save(JNIEnv* env, jobject obj) { argument
18 Sk3DView* v = (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID);
22 static void Camera_restore(JNIEnv* env, jobject obj) { argument
23 Sk3DView* v = (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldID);
27 static void Camera_translate(JNIEnv* env, jobject obj, argument
29 Sk3DView* v = (Sk3DView*)env->GetIntField(obj, gNativeInstanceFieldI
33 Camera_rotateX(JNIEnv* env, jobject obj, float degrees) argument
38 Camera_rotateY(JNIEnv* env, jobject obj, float degrees) argument
43 Camera_rotateZ(JNIEnv* env, jobject obj, float degrees) argument
48 Camera_rotate(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) argument
55 Camera_setLocation(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) argument
60 Camera_getLocationX(JNIEnv* env, jobject obj) argument
65 Camera_getLocationY(JNIEnv* env, jobject obj) argument
70 Camera_getLocationZ(JNIEnv* env, jobject obj) argument
75 Camera_getMatrix(JNIEnv* env, jobject obj, int native_matrix) argument
80 Camera_applyToCanvas(JNIEnv* env, jobject obj, int native_canvas) argument
85 Camera_dotWithNormal(JNIEnv* env, jobject obj, float x, float y, float z) argument
[all...]
H A DColorFilter.cpp35 static void finalizer(JNIEnv* env, jobject clazz, SkColorFilter* obj, SkiaColorFilter* f) { argument
36 SkSafeUnref(obj);
H A DNinePatch.cpp38 static jboolean isNinePatchChunk(JNIEnv* env, jobject, jbyteArray obj) argument
40 if (NULL == obj) {
43 if (env->GetArrayLength(obj) < (int)sizeof(Res_png_9patch)) {
46 const jbyte* array = env->GetByteArrayElements(obj, 0);
51 env->ReleaseByteArrayElements(obj, const_cast<jbyte*>(array),
58 static void validateNinePatchChunk(JNIEnv* env, jobject, jint, jbyteArray obj) argument
60 if (env->GetArrayLength(obj) < (int) (sizeof(Res_png_9patch))) {
/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp130 static void android_os_MessageQueue_nativeInit(JNIEnv* env, jobject obj) { argument
138 android_os_MessageQueue_setNativeMessageQueue(env, obj, nativeMessageQueue);
141 static void android_os_MessageQueue_nativeDestroy(JNIEnv* env, jobject obj) { argument
143 android_os_MessageQueue_getNativeMessageQueue(env, obj);
145 android_os_MessageQueue_setNativeMessageQueue(env, obj, NULL);
154 static void android_os_MessageQueue_nativePollOnce(JNIEnv* env, jobject obj, argument
160 static void android_os_MessageQueue_nativeWake(JNIEnv* env, jobject obj, jint ptr) { argument
/frameworks/base/location/java/android/location/
H A DGeofence.java164 public boolean equals(Object obj) { argument
165 if (this == obj)
167 if (obj == null)
169 if (!(obj instanceof Geofence))
171 Geofence other = (Geofence) obj;
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp69 jstring obj = env->NewStringUTF(types.itemAt(i).c_str()); local
70 env->SetObjectArrayElement(array, i, obj);
71 env->DeleteLocalRef(obj);
72 obj = NULL;
/frameworks/base/tests/BrowserTestPlugin/jni/
H A DPluginObject.cpp63 static void pluginInvalidate(NPObject *obj);
64 static bool pluginHasProperty(NPObject *obj, NPIdentifier name);
65 static bool pluginHasMethod(NPObject *obj, NPIdentifier name);
66 static bool pluginGetProperty(NPObject *obj, NPIdentifier name, NPVariant *variant);
67 static bool pluginSetProperty(NPObject *obj, NPIdentifier name, const NPVariant *variant);
68 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result);
69 static bool pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result);
71 static void pluginDeallocate(NPObject *obj);
121 static bool pluginHasProperty(NPObject *obj, NPIdentifier name) argument
130 static bool pluginHasMethod(NPObject *obj, NPIdentifie argument
139 pluginGetProperty(NPObject *obj, NPIdentifier name, NPVariant *variant) argument
149 pluginSetProperty(NPObject *obj, NPIdentifier name, const NPVariant *variant) argument
154 pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result) argument
163 pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result) argument
168 pluginInvalidate(NPObject *obj) argument
189 pluginDeallocate(NPObject *obj) argument
[all...]
/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp53 PluginObject *obj = (PluginObject*) inst()->pdata; local
54 const int W = obj->window->width;
55 const int H = obj->window->height;
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java353 private int hash(Object obj) { argument
354 if (obj == null) {
357 return obj.hashCode();
/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp152 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
153 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_step(JNIEnv * env, jobject obj);
156 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
161 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_step(JNIEnv * env, jobject obj) argument
/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp152 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height);
153 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_step(JNIEnv * env, jobject obj);
156 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
161 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_step(JNIEnv * env, jobject obj) argument
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp103 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
104 if (obj == NULL){
109 return (void*) (_env->CallIntMethod(obj, mid));

Completed in 833 milliseconds

12345678