Searched defs:rhs (Results 26 - 50 of 87) sorted by relevance

1234

/frameworks/base/libs/hwui/
H A DGradientCache.h66 static int compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs);
94 inline int strictly_order_type(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
95 return GradientCacheEntry::compare(lhs, rhs) < 0;
98 inline int compare_type(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
99 return GradientCacheEntry::compare(lhs, rhs);
H A DLayerCache.cpp74 const LayerCache::LayerEntry& rhs) {
75 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth);
78 return int(lhs.mHeight) - int(rhs.mHeight);
73 compare(const LayerCache::LayerEntry& lhs, const LayerCache::LayerEntry& rhs) argument
H A DRenderBufferCache.cpp81 const RenderBufferCache::RenderBufferEntry& rhs) {
82 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth);
85 deltaInt = int(lhs.mHeight) - int(rhs.mHeight);
88 return int(lhs.mFormat) - int(rhs.mFormat);
79 compare( const RenderBufferCache::RenderBufferEntry& lhs, const RenderBufferCache::RenderBufferEntry& rhs) argument
H A DTextDropShadowCache.cpp53 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { argument
54 int deltaInt = int(lhs.len) - int(rhs.len);
57 deltaInt = lhs.flags - rhs.flags;
60 if (lhs.radius < rhs.radius) return -1;
61 if (lhs.radius > rhs.radius) return +1;
63 if (lhs.typeface < rhs.typeface) return -1;
64 if (lhs.typeface > rhs.typeface) return +1;
66 if (lhs.textSize < rhs.textSize) return -1;
67 if (lhs.textSize > rhs.textSize) return +1;
69 if (lhs.italicStyle < rhs
[all...]
H A DGradientCache.cpp51 int GradientCacheEntry::compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
52 int deltaInt = int(lhs.count) - int(rhs.count);
55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t));
58 return memcmp(lhs.positions, rhs.positions, lhs.count * sizeof(float));
H A DPatchCache.cpp79 const PatchCache::PatchDescription& rhs) {
80 return memcmp(&lhs, &rhs, sizeof(PatchDescription));
78 compare(const PatchCache::PatchDescription& lhs, const PatchCache::PatchDescription& rhs) argument
H A DPatchCache.h107 static int compare(const PatchDescription& lhs, const PatchDescription& rhs);
118 const PatchDescription& rhs) {
119 return PatchDescription::compare(lhs, rhs) < 0;
123 const PatchDescription& rhs) {
124 return PatchDescription::compare(lhs, rhs);
117 strictly_order_type(const PatchDescription& lhs, const PatchDescription& rhs) argument
122 compare_type(const PatchDescription& lhs, const PatchDescription& rhs) argument
H A DTextDropShadowCache.h64 static int compare(const ShadowText& lhs, const ShadowText& rhs);
103 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { argument
104 return ShadowText::compare(lhs, rhs) < 0;
107 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { argument
108 return ShadowText::compare(lhs, rhs);
/frameworks/base/libs/hwui/font/
H A DFont.h57 static int compare(const FontDescription& lhs, const FontDescription& rhs);
157 const Font::FontDescription& rhs) {
158 return Font::FontDescription::compare(lhs, rhs) < 0;
161 inline int compare_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) { argument
162 return Font::FontDescription::compare(lhs, rhs);
156 strictly_order_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) argument
/frameworks/base/libs/hwui/utils/
H A DSortedListImpl.cpp29 SortedListImpl::SortedListImpl(const VectorImpl& rhs): VectorImpl(rhs) { argument
35 SortedListImpl& SortedListImpl::operator =(const SortedListImpl& rhs) { argument
37 (VectorImpl::operator =(static_cast<const VectorImpl&> (rhs)));
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java113 public int compare(Size lhs, Size rhs) { argument
116 (long) rhs.getWidth() * rhs.getHeight());
/frameworks/base/tools/aapt/
H A DSourcePos.cpp27 ErrorPos& operator=(const ErrorPos& rhs);
56 ErrorPos::operator=(const ErrorPos& rhs) argument
58 this->file = rhs.file;
59 this->line = rhs.line;
60 this->error = rhs.error;
61 this->level = rhs.level;
144 SourcePos::operator<(const SourcePos& rhs) const
146 return (file < rhs.file) || (line < rhs.line);
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileSystem.h65 inline bool operator==(const FileStatus& rhs, const FileStatus& lhs) { argument
66 return rhs.type() == lhs.type();
69 inline bool operator!=(const FileStatus& rhs, const FileStatus& lhs ) { argument
70 return !(rhs == lhs);
/frameworks/native/include/ui/
H A DRect.h115 inline bool operator == (const Rect& rhs) const {
116 return (left == rhs.left) && (top == rhs.top) &&
117 (right == rhs.right) && (bottom == rhs.bottom);
120 inline bool operator != (const Rect& rhs) const {
121 return !operator == (rhs);
126 bool operator < (const Rect& rhs) const;
128 const Rect operator + (const Point& rhs) const;
129 const Rect operator - (const Point& rhs) cons
131 operator +=(const Point& rhs) argument
134 operator -=(const Point& rhs) argument
171 set(const Rect& rhs) argument
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h75 inline Key(const Key& rhs) : mKey(rhs.mKey) { } argument
102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) { argument
103 return (lhs.mKey < rhs.mKey) ? 1 : 0;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix3f.java208 * @param rhs right hand side matrix
210 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument
216 float rhs_ij = rhs.get(i,j);
230 * @param rhs right hand side to multiply by
232 public void multiply(Matrix3f rhs) { argument
234 tmp.loadMultiply(this, rhs);
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp37 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument
38 if (lhs.size() < rhs.size()) {
40 } else if (lhs.size() > rhs.size()) {
44 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java307 public int compare(EngineInfo lhs, EngineInfo rhs) { argument
308 if (lhs.system && !rhs.system) {
310 } else if (rhs.system && !lhs.system) {
318 return rhs.priority - lhs.priority;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java269 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument
270 return lhs.getName().toString().compareTo(rhs.getName().toString());
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java394 public int compare(RootInfo lhs, RootInfo rhs) { argument
395 final int score = DocumentInfo.compareToIgnoreCaseNullable(lhs.title, rhs.title);
399 return DocumentInfo.compareToIgnoreCaseNullable(lhs.summary, rhs.summary);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentInfo.java290 public static int compareToIgnoreCaseNullable(String lhs, String rhs) { argument
292 final boolean rightEmpty = TextUtils.isEmpty(rhs);
299 final boolean rightDir = (rhs.charAt(0) == DIR_PREFIX);
304 return sCollator.compare(lhs, rhs);
/frameworks/base/rs/java/android/renderscript/
H A DMatrix4f.java223 * @param rhs right hand side matrix
225 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument
232 float rhs_ij = rhs.get(i,j);
354 * @param rhs right hand side to multiply by
356 public void multiply(Matrix4f rhs) { argument
358 tmp.loadMultiply(this, rhs);
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermission.java345 public int compare(UriPermission lhs, UriPermission rhs) { argument
346 return Long.compare(lhs.persistedCreateTime, rhs.persistedCreateTime);
/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java462 * Tests that lhs.equals(rhs) matches expectedResult, as well as
463 * rhs.equals(lhs). Also tests that hashCode() return values are
468 * @param rhs As lhs.
473 String message, Object lhs, Object rhs, boolean expectedResult) {
475 if ((lhs == null) && (rhs == null)) {
482 if ((lhs == null) || (rhs == null)) {
489 Assert.assertEquals(message, expectedResult, lhs.equals(rhs));
491 if (rhs != null) {
492 Assert.assertEquals(message, expectedResult, rhs.equals(lhs));
501 Assert.assertTrue(hashMessage, lhs.hashCode() == rhs
472 checkEqualsAndHashCodeMethods( String message, Object lhs, Object rhs, boolean expectedResult) argument
510 checkEqualsAndHashCodeMethods(Object lhs, Object rhs, boolean expectedResult) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java215 public InformationElement(InformationElement rhs) { argument
216 this.id = rhs.id;
217 this.bytes = rhs.bytes.clone();

Completed in 9215 milliseconds

1234