Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/frameworks/base/tools/aapt2/
DConfigDescription.h54 ConfigDescription(const android::ResTable_config& o); // NOLINT(implicit)
55 ConfigDescription(const ConfigDescription& o);
56 ConfigDescription(ConfigDescription&& o);
58 ConfigDescription& operator=(const android::ResTable_config& o);
59 ConfigDescription& operator=(const ConfigDescription& o);
60 ConfigDescription& operator=(ConfigDescription&& o);
73 bool Dominates(const ConfigDescription& o) const;
80 bool HasHigherPrecedenceThan(const ConfigDescription& o) const;
88 bool ConflictsWith(const ConfigDescription& o) const;
96 bool IsCompatibleWith(const ConfigDescription& o) const;
[all …]
DLocale.h62 inline bool operator<(const LocaleValue& o) const;
63 inline bool operator<=(const LocaleValue& o) const;
64 inline bool operator==(const LocaleValue& o) const;
65 inline bool operator!=(const LocaleValue& o) const;
66 inline bool operator>=(const LocaleValue& o) const;
67 inline bool operator>(const LocaleValue& o) const;
86 bool LocaleValue::operator<(const LocaleValue& o) const {
87 return compare(o) < 0;
90 bool LocaleValue::operator<=(const LocaleValue& o) const {
91 return compare(o) <= 0;
[all …]
DConfigDescription.cpp879 bool ConfigDescription::Dominates(const ConfigDescription& o) const { in Dominates()
880 if (*this == DefaultConfig() || *this == o) { in Dominates()
883 return MatchWithDensity(o) && !o.MatchWithDensity(*this) && in Dominates()
884 !isMoreSpecificThan(o) && !o.HasHigherPrecedenceThan(*this); in Dominates()
888 const ConfigDescription& o) const { in HasHigherPrecedenceThan()
893 if (mcc || o.mcc) return (!o.mcc); in HasHigherPrecedenceThan()
894 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan()
895 if (language[0] || o.language[0]) return (!o.language[0]); in HasHigherPrecedenceThan()
896 if (country[0] || o.country[0]) return (!o.country[0]); in HasHigherPrecedenceThan()
899 if ((screenLayout | o.screenLayout) & MASK_LAYOUTDIR) { in HasHigherPrecedenceThan()
[all …]
/frameworks/base/tools/aapt/
DConfigDescription.h32 ConfigDescription(const android::ResTable_config&o) { // NOLINT(implicit) in ConfigDescription()
33 *static_cast<android::ResTable_config*>(this) = o; in ConfigDescription()
37 ConfigDescription(const ConfigDescription&o) { in ConfigDescription()
38 *static_cast<android::ResTable_config*>(this) = o; in ConfigDescription()
41 ConfigDescription& operator=(const android::ResTable_config& o) {
42 *static_cast<android::ResTable_config*>(this) = o;
47 ConfigDescription& operator=(const ConfigDescription& o) {
48 *static_cast<android::ResTable_config*>(this) = o;
52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; }
53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; }
[all …]
DStringPool.h44 entry(const entry& o) : value(o.value), offset(o.offset), in entry()
45 hasStyles(o.hasStyles), indices(o.indices), in entry()
46 configTypeName(o.configTypeName), configs(o.configs) { } in entry()
57 int compare(const entry& o) const;
59 inline bool operator<(const entry& o) const { return compare(o) < 0; }
60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; }
61 inline bool operator==(const entry& o) const { return compare(o) == 0; }
62 inline bool operator!=(const entry& o) const { return compare(o) != 0; }
63 inline bool operator>=(const entry& o) const { return compare(o) >= 0; }
64 inline bool operator>(const entry& o) const { return compare(o) > 0; }
[all …]
DAaptAssets.h85 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; }
86 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; }
87 inline bool operator==(const AaptLocaleValue& o) const { return compare(o) == 0; }
88 inline bool operator!=(const AaptLocaleValue& o) const { return compare(o) != 0; }
89 inline bool operator>=(const AaptLocaleValue& o) const { return compare(o) >= 0; }
90 inline bool operator>(const AaptLocaleValue& o) const { return compare(o) > 0; }
112 inline int compare(const AaptGroupEntry& o) const { return mParams.compareLogical(o.mParams); } in compare()
113 inline bool operator<(const AaptGroupEntry& o) const { return compare(o) < 0; }
114 inline bool operator<=(const AaptGroupEntry& o) const { return compare(o) <= 0; }
115 inline bool operator==(const AaptGroupEntry& o) const { return compare(o) == 0; }
[all …]
/frameworks/base/core/java/android/os/
DHidlSupport.java91 public static int deepHashCode(Object o) { in deepHashCode() argument
92 if (o == null) { in deepHashCode()
95 Class<?> clazz = o.getClass(); in deepHashCode()
99 return primitiveArrayHashCode(o); in deepHashCode()
101 return Arrays.hashCode(Arrays.stream((Object[])o) in deepHashCode()
106 if (o instanceof List<?>) { in deepHashCode()
107 return Arrays.hashCode(((List<Object>)o).stream() in deepHashCode()
112 throwErrorIfUnsupportedType(o); in deepHashCode()
114 return o.hashCode(); in deepHashCode()
117 private static void throwErrorIfUnsupportedType(Object o) { in throwErrorIfUnsupportedType() argument
[all …]
DBaseBundle.java186 Object o = mMap.valueAt(0); in getPairValue() local
188 return (String) o; in getPairValue()
190 typeWarning("getPairValue()", o, "String", e); in getPairValue()
826 Object o = mMap.get(key); in getBoolean() local
827 if (o == null) { in getBoolean()
831 return (Boolean) o; in getBoolean()
833 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean()
860 Object o = mMap.get(key); in getByte() local
861 if (o == null) { in getByte()
865 return (Byte) o; in getByte()
[all …]
DBundle.java826 final Object o = mMap.get(key); in getSize() local
828 return (Size) o; in getSize()
830 typeWarning(key, o, "Size", e); in getSize()
846 final Object o = mMap.get(key); in getSizeF() local
848 return (SizeF) o; in getSizeF()
850 typeWarning(key, o, "SizeF", e); in getSizeF()
866 Object o = mMap.get(key); in getBundle() local
867 if (o == null) { in getBundle()
871 return (Bundle) o; in getBundle()
873 typeWarning(key, o, "Bundle", e); in getBundle()
[all …]
/frameworks/rs/
DrsObjectBase.cpp235 const ObjectBase * o = rsc->mObjHead; in zeroAllUserRef() local
236 while (o) { in zeroAllUserRef()
238 if (o->zeroUserRef()) { in zeroAllUserRef()
240 o = rsc->mObjHead; in zeroAllUserRef()
243 o = o->mNext; in zeroAllUserRef()
260 ObjectBase * o = (ObjectBase *)rsc->mObjHead; in freeAllChildren() local
261 while (o) { in freeAllChildren()
262 if (o->freeChildren()) { in freeAllChildren()
264 o = (ObjectBase *)rsc->mObjHead; in freeAllChildren()
266 o = (ObjectBase *)o->mNext; in freeAllChildren()
[all …]
/frameworks/base/core/java/android/util/
DDisplayMetrics.java270 public void setTo(DisplayMetrics o) { in setTo() argument
271 if (this == o) { in setTo()
275 widthPixels = o.widthPixels; in setTo()
276 heightPixels = o.heightPixels; in setTo()
277 density = o.density; in setTo()
278 densityDpi = o.densityDpi; in setTo()
279 scaledDensity = o.scaledDensity; in setTo()
280 xdpi = o.xdpi; in setTo()
281 ydpi = o.ydpi; in setTo()
282 noncompatWidthPixels = o.noncompatWidthPixels; in setTo()
[all …]
DHalf.java333 public boolean equals(@Nullable Object o) { in equals() argument
334 return (o instanceof Half) && in equals()
335 (halfToIntBits(((Half) o).mValue) == halfToIntBits(mValue)); in equals()
900 float o = Float.intBitsToFloat(FP32_DENORMAL_MAGIC + m); in toFloat() local
901 o -= FP32_DENORMAL_FLOAT; in toFloat()
902 return s == 0 ? o : -o; in toFloat()
1074 StringBuilder o = new StringBuilder(); in toHexString() local
1083 if (s != 0) o.append('-'); in toHexString()
1084 o.append("Infinity"); in toHexString()
1086 o.append("NaN"); in toHexString()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DObjects.java94 public static int hashCode(Object o) { in hashCode() argument
95 return (o == null) ? 0 : o.hashCode(); in hashCode()
101 public static <T> T requireNonNull(T o) { in requireNonNull() argument
102 if (o == null) { in requireNonNull()
105 return o; in requireNonNull()
112 public static <T> T requireNonNull(T o, String message) { in requireNonNull() argument
113 if (o == null) { in requireNonNull()
116 return o; in requireNonNull()
122 public static String toString(Object o) { in toString() argument
123 return (o == null) ? "null" : o.toString(); in toString()
[all …]
/frameworks/av/media/libeffects/loudness/common/core/
Dbyte_swapper.h65 const char *o = (const char *)&val;
67 p[0] = o[1];
68 p[1] = o[0];
77 const char *o = (const char *)&val;
79 p[0] = o[3];
80 p[1] = o[2];
81 p[2] = o[1];
82 p[3] = o[0];
91 const char *o = (const char *)&val;
93 p[0] = o[7];
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTask.java94 public boolean equals(Object o) { in equals() argument
95 if (!(o instanceof TaskKey)) { in equals()
98 TaskKey otherKey = (TaskKey) o; in equals()
237 public void copyFrom(Task o) { in copyFrom() argument
238 this.key = o.key; in copyFrom()
239 this.group = o.group; in copyFrom()
240 this.affiliationTaskId = o.affiliationTaskId; in copyFrom()
241 this.affiliationColor = o.affiliationColor; in copyFrom()
242 this.icon = o.icon; in copyFrom()
243 this.thumbnail = o.thumbnail; in copyFrom()
[all …]
/frameworks/base/core/java/android/view/
DWindowManager.java2194 public final int copyFrom(LayoutParams o) { in copyFrom() argument
2197 if (width != o.width) { in copyFrom()
2198 width = o.width; in copyFrom()
2201 if (height != o.height) { in copyFrom()
2202 height = o.height; in copyFrom()
2205 if (x != o.x) { in copyFrom()
2206 x = o.x; in copyFrom()
2209 if (y != o.y) { in copyFrom()
2210 y = o.y; in copyFrom()
2213 if (horizontalWeight != o.horizontalWeight) { in copyFrom()
[all …]
/frameworks/rs/cpp/util/
DRefBase.h39 inline bool operator _op_ (const sp<T>& o) const { \
40 return m_ptr _op_ o.m_ptr; \
42 inline bool operator _op_ (const T* o) const { \
43 return m_ptr _op_ o; \
46 inline bool operator _op_ (const sp<U>& o) const { \
47 return m_ptr _op_ o.m_ptr; \
50 inline bool operator _op_ (const U* o) const { \
51 return m_ptr _op_ o; \
155 RefBase(const RefBase& o);
156 RefBase& operator=(const RefBase& o);
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java70 public PackageUserState(PackageUserState o) { in PackageUserState() argument
71 ceDataInode = o.ceDataInode; in PackageUserState()
72 installed = o.installed; in PackageUserState()
73 stopped = o.stopped; in PackageUserState()
74 notLaunched = o.notLaunched; in PackageUserState()
75 hidden = o.hidden; in PackageUserState()
76 suspended = o.suspended; in PackageUserState()
77 instantApp = o.instantApp; in PackageUserState()
78 enabled = o.enabled; in PackageUserState()
79 lastDisableAppCaller = o.lastDisableAppCaller; in PackageUserState()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h50 unique_cptr(unique_cptr&& o) : ptr_(o.ptr_) { o.ptr_ = nullptr; } in unique_cptr() argument
54 inline unique_cptr& operator=(unique_cptr&& o) {
55 if (&o == this) {
60 ptr_ = o.ptr_;
61 o.ptr_ = nullptr;
89 inline void swap(unique_cptr& o) { std::swap(ptr_, o.ptr_); } in swap() argument
97 inline bool operator==(const unique_cptr& o) const { return ptr_ == o.ptr_; }
99 inline bool operator!=(const unique_cptr& o) const { return ptr_ != o.ptr_; }
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll5 ; RUN: %llvm-rs-as -target-api 11 %s -o %t11
7 ; RUN: %llvm-rs-as -target-api 12 %s -o %t12
9 ; RUN: %llvm-rs-as -target-api 13 %s -o %t13
11 ; RUN: %llvm-rs-as -target-api 14 %s -o %t14
13 ; RUN: %llvm-rs-as -target-api 15 %s -o %t15
15 ; RUN: %llvm-rs-as -target-api 16 %s -o %t16
17 ; RUN: %llvm-rs-as -target-api 17 %s -o %t17
19 ; RUN: %llvm-rs-as -target-api 18 %s -o %t18
21 ; RUN: %llvm-rs-as -target-api 19 %s -o %t19
23 ; RUN: %llvm-rs-as -target-api 20 %s -o %t20
[all …]
/frameworks/wilhelm/tools/hashgen/
DMakefile9 %.o : %.c
46 frag1 : frag1.o OpenSLES_IID.o
57 part5gen : part5gen.o OpenSLES_IID.o interfaces.o
63 test : test.o OpenSLES_IID.o IID_to_MPH.o
67 $(RM) part5gen frag1 *.o
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityManagerCompat.java87 public boolean equals(Object o) { in equals() argument
88 if (this == o) { in equals()
91 if (o == null || getClass() != o.getClass()) { in equals()
95 (AccessibilityStateChangeListenerWrapper) o; in equals()
210 public boolean equals(Object o) { in equals() argument
211 if (this == o) { in equals()
214 if (o == null || getClass() != o.getClass()) { in equals()
218 (TouchExplorationStateChangeListenerWrapper) o; in equals()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java175 final BooleanState o = (BooleanState) other; in copyTo() local
176 final boolean changed = super.copyTo(other) || o.value != value; in copyTo()
177 o.value = value; in copyTo()
206 final SignalState o = (SignalState) other; in copyTo() local
207 final boolean changed = o.activityIn != activityIn in copyTo()
208 || o.activityOut != activityOut in copyTo()
209 || o.isOverlayIconWide != isOverlayIconWide in copyTo()
210 || o.overlayIconId != overlayIconId; in copyTo()
211 o.activityIn = activityIn; in copyTo()
212 o.activityOut = activityOut; in copyTo()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java29 public boolean equals(Object o) { in equals() argument
30 if (this == o) return true; in equals()
31 if (o == null || getClass() != o.getClass()) return false; in equals()
33 EGLDisplayImpl that = (EGLDisplayImpl) o; in equals()
/frameworks/base/media/java/android/media/
DUtils.java208 static Size parseSize(Object o, Size fallback) {
210 return Size.parseSize((String) o);
216 Log.w(TAG, "could not parse size '" + o + "'");
220 static int parseIntSafely(Object o, int fallback) {
221 if (o == null) {
225 String s = (String)o;
232 Log.w(TAG, "could not parse integer '" + o + "'");
236 static Range<Integer> parseIntRange(Object o, Range<Integer> fallback) {
238 String s = (String)o;
253 Log.w(TAG, "could not parse integer range '" + o + "'");
[all …]

12345678910>>...21