Searched refs:rhs (Results 151 - 175 of 189) sorted by relevance

12345678

/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();
/frameworks/rs/
H A DrsMatrix4x4.cpp252 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 Degl.cpp283 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 DGeofenceHardwareImpl.java885 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 DNetworkControllerImpl.java473 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 DVendorTagDescriptor.cpp69 VendorTagDescriptor& VendorTagDescriptor::operator=(const VendorTagDescriptor& rhs) { argument
70 copyFrom(rhs);
/frameworks/base/core/java/android/os/
H A DFileUtils.java382 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 DRecentTasks.java706 public int compare(TaskRecord lhs, TaskRecord rhs) {
707 return rhs.taskId - lhs.taskId;
H A DTaskPersister.java504 public int compare(TaskRecord lhs, TaskRecord rhs) {
505 final long diff = rhs.mLastTimeMoved - lhs.mLastTimeMoved;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h170 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 DWifiLogger.java642 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 DZenModePanel.java355 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 DMockDrmCryptoPlugin.cpp779 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 DResolverActivity.java978 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 Drs_matrix.spec287 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 DProcessState.java102 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 Dutils.cpp973 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 DCea708CaptionRenderer.java1078 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 DBatteryStatsHelper.java437 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 DAlarmManagerService.java621 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 DSyncManager.java1879 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 DCameraTestUtils.java1015 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 DViewPager.java99 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 DCameraOps.java141 public int compare(Size lhs, Size rhs) {
/frameworks/support/core-ui/java/android/support/v4/view/
H A DViewPager.java145 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();

Completed in 955 milliseconds

12345678