Searched refs:rhs (Results 126 - 150 of 188) sorted by relevance

12345678

/frameworks/base/libs/hwui/
H A DPatchCache.cpp75 const PatchCache::PatchDescription& rhs) {
76 return memcmp(&lhs, &rhs, sizeof(PatchDescription));
74 compare(const PatchCache::PatchDescription& lhs, const PatchCache::PatchDescription& rhs) argument
H A DDeferredDisplayList.cpp192 const DeferredDisplayState* rhs = mOps[0].state; local
194 if (!MathUtils::areEqual(lhs->mAlpha, rhs->mAlpha)) return false;
198 if (lhs->mRoundRectClipState != rhs->mRoundRectClipState) return false;
199 if (lhs->mProjectionPathMask != rhs->mProjectionPathMask) return false;
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp36 static int sort_func(const String16* lhs, const String16* rhs) argument
38 return lhs->compare(*rhs);
/frameworks/native/include/gui/
H A DGLConsumer.h331 EglImage(const EglImage& rhs);
332 void operator = (const EglImage& rhs);
H A DSurface.h144 Surface& operator = (const Surface& rhs);
145 Surface(const Surface& rhs);
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp53 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument
54 if (lhs.size() < rhs.size()) {
56 } else if (lhs.size() > rhs.size()) {
60 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.cpp36 static bool operator==(const hwc_color_t& lhs, const hwc_color_t& rhs) { argument
37 return lhs.r == rhs.r &&
38 lhs.g == rhs.g &&
39 lhs.b == rhs.b &&
40 lhs.a == rhs.a;
43 static bool operator==(const hwc_rect_t& lhs, const hwc_rect_t& rhs) { argument
44 return lhs.left == rhs.left &&
45 lhs.top == rhs.top &&
46 lhs.right == rhs.right &&
47 lhs.bottom == rhs
50 operator ==(const hwc_frect_t& lhs, const hwc_frect_t& rhs) argument
58 operator !=(const T& lhs, const T& rhs) argument
1985 operator ()( const std::shared_ptr<Layer>& lhs, const std::shared_ptr<Layer>& rhs) argument
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp98 int compare_type(const ComposerState& lhs, const ComposerState& rhs) { argument
99 if (lhs.client < rhs.client) return -1;
100 if (lhs.client > rhs.client) return 1;
101 if (lhs.state.surface < rhs.state.surface) return -1;
102 if (lhs.state.surface > rhs.state.surface) return 1;
107 int compare_type(const DisplayState& lhs, const DisplayState& rhs) { argument
108 return compare_type(lhs.token, rhs.token);
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h927 bool operator==(const KeyReplacement& rhs) const {
928 return keyCode == rhs.keyCode && deviceId == rhs.deviceId;
930 bool operator<(const KeyReplacement& rhs) const {
931 return keyCode != rhs.keyCode ? keyCode < rhs.keyCode : deviceId < rhs.deviceId;
/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp38 static int compare(const T *lhs, const T *rhs) { argument
39 if (*lhs < *rhs) {
41 } else if (*lhs > *rhs) {
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java336 public InformationElement(InformationElement rhs) { argument
337 this.id = rhs.id;
338 this.bytes = rhs.bytes.clone();
/frameworks/native/cmds/flatland/
H A DMain.cpp586 static int cmpDouble(const double* lhs, const double* rhs) { argument
587 if (*lhs < *rhs) {
589 } else if (*rhs < *lhs) {
/frameworks/base/tools/aapt/
H A DAaptAssets.h129 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument
131 return lhs.compare(rhs);
134 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument
136 return compare_type(lhs, rhs) < 0;
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp195 static bool lessStyleableAttr(const StyleableAttr& lhs, const StyleableAttr& rhs) { argument
197 const ResourceId rhsId = rhs.attrRef->id ? rhs.attrRef->id.value() : ResourceId(0);
203 return lhs.attrRef->name.value() < rhs.attrRef->name.value();
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.cpp97 static bool lessAttribute(const Attribute& lhs, const Attribute& rhs) { argument
99 std::tie(rhs.namespaceUri, rhs.name, rhs.value);
/frameworks/native/include/ui/
H A Dmat4.h105 explicit tmat44(const tvec4<U>& rhs);
109 explicit tmat44(const tmat44<U>& rhs);
205 tmat44<T>::tmat44(const tmat44<U>& rhs) { argument
207 mValue[r] = rhs[r];
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DPageRangeUtils.java36 public int compare(PageRange lhs, PageRange rhs) {
37 return lhs.getStart() - rhs.getStart();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
H A DDreamBackend.java293 public int compare(DreamInfo lhs, DreamInfo rhs) { argument
294 return sortKey(lhs).compareTo(sortKey(rhs));
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermission.java344 public int compare(UriPermission lhs, UriPermission rhs) { argument
345 return Long.compare(lhs.persistedCreateTime, rhs.persistedCreateTime);
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DColorCutQuantizer.java454 public int compare(Vbox lhs, Vbox rhs) {
455 return rhs.getVolume() - lhs.getVolume();
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DRemotePrintDocument.java841 private boolean equalsIgnoreSize(PrintDocumentInfo lhs, PrintDocumentInfo rhs) { argument
842 if (lhs == rhs) {
848 if (rhs == null) {
851 if (lhs.getContentType() != rhs.getContentType()
852 || lhs.getPageCount() != rhs.getPageCount()) {
/frameworks/base/core/java/android/os/storage/
H A DVolumeInfo.java104 public int compare(VolumeInfo lhs, VolumeInfo rhs) {
109 } else if (rhs.getDescription() == null) {
112 return lhs.getDescription().compareTo(rhs.getDescription());
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java612 String rhs = part.substring(equalIndex + 1);
613 if (rhs.length() == 0) {
629 int flag = parser.parsePart(rhs, this);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java410 public int compare(RootItem lhs, RootItem rhs) { argument
411 return lhs.root.compareTo(rhs.root);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java373 public int compare(SelectableAppInfo lhs, SelectableAppInfo rhs) { argument
375 String rhsLabel = rhs.activityName.toString();

Completed in 844 milliseconds

12345678