Searched refs:rhs (Results 101 - 125 of 189) sorted by relevance

12345678

/frameworks/base/tools/aapt2/
H A DResourceTable.cpp32 static bool lessThanType(const std::unique_ptr<ResourceTableType>& lhs, ResourceType rhs) { argument
33 return lhs->type < rhs;
38 const StringPiece16& rhs) {
39 return lhs->name.compare(0, lhs->name.size(), rhs.data(), rhs.size()) < 0;
134 bool ltConfigKeyRef(const std::unique_ptr<ResourceConfigValue>& lhs, const ConfigKey& rhs) { argument
135 int cmp = lhs->config.compare(*rhs.config);
137 cmp = StringPiece(lhs->product).compare(rhs.product);
37 lessThanStructWithName(const std::unique_ptr<T>& lhs, const StringPiece16& rhs) argument
H A DStringPool.h58 Ref& operator=(const Ref& rhs);
81 StyleRef& operator=(const StyleRef& rhs);
/frameworks/av/include/camera/
H A DVendorTagDescriptor.h47 VendorTagDescriptor& operator=(const VendorTagDescriptor& rhs);
/frameworks/base/libs/hwui/
H A DGradientCache.cpp51 int GradientCacheEntry::compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
52 int deltaInt = int(lhs.count) - int(rhs.count);
55 deltaInt = memcmp(lhs.colors.get(), rhs.colors.get(), lhs.count * sizeof(uint32_t));
58 return memcmp(lhs.positions.get(), rhs.positions.get(), lhs.count * sizeof(float));
H A DLayerBuilder.cpp136 const BakedOpState* rhs = mOps[0]; local
138 if (!MathUtils::areEqual(lhs->alpha, rhs->alpha)) return false;
142 if (lhs->roundRectClipState != rhs->roundRectClipState) return false;
146 || rhs->computedState.localProjectionPathMask) return false;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTileUtils.java313 public int compare(Tile lhs, Tile rhs) {
314 return rhs.priority - lhs.priority;
321 public int compare(DashboardCategory lhs, DashboardCategory rhs) {
322 return rhs.priority - lhs.priority;
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchables.java336 public int compare(ResolveInfo lhs, ResolveInfo rhs) {
337 if (lhs == rhs) {
341 boolean rhsSystem = isSystemApp(rhs);
353 return rhs.priority - lhs.priority;
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DAutomaticActivity.java183 public int compare(TestResult lhs, TestResult rhs) {
184 if (lhs == rhs) return 0; // don't need to worry about complex equality
186 int cmp = Float.compare(lhs.getAverage(), rhs.getAverage());
190 return lhs.mLabel.compareTo(rhs.mLabel);
/frameworks/native/services/surfaceflinger/
H A DTransform.h83 Transform operator * (const Transform& rhs) const;
H A DTransform.cpp57 Transform Transform::operator * (const Transform& rhs) const
60 return rhs;
63 if (rhs.mType == IDENTITY)
68 const mat33& B(rhs.mMatrix);
78 r.mType |= rhs.mType;
80 // TODO: we could recompute this value from r and rhs
/frameworks/base/core/java/android/security/net/config/
H A DNetworkSecurityConfig.java62 public int compare(CertificatesEntryRef lhs, CertificatesEntryRef rhs) {
64 return rhs.overridesPins() ? 0 : -1;
66 return rhs.overridesPins() ? 1 : 0;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp125 int OffscreenBufferPool::Entry::compare(const Entry& lhs, const Entry& rhs) { argument
126 int deltaInt = int(lhs.width) - int(rhs.width);
129 return int(lhs.height) - int(rhs.height);
H A DOffscreenBufferPool.h135 static int compare(const Entry& lhs, const Entry& rhs);
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp93 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs)
95 if (lhs == 0 || rhs == 0)
97 return lhs->mHandle == rhs->mHandle;
92 isSameSurface( const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) argument
/frameworks/rs/scriptc/
H A Drs_matrix.rsh303 * Sets m to the matrix product of lhs * rhs.
317 * rhs: Right matrix of the product.
320 rsMatrixLoadMultiply(rs_matrix4x4* m, const rs_matrix4x4* lhs, const rs_matrix4x4* rhs);
323 rsMatrixLoadMultiply(rs_matrix3x3* m, const rs_matrix3x3* lhs, const rs_matrix3x3* rhs);
326 rsMatrixLoadMultiply(rs_matrix2x2* m, const rs_matrix2x2* lhs, const rs_matrix2x2* rhs);
422 * For the matrix by matrix variant, sets m to the matrix product m * rhs.
425 * matrix will correspond to performing the rhs transformation first followed by
441 * rhs: Right matrix of the product.
444 rsMatrixMultiply(rs_matrix4x4* m, const rs_matrix4x4* rhs);
447 rsMatrixMultiply(rs_matrix3x3* m, const rs_matrix3x3* rhs);
[all...]
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java113 public int compare(Size lhs, Size rhs) { argument
116 (long) rhs.getWidth() * rhs.getHeight());
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java306 public int compare(EngineInfo lhs, EngineInfo rhs) { argument
307 if (lhs.system && !rhs.system) {
309 } else if (rhs.system && !lhs.system) {
317 return rhs.priority - lhs.priority;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DModel.java243 final String rhs = sortKey[mid];
244 compare = Shared.compareToIgnoreCaseNullable(lhs, rhs);
316 final long rhs = sortKey[mid];
319 compare = -Long.compare(lhs, rhs);
/frameworks/base/rs/java/android/renderscript/
H A DMatrix4f.java223 * @param rhs right hand side matrix
225 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument
232 float rhs_ij = rhs.get(i,j);
354 * @param rhs right hand side to multiply by
356 public void multiply(Matrix4f rhs) { argument
358 tmp.loadMultiply(this, rhs);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp325 EGLint rhs(other.v);
327 if (rhs == EGL_NONE) rhs = 0x7FFFFFFF;
328 return lhs < rhs;
/frameworks/rs/
H A DrsScriptGroup.cpp99 ScriptGroup::Node *const* rhs) {
100 if (lhs[0]->mOrder > rhs[0]->mOrder) {
109 const ScriptGroup::Node* rhs) {
110 if (lhs->mOrder > rhs->mOrder) {
98 CompareNodeForSort(ScriptGroup::Node *const* lhs, ScriptGroup::Node *const* rhs) argument
108 operator ()(const ScriptGroup::Node* lhs, const ScriptGroup::Node* rhs) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix4f.java224 * @param rhs right hand side matrix
226 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument
233 float rhs_ij = rhs.get(i,j);
355 * @param rhs right hand side to multiply by
357 public void multiply(Matrix4f rhs) { argument
359 tmp.loadMultiply(this, rhs);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DVolumeCurve.h42 inline bool operator< (const CurvePoint &lhs, const CurvePoint &rhs) argument
44 return lhs.mIndex < rhs.mIndex;
/frameworks/base/cmds/idmap/
H A Dscan.cpp27 bool operator<(Overlay const& rhs) const
29 return rhs.priority > priority;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java269 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument
270 return lhs.getName().toString().compareTo(rhs.getName().toString());

Completed in 908 milliseconds

12345678