Searched refs:obj (Results 51 - 75 of 770) sorted by relevance

1234567891011>>

/frameworks/support/core-ui/java/android/support/v4/view/
H A DAsyncLayoutInflater.java97 InflateRequest request = (InflateRequest) msg.obj;
205 InflateRequest obj = mRequestPool.acquire();
206 if (obj == null) {
207 obj = new InflateRequest();
209 return obj;
212 public void releaseRequest(InflateRequest obj) { argument
213 obj.callback = null;
214 obj.inflater = null;
215 obj.parent = null;
216 obj
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_Activity.cpp30 android_dlwarning(&msg, [](void* obj, const char* msg) {
32 *reinterpret_cast<std::string*>(obj) = msg;
/frameworks/base/core/proto/android/os/
H A Dmessage.proto33 string obj = 6;
/frameworks/base/services/core/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 jlong ptr = env->GetLongField(obj, gInputApplicationHandleClassInfo.ptr);
115 env->SetLongField(obj, gInputApplicationHandleClassInfo.ptr, 0);
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp52 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
54 if (obj->unique() && android::uirenderer::Caches::hasInstance()) {
55 android::uirenderer::Caches::getInstance().pathCache.removeDeferred(obj);
57 delete obj;
67 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
68 const SkRect& bounds = obj->getBounds();
73 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
74 obj->incReserve(extraPtCount);
78 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
79 obj
83 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
88 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
93 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
99 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
105 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
111 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
117 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
124 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
130 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
136 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
143 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
151 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
159 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
166 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
174 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
187 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
193 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
200 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
207 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
212 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
218 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
225 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
470 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
479 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
484 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
489 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
494 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
499 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); local
[all...]
H A DGraphics.cpp212 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) argument
214 SkASSERT(env->IsInstanceOf(obj, gRect_class));
216 *L = env->GetIntField(obj, gRect_leftFieldID);
217 *T = env->GetIntField(obj, gRect_topFieldID);
218 *R = env->GetIntField(obj, gRect_rightFieldID);
219 *B = env->GetIntField(obj, gRect_bottomFieldID);
222 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) argument
224 SkASSERT(env->IsInstanceOf(obj, gRect_class));
226 env->SetIntField(obj, gRect_leftFieldID, L);
227 env->SetIntField(obj, gRect_topFieldI
232 jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) argument
243 irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) argument
253 jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r) argument
264 jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r) argument
275 rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj) argument
285 jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) argument
294 ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) argument
302 jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) argument
311 point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) argument
419 jobject obj = env->NewObject(gBitmapRegionDecoder_class, local
429 jobject obj = env->NewObject(gRegion_class, gRegion_constructorMethodID, local
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java246 public void addObj(BaseObj obj) { argument
247 if (obj != null) {
249 addI64(obj.getID(null));
254 addI32((int)obj.getID(null));
630 private void add(Object obj) { argument
631 if (obj instanceof Boolean) {
632 addBoolean((Boolean)obj);
636 if (obj instanceof Byte) {
637 addI8((Byte)obj);
641 if (obj instanceo
789 addSafely(Object obj) argument
[all...]
H A DBaseObj.java183 * @param obj The object to check equality with.
188 public boolean equals(Object obj) { argument
190 if (this == obj)
193 if (obj == null) {
197 if (getClass() != obj.getClass()) {
201 BaseObj b = (BaseObj) obj;
/frameworks/base/core/java/android/content/pm/
H A DPackageCleanItem.java35 public boolean equals(Object obj) { argument
36 if (this == obj) {
40 if (obj != null) {
41 PackageCleanItem other = (PackageCleanItem)obj;
/frameworks/base/core/java/android/os/
H A DRegistrant.java28 Registrant(Handler h, int what, Object obj) argument
32 userObj = obj;
81 msg.obj = new AsyncResult(userObj, result, exception);
104 msg.obj = userObj;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DTestableDependency.java39 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { argument
40 mObjs.put(key, obj);
43 public <T> void injectTestDependency(Class<T> key, T obj) { argument
44 mObjs.put(key, obj);
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp60 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height);
61 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_step(JNIEnv * env, jobject obj);
64 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
90 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_step(JNIEnv * env, jobject obj) argument
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.cpp53 jobject JNIHelper::newLocalRef(jobject obj) { argument
54 return mEnv->NewLocalRef(obj);
57 void JNIHelper::deleteLocalRef(jobject obj) { argument
58 mEnv->DeleteLocalRef(obj);
/frameworks/rs/driver/
H A DrsdElement.h31 android::renderscript::rs_element *obj);
H A DrsdSampler.h31 android::renderscript::rs_sampler *obj);
H A DrsdType.h31 android::renderscript::rs_type *obj);
/frameworks/rs/rsov/driver/
H A DrsovElement.h31 android::renderscript::rs_element *obj);
H A DrsovSampler.h31 android::renderscript::rs_sampler *obj);
H A DrsovType.h30 const android::renderscript::Type *, android::renderscript::rs_type *obj);
/frameworks/support/compat/java/android/support/v4/os/
H A DCancellationSignal.java66 final Object obj;
74 obj = mCancellationSignalObj;
81 if (obj != null && Build.VERSION.SDK_INT >= 16) {
82 ((android.os.CancellationSignal) obj).cancel();
/frameworks/base/core/java/android/hardware/camera2/params/
H A DRggbChannelVector.java167 public boolean equals(final Object obj) { argument
168 if (obj == null) {
170 } else if (this == obj) {
172 } else if (obj instanceof RggbChannelVector) {
173 final RggbChannelVector other = (RggbChannelVector) obj;
/frameworks/base/core/java/android/print/
H A DPageRange.java131 public boolean equals(Object obj) { argument
132 if (this == obj) {
135 if (obj == null) {
138 if (getClass() != obj.getClass()) {
141 PageRange other = (PageRange) obj;
H A DPrintJob.java187 public boolean equals(Object obj) { argument
188 if (this == obj) {
191 if (obj == null) {
194 if (getClass() != obj.getClass()) {
197 PrintJob other = (PrintJob) obj;
/frameworks/base/core/java/android/view/autofill/
H A DAutofillId.java81 public boolean equals(Object obj) { argument
82 if (this == obj) return true;
83 if (obj == null) return false;
84 if (getClass() != obj.getClass()) return false;
85 final AutofillId other = (AutofillId) obj;
/frameworks/base/telephony/java/android/telephony/
H A DPhoneStateListener.java309 PhoneStateListener.this.onServiceStateChanged((ServiceState)msg.obj);
321 PhoneStateListener.this.onCellLocationChanged((CellLocation)msg.obj);
324 PhoneStateListener.this.onCallStateChanged(msg.arg1, (String)msg.obj);
334 PhoneStateListener.this.onSignalStrengthsChanged((SignalStrength)msg.obj);
340 PhoneStateListener.this.onCellInfoChanged((List<CellInfo>)msg.obj);
343 PhoneStateListener.this.onPreciseCallStateChanged((PreciseCallState)msg.obj);
347 (PreciseDataConnectionState)msg.obj);
351 (DataConnectionRealTimeInfo)msg.obj);
354 PhoneStateListener.this.onVoLteServiceStateChanged((VoLteServiceState)msg.obj);
357 PhoneStateListener.this.onVoiceActivationStateChanged((int)msg.obj);
602 send(int what, int arg1, int arg2, Object obj) argument
[all...]

Completed in 1450 milliseconds

1234567891011>>