/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 75 const PatchCache::PatchDescription& rhs) { 76 return memcmp(&lhs, &rhs, sizeof(PatchDescription)); 74 compare(const PatchCache::PatchDescription& lhs, const PatchCache::PatchDescription& rhs) argument
|
H A D | DeferredDisplayList.cpp | 192 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 D | dumpsys.cpp | 36 static int sort_func(const String16* lhs, const String16* rhs) argument 38 return lhs->compare(*rhs);
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 331 EglImage(const EglImage& rhs); 332 void operator = (const EglImage& rhs);
|
H A D | Surface.h | 144 Surface& operator = (const Surface& rhs); 145 Surface(const Surface& rhs);
|
/frameworks/av/drm/libmediadrm/ |
H A D | Drm.cpp | 53 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 D | HWC2On1Adapter.cpp | 36 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 D | SurfaceComposerClient.cpp | 98 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 D | InputDispatcher.h | 927 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 D | VideoFrameScheduler.cpp | 38 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 D | ScanResult.java | 336 public InformationElement(InformationElement rhs) { argument 337 this.id = rhs.id; 338 this.bytes = rhs.bytes.clone();
|
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 586 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 D | AaptAssets.h | 129 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 D | JavaClassGenerator.cpp | 195 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 D | XmlDom.cpp | 97 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 D | mat4.h | 105 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 D | PageRangeUtils.java | 36 public int compare(PageRange lhs, PageRange rhs) { 37 return lhs.getStart() - rhs.getStart();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
H A D | DreamBackend.java | 293 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 D | UriPermission.java | 344 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 D | ColorCutQuantizer.java | 454 public int compare(Vbox lhs, Vbox rhs) { 455 return rhs.getVolume() - lhs.getVolume();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 841 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 D | VolumeInfo.java | 104 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 D | EventRecurrence.java | 612 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 D | RootsFragment.java | 410 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 D | AppRestrictionsHelper.java | 373 public int compare(SelectableAppInfo lhs, SelectableAppInfo rhs) { argument 375 String rhsLabel = rhs.activityName.toString();
|