Searched defs:obj (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/frameworks/rs/driver/
H A DrsdElement.cpp34 rs_element *obj)
36 obj->p = element;
38 obj->r = NULL;
39 obj->v1 = NULL;
40 obj->v2 = NULL;
32 rsdElementUpdateCachedObject(const Context *rsc, const Element *element, rs_element *obj) argument
H A DrsdSampler.cpp46 rs_sampler *obj)
48 obj->p = alloc;
50 obj->r = NULL;
52 obj->v1 = alloc->mHal.drv;
54 obj->v1 = NULL;
56 obj->v2 = NULL;
44 rsdSamplerUpdateCachedObject(const Context *rsc, const Sampler *alloc, rs_sampler *obj) argument
H A DrsdType.cpp45 rs_type *obj)
47 obj->p = t;
49 obj->r = NULL;
50 obj->v1 = NULL;
51 obj->v2 = NULL;
43 rsdTypeUpdateCachedObject(const Context *rsc, const Type *t, rs_type *obj) argument
H A DrsdScriptGroup.cpp58 rs_script_group *obj)
60 obj->p = sg;
62 obj->r = NULL;
64 obj->v1 = sg->mHal.drv;
66 obj->v1 = NULL;
68 obj->v2 = NULL;
56 rsdScriptGroupUpdateCachedObject(const Context *rsc, const ScriptGroup *sg, rs_script_group *obj) argument
/frameworks/base/core/jni/
H A Dcom_android_internal_util_VirtualRefBasePtr.cpp24 VirtualLightRefBase* obj = reinterpret_cast<VirtualLightRefBase*>(objPtr); local
25 obj->incStrong(0);
29 VirtualLightRefBase* obj = reinterpret_cast<VirtualLightRefBase*>(objPtr); local
30 obj->decStrong(0);
/frameworks/av/media/libmedia/
H A DIDrmClient.cpp43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) argument
49 if (obj && obj->dataSize() > 0) {
50 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize());
68 Parcel obj; local
70 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail());
73 notify((DrmPlugin::EventType)eventType, extra, &obj);
H A DIMediaPlayerClient.cpp38 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) argument
45 if (obj && obj->dataSize() > 0) {
46 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize());
65 Parcel obj; local
67 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail());
70 notify(msg, ext1, ext2, &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/hardware/camera2/params/
H A DReprocessFormatsMap.java235 public boolean equals(final Object obj) { argument
236 if (obj == null) {
239 if (this == obj) {
242 if (obj instanceof ReprocessFormatsMap) {
243 final ReprocessFormatsMap other = (ReprocessFormatsMap) obj;
H A DBlackLevelPattern.java107 public boolean equals(Object obj) { argument
108 if (obj == null) {
110 } else if (this == obj) {
112 } else if (obj instanceof BlackLevelPattern) {
113 final BlackLevelPattern other = (BlackLevelPattern) obj;
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DCameraServiceBinderDecorator.java63 * @param obj object that will serve as the target for all method calls
65 * @return a proxy that will intercept all invocations to obj
67 public static <T> T newInstance(T obj) { argument
68 return Decorator.<T> newInstance(obj, new CameraServiceBinderDecoratorListener());
/frameworks/base/core/java/android/print/
H A DPrintJobId.java60 public boolean equals(Object obj) { argument
61 if (this == obj) {
64 if (obj == null) {
67 if (getClass() != obj.getClass()) {
70 PrintJobId other = (PrintJobId) obj;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DRational.java70 public boolean equals(Object obj) { argument
71 if (obj == null) {
74 if (this == obj) {
77 if (obj instanceof Rational) {
78 Rational data = (Rational) obj;
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfo.java67 public boolean equals(Object obj) { argument
68 if (obj instanceof ClassPathPackageInfo) {
69 ClassPathPackageInfo that = (ClassPathPackageInfo) obj;
/frameworks/native/include/binder/
H A DIInterface.h42 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) argument
44 return INTERFACE::asInterface(obj);
77 const android::sp<android::IBinder>& obj); \
90 const android::sp<android::IBinder>& obj) \
93 if (obj != NULL) { \
95 obj->queryLocalInterface( \
98 intr = new Bp##INTERFACE(obj); \
/frameworks/rs/cpp/
H A DBaseObj.cpp60 bool BaseObj::equals(sp<const BaseObj> obj) { argument
62 if (this == obj.get())
64 return mID == obj->mID;
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java60 public boolean equals(Object obj) { argument
61 if (!(obj instanceof ResourcesKey)) {
64 ResourcesKey peer = (ResourcesKey) obj;
/frameworks/base/core/java/android/net/
H A DIpPrefix.java112 * Compares this {@code IpPrefix} object against the specified object in {@code obj}. Two
115 * @param obj the object to be tested for equality.
119 public boolean equals(Object obj) { argument
120 if (!(obj instanceof IpPrefix)) {
123 IpPrefix that = (IpPrefix) obj;
/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java241 public boolean equals(Object obj) { argument
242 if (this == obj) return true;
243 if (obj == null) return false;
244 if (getClass() != obj.getClass()) return false;
245 NdefMessage other = (NdefMessage) 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/core/java/android/util/
H A DRange.java149 public boolean equals(Object obj) { argument
150 if (obj == null) {
152 } else if (this == obj) {
154 } else if (obj instanceof Range) {
156 Range other = (Range) obj;
H A DSize.java65 public boolean equals(final Object obj) { argument
66 if (obj == null) {
69 if (this == obj) {
72 if (obj instanceof Size) {
73 Size other = (Size) obj;
H A DSizeF.java75 public boolean equals(final Object obj) { argument
76 if (obj == null) {
79 if (this == obj) {
82 if (obj instanceof SizeF) {
83 final SizeF other = (SizeF) obj;
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp50 static void Typeface_unref(JNIEnv* env, jobject obj, jlong faceHandle) { argument
55 static jint Typeface_getStyle(JNIEnv* env, jobject obj, jlong faceHandle) { argument
H A DXfermode.cpp31 SkXfermode* obj = reinterpret_cast<SkXfermode *>(objHandle); local
32 SkSafeUnref(obj);

Completed in 423 milliseconds

1234567891011>>