/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 79 const PatchCache::PatchDescription& rhs) { 80 return memcmp(&lhs, &rhs, sizeof(PatchDescription)); 78 compare(const PatchCache::PatchDescription& lhs, const PatchCache::PatchDescription& rhs) argument
|
H A D | DeferredDisplayList.cpp | 194 const DeferredDisplayState* rhs = mOps[0].state; local 196 if (!MathUtils::areEqual(lhs->mAlpha, rhs->mAlpha)) return false; 200 if (lhs->mRoundRectClipState != rhs->mRoundRectClipState) return false; 251 const DrawModifiers& rhsMod = rhs->mDrawModifiers;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | PageRangeUtils.java | 34 public int compare(PageRange lhs, PageRange rhs) { 35 return lhs.getStart() - rhs.getStart();
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 266 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument 267 return lhs.getName().compareTo(rhs.getName());
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.cpp | 50 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 51 if (lhs.size() < rhs.size()) { 53 } else if (lhs.size() > rhs.size()) { 57 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
H A D | VideoFrameScheduler.cpp | 39 static int compare(const T *lhs, const T *rhs) { argument 40 if (*lhs < *rhs) { 42 } else if (*lhs > *rhs) {
|
/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 | 911 bool operator==(const KeyReplacement& rhs) const { 912 return keyCode == rhs.keyCode && deviceId == rhs.deviceId; 914 bool operator<(const KeyReplacement& rhs) const { 915 return keyCode != rhs.keyCode ? keyCode < rhs.keyCode : deviceId < rhs.deviceId;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RootsFragment.java | 394 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/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 | 131 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 133 return lhs.compare(rhs); 136 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 138 return compare_type(lhs, rhs) < 0;
|
H A D | StringPool.h | 144 static int config_sort(void* state, const void* lhs, const void* rhs);
|
/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/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AccessPointControllerImpl.java | 234 public int compare(AccessPoint lhs, AccessPoint rhs) { 235 return -Integer.compare(score(lhs), score(rhs));
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UriPermission.java | 345 public int compare(UriPermission lhs, UriPermission rhs) { argument 346 return Long.compare(lhs.persistedCreateTime, rhs.persistedCreateTime);
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 441 public int compare(Vbox lhs, Vbox rhs) { 442 return rhs.getVolume() - lhs.getVolume();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 764 private boolean equalsIgnoreSize(PrintDocumentInfo lhs, PrintDocumentInfo rhs) { argument 765 if (lhs == rhs) { 771 if (rhs == null) { 774 if (lhs.getContentType() != rhs.getContentType() 775 || lhs.getPageCount() != rhs.getPageCount()) {
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 714 bool operator<(Vector<uint8_t> const &lhs, Vector<uint8_t> const &rhs) { argument 715 return lhs.size() < rhs.size() || (memcmp(lhs.array(), rhs.array(), lhs.size()) < 0);
|
/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/core/java/android/os/ |
H A D | FileUtils.java | 342 public int compare(File lhs, File rhs) { 343 return (int) (rhs.lastModified() - lhs.lastModified());
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.h | 157 LayerVector(const LayerVector& rhs); 158 virtual int do_compare(const void* lhs, const void* rhs) const;
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 252 void Matrix4x4::loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 262 const float rhs_ij = ((const Matrix4x4 *)rhs)->get(i,j);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 283 static Region subtract(const Rect& lhs, const Rect& rhs) { argument 287 if (lhs.top < rhs.top) { // top rect 291 storage->bottom = rhs.top; 294 const int32_t top = max(lhs.top, rhs.top); 295 const int32_t bot = min(lhs.bottom, rhs.bottom); 297 if (lhs.left < rhs.left) { // left-side rect 300 storage->right = rhs.left; 304 if (lhs.right > rhs.right) { // right-side rect 305 storage->left = rhs.right; 312 if (lhs.bottom > rhs [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareImpl.java | 846 Reaper rhs = (Reaper) obj; 847 return binderEquals(rhs.mCallback, mCallback) && 848 binderEquals(rhs.mMonitorCallback, mMonitorCallback) && 849 rhs.mMonitoringType == mMonitoringType;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 1178 public int compare(ResolveInfo lhs, ResolveInfo rhs) { argument 1189 final boolean rhsSpecific = isSpecificUriMatch(rhs.match); 1197 getPackageTimeSpent(rhs.activityInfo.packageName) - 1207 CharSequence sb = rhs.loadLabel(mPm); 1208 if (sb == null) sb = rhs.activityInfo.name;
|