Searched refs:other (Results 151 - 175 of 396) sorted by path

1234567891011>>

/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeHandle.java57 InputMethodSubtypeHandle other = (InputMethodSubtypeHandle) o;
58 return TextUtils.equals(mInputMethodId, other.getInputMethodId())
59 && mSubtypeId == other.getSubtypeId();
H A DInputMethodSubtypeSwitchingController.java99 public int compareTo(ImeSubtypeListItem other) { argument
103 if (TextUtils.isEmpty(other.mImeName)) {
106 if (!TextUtils.equals(mImeName, other.mImeName)) {
107 return mImeName.toString().compareTo(other.mImeName.toString());
109 if (TextUtils.equals(mSubtypeName, other.mSubtypeName)) {
115 if (other.mIsSystemLocale) {
121 if (other.mIsSystemLanguage) {
127 if (TextUtils.isEmpty(other.mSubtypeName)) {
130 return mSubtypeName.toString().compareTo(other.mSubtypeName.toString());
H A DLocaleUtils.java170 public int compareTo(final ScoreEntry other) { argument
171 return -1 * compare(mScore, other.mScore); // Order by descending order.
/frameworks/base/core/java/com/android/internal/os/
H A DBatterySipper.java106 public int compareTo(BatterySipper other) { argument
108 if (drainType != other.drainType) {
112 } else if (other.drainType == DrainType.OVERCOUNTED) {
117 return Double.compare(other.totalPowerMah, totalPowerMah);
136 * Add stats from other to this BatterySipper.
138 public void add(BatterySipper other) { argument
139 totalPowerMah += other.totalPowerMah;
140 usageTimeMs += other.usageTimeMs;
141 usagePowerMah += other.usagePowerMah;
142 cpuTimeMs += other
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java236 * @param other the color to ensure contrast against. Assumed to be lighter than {@param color}
242 private static int findContrastColor(int color, int other, boolean findFg, double minRatio) { argument
243 int fg = findFg ? color : other;
244 int bg = findFg ? other : color;
361 * Composite two potentially translucent colors over each other and returns the result.
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java647 final Slider other = mOtherSlider;
/frameworks/base/core/java/com/android/server/net/
H A DNetlinkTracker.java59 * - All accesses to mLinkProperties must be synchronized(this). All the other
226 public int compareTo(DnsServerEntry other) { argument
227 return Long.compare(other.expiry, this.expiry);
/frameworks/base/core/jni/
H A DAndroid.mk286 # b/22414716: thread_local (android/graphics/Paint.cpp) and Clang don't like each other at the
H A Dandroid_hardware_camera2_CameraMetadata.cpp212 jobject other) {
216 CameraMetadata_getPointerThrow(env, other, "other");
270 static void CameraMetadata_swap(JNIEnv *env, jobject thiz, jobject other) { argument
279 CameraMetadata* otherMetadata = CameraMetadata_getPointerThrow(env, other, "other");
211 CameraMetadata_allocateCopy(JNIEnv *env, jobject thiz, jobject other) argument
H A Dandroid_os_Debug.cpp157 int other; member in struct:android::graphics_memory_pss
189 ALOGW("failed to get other pss: %zd", pss);
192 graphics_mem->other = pss / 1024;
456 stats[HEAP_OTHER_MEMTRACK].pss = graphics_mem.other;
457 stats[HEAP_OTHER_MEMTRACK].privateDirty = graphics_mem.other;
525 pss = uss = memtrack = graphics_mem.graphics + graphics_mem.gl + graphics_mem.other;
1106 // Sanity check the number of other statistics expected in Java matches here.
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp67 SkMatrix* other = reinterpret_cast<SkMatrix*>(otherHandle); local
68 *obj = *other;
150 SkMatrix* other = reinterpret_cast<SkMatrix*>(otherHandle); local
151 obj->preConcat(*other);
191 SkMatrix* other = reinterpret_cast<SkMatrix*>(otherHandle); local
192 matrix->postConcat(*other);
H A DRegion.cpp151 static jboolean Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) { argument
152 bool result = GetSkRegion(env, region)->quickReject(*GetSkRegion(env, other));
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java331 * it simply allows it to be garbage collected if there are no other references.
887 // No need to initialize the bitmap to zeroes with other configs;
1265 * decode other bitmaps of smaller size, or by manual reconfiguration. See {@link
1646 * If other is null, return false.
1648 public boolean sameAs(Bitmap other) { argument
1650 if (this == other) return true;
1651 if (other == null) return false;
1652 if (other.isRecycled()) {
1655 return nativeSameAs(mNativePtr, other.mNativePtr);
H A DMatrix.java147 public boolean preConcat(Matrix other) {
195 public boolean postConcat(Matrix other) {
445 * M' = M * other
447 public boolean preConcat(Matrix other) { argument
448 native_preConcat(native_instance, other.native_instance);
517 * M' = other * M
519 public boolean postConcat(Matrix other) { argument
520 native_postConcat(native_instance, other.native_instance);
H A DPorterDuffColorFilter.java117 final PorterDuffColorFilter other = (PorterDuffColorFilter) object;
118 if (mColor != other.mColor || mMode != other.mMode) {
H A DRegion.java315 * @param other Region to copy values from for initialization.
319 public static Region obtain(Region other) { argument
321 region.set(other);
/frameworks/base/include/androidfw/
H A DResourceTypes.h92 * the first set of regions is larger than the other set of regions. The
1384 // linking with other resource tables.
1414 // to supply meta-data about the attribute; for all other resource types
1538 // Adds mappings from the other DynamicRefTable
1539 status_t addMappings(const DynamicRefTable& other);
1612 * to follow references to other resources to get the "real" value to
1679 status_t setTo(const Theme& other);
1690 * to follow references to other resources to get the "real" value to
1857 // outData (using free(3)). On failure, any status_t value other than
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreKey.java83 AndroidKeyStoreKey other = (AndroidKeyStoreKey) obj;
85 if (other.mAlgorithm != null) {
88 } else if (!mAlgorithm.equals(other.mAlgorithm)) {
92 if (other.mAlias != null) {
95 } else if (!mAlias.equals(other.mAlias)) {
98 if (mUid != other.mUid) {
H A DAndroidKeyStorePublicKey.java65 AndroidKeyStorePublicKey other = (AndroidKeyStorePublicKey) obj;
66 if (!Arrays.equals(mEncoded, other.mEncoded)) {
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2177 // than the other.
2183 // than the other.
2200 // doesn't have a language and the other has a matching language.
2211 // better match if the other resource has a country other than
2238 // See if any of the regions is better than the other
2309 ALOGI("Comparing this %dx%d to other %dx%d in %dx%d: myDelta=%d otherDelta=%d",
2338 // undefined, then the other is really a better match.
3289 // be shared by other ResTable's (framework resources are shared this way).
3450 status_t ResTable::Theme::setTo(const Theme& other) argument
6464 addMappings(const DynamicRefTable& other) argument
[all...]
H A DZipFileRO.cpp52 _ZipEntryRO(const _ZipEntryRO& other);
53 _ZipEntryRO& operator=(const _ZipEntryRO& other);
/frameworks/base/libs/hwui/
H A DClipArea.cpp62 const TransformedRectangle& other) const {
64 return mTransform == other.mTransform;
67 void TransformedRectangle::intersectWith(const TransformedRectangle& other) { argument
68 mBounds.doIntersect(other.mBounds);
267 // existing clipping information from the other modes.
445 SkRegion other; local
452 other.setRect(resultClip.toSkIRect());
456 other.setPath(transformedRect, createViewportRegion());
462 other = transformedList.convertToRegion(createViewportRegion());
466 other
499 const RectangleList& other = getRectList(recordedClip); local
[all...]
H A DClipArea.h37 bool canSimplyIntersectWith(const TransformedRectangle& other) const;
38 void intersectWith(const TransformedRectangle& other);
H A DDeferredDisplayList.h71 OpStatePair(const OpStatePair& other) argument
72 : op(other.op), state(other.state) {}
96 kOpBatch_Count, // Add other batch ids before this
119 DeferredDisplayList(const DeferredDisplayList& other); // disallow copy
H A DFloatColor.h42 bool operator==(const FloatColor& other) const {
43 return MathUtils::areEqual(r, other.r)
44 && MathUtils::areEqual(g, other.g)
45 && MathUtils::areEqual(b, other.b)
46 && MathUtils::areEqual(a, other.a);
49 bool operator!=(const FloatColor& other) const {
50 return !(*this == other);

Completed in 526 milliseconds

1234567891011>>