/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();
|
/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 | 885 Reaper rhs = (Reaper) obj; 886 return binderEquals(rhs.mCallback, mCallback) && 887 binderEquals(rhs.mMonitorCallback, mMonitorCallback) && 888 rhs.mMonitoringType == mMonitoringType;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerImpl.java | 473 public int compare(SubscriptionInfo lhs, SubscriptionInfo rhs) { 474 return lhs.getSimSlotIndex() == rhs.getSimSlotIndex() 475 ? lhs.getSubscriptionId() - rhs.getSubscriptionId() 476 : lhs.getSimSlotIndex() - rhs.getSimSlotIndex();
|
/frameworks/av/camera/ |
H A D | VendorTagDescriptor.cpp | 69 VendorTagDescriptor& VendorTagDescriptor::operator=(const VendorTagDescriptor& rhs) { argument 70 copyFrom(rhs);
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 382 public int compare(File lhs, File rhs) { 383 return (int) (rhs.lastModified() - lhs.lastModified());
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | RecentTasks.java | 706 public int compare(TaskRecord lhs, TaskRecord rhs) { 707 return rhs.taskId - lhs.taskId;
|
H A D | TaskPersister.java | 504 public int compare(TaskRecord lhs, TaskRecord rhs) { 505 final long diff = rhs.mLastTimeMoved - lhs.mLastTimeMoved;
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.h | 170 LayerVector(const LayerVector& rhs); 171 virtual int do_compare(const void* lhs, const void* rhs) const;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLogger.java | 642 public int compare(WifiNative.FateReport lhs, WifiNative.FateReport rhs) { 643 return Long.compare(lhs.mDriverTimestampUSec, rhs.mDriverTimestampUSec);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 355 private static boolean sameConditionId(Condition lhs, Condition rhs) { argument 356 return lhs == null ? rhs == null : rhs != null && lhs.id.equals(rhs.id);
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 779 bool operator<(Vector<uint8_t> const &lhs, Vector<uint8_t> const &rhs) { argument 780 return lhs.size() < rhs.size() || (memcmp(lhs.array(), rhs.array(), lhs.size()) < 0);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 978 static boolean resolveInfoMatch(ResolveInfo lhs, ResolveInfo rhs) { argument 979 return lhs == null ? rhs == null 980 : lhs.activityInfo == null ? rhs.activityInfo == null 981 : Objects.equals(lhs.activityInfo.name, rhs.activityInfo.name) 982 && Objects.equals(lhs.activityInfo.packageName, rhs.activityInfo.packageName);
|
/frameworks/rs/api/ |
H A D | rs_matrix.spec | 287 arg: const #1* rhs, "Right matrix of the product." 290 Sets m to the matrix product of <code>lhs * rhs</code>. 393 arg: const #1* rhs, "Right matrix of the product." 396 For the matrix by matrix variant, sets m to the matrix product <code>m * rhs</code>. 399 matrix will correspond to performing the rhs transformation first followed by
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessState.java | 102 public int compare(ProcessState lhs, ProcessState rhs) { 103 if (lhs.mTmpTotalTime < rhs.mTmpTotalTime) { 105 } else if (lhs.mTmpTotalTime > rhs.mTmpTotalTime) {
|
/frameworks/native/cmds/installd/ |
H A D | utils.cpp | 973 const cache_file_t *rhs = *(const cache_file_t**)rhsP; local 974 return lhs->modTime < rhs->modTime ? -1 : (lhs->modTime > rhs->modTime ? 1 : 0);
|
/frameworks/base/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 1078 public int compare(Rect lhs, Rect rhs) { 1079 if (lhs.top != rhs.top) { 1080 return lhs.top - rhs.top; 1082 return lhs.left - rhs.left;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsHelper.java | 437 public int compare(BatterySipper lhs, BatterySipper rhs) { 438 return Double.compare(rhs.mobilemspp, lhs.mobilemspp);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 621 public int compare(Alarm lhs, Alarm rhs) { 623 if (lhs.priorityClass.priority < rhs.priorityClass.priority) { 625 } else if (lhs.priorityClass.priority > rhs.priorityClass.priority) { 630 if (lhs.whenElapsed < rhs.whenElapsed) { 632 } else if (lhs.whenElapsed > rhs.whenElapsed) { 1513 public int compare(FilterStats lhs, FilterStats rhs) { 1514 if (lhs.aggregateTime < rhs.aggregateTime) { 1516 } else if (lhs.aggregateTime > rhs.aggregateTime) {
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 1879 RegisteredServicesCache.ServiceInfo<SyncAdapterType> rhs) { 1880 return lhs.type.authority.compareTo(rhs.type.authority); 2026 public int compare(AuthoritySyncStats lhs, AuthoritySyncStats rhs) { 2028 int compare = Integer.compare(rhs.times, lhs.times); 2030 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); 2070 public int compare(AccountSyncStats lhs, AccountSyncStats rhs) { 2072 int compare = Integer.compare(rhs.times, lhs.times); 2074 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 1015 public int compare(Size lhs, Size rhs) { argument 1017 .compareSizes(lhs.getWidth(), lhs.getHeight(), rhs.getWidth(), rhs.getHeight());
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 99 public int compare(ItemInfo lhs, ItemInfo rhs) { 100 return lhs.position - rhs.position; 2818 public int compare(View lhs, View rhs) { argument 2820 final LayoutParams rlp = (LayoutParams) rhs.getLayoutParams();
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 141 public int compare(Size lhs, Size rhs) {
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | ViewPager.java | 145 public int compare(ItemInfo lhs, ItemInfo rhs) { 146 return lhs.position - rhs.position; 3179 public int compare(View lhs, View rhs) { argument 3181 final LayoutParams rlp = (LayoutParams) rhs.getLayoutParams();
|