Searched refs:lhs (Results 51 - 75 of 91) sorted by relevance

1234

/frameworks/native/include/gui/
H A DSurfaceControl.h54 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs);
/frameworks/rs/
H A DrsMatrix4x4.h45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs);
H A DrsMatrix4x4.cpp252 void Matrix4x4::loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument
260 ri0 += ((const Matrix4x4 *)lhs)->get(j,0) * rhs_ij;
261 ri1 += ((const Matrix4x4 *)lhs)->get(j,1) * rhs_ij;
262 ri2 += ((const Matrix4x4 *)lhs)->get(j,2) * rhs_ij;
263 ri3 += ((const Matrix4x4 *)lhs)->get(j,3) * rhs_ij;
H A DrsRuntime.h180 void rsrMatrixLoadMultiply_4x4_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *lhs,
183 void rsrMatrixLoadMultiply_3x3_3x3_3x3(rs_matrix3x3 *m, const rs_matrix3x3 *lhs,
186 void rsrMatrixLoadMultiply_2x2_2x2_2x2(rs_matrix2x2 *m, const rs_matrix2x2 *lhs,
H A DrsScriptGroup.cpp82 static int CompareNodeForSort(ScriptGroup::Node *const* lhs, argument
84 if (lhs[0]->mOrder > rhs[0]->mOrder) {
92 bool operator() (const ScriptGroup::Node* lhs, argument
94 if (lhs->mOrder > rhs->mOrder) {
/frameworks/native/include/utils/
H A DVectorImpl.h93 typedef int (*compar_t)(const void* lhs, const void* rhs);
94 typedef int (*compar_r_t)(const void* lhs, const void* rhs, void* state);
167 virtual int do_compare(const void* lhs, const void* rhs) const = 0;
H A DSortedVector.h133 virtual int do_compare(const void* lhs, const void* rhs) const;
273 int SortedVector<TYPE>::do_compare(const void* lhs, const void* rhs) const { argument
274 return compare_type( *reinterpret_cast<const TYPE*>(lhs), *reinterpret_cast<const TYPE*>(rhs) );
H A DVector.h171 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs);
172 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp86 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs)
88 if (lhs == 0 || rhs == 0)
90 return lhs->mHandle == rhs->mHandle;
85 isSameSurface( const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) argument
H A DSurfaceComposerClient.cpp98 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/base/graphics/java/android/renderscript/
H A DMatrix4f.java223 * @param lhs left hand side matrix
226 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument
234 ri0 += lhs.get(j,0) * rhs_ij;
235 ri1 += lhs.get(j,1) * rhs_ij;
236 ri2 += lhs.get(j,2) * rhs_ij;
237 ri3 += lhs.get(j,3) * rhs_ij;
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.cpp130 #define NEQ_FALPHA(lhs, rhs) \
131 fabs((float)lhs - (float)rhs) > 0.001f
159 const DeferredDisplayState& lhs = op->state; local
162 if (NEQ_FALPHA(lhs.mAlpha, rhs.mAlpha)) return false;
182 const DrawModifiers& lhsMod = lhs.mDrawModifiers;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix4f.java223 * @param lhs left hand side matrix
226 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument
234 ri0 += lhs.get(j,0) * rhs_ij;
235 ri1 += lhs.get(j,1) * rhs_ij;
236 ri2 += lhs.get(j,2) * rhs_ij;
237 ri3 += lhs.get(j,3) * rhs_ij;
/frameworks/base/libs/hwui/utils/
H A DSortedList.h102 virtual int do_compare(const void* lhs, const void* rhs) const;
235 int SortedList<TYPE>::do_compare(const void* lhs, const void* rhs) const {
236 return compare_type(*reinterpret_cast<const TYPE*> (lhs), *reinterpret_cast<const TYPE*> (rhs));
/frameworks/av/media/libmediaplayerservice/
H A DDrm.cpp38 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument
39 if (lhs.size() < rhs.size()) {
41 } else if (lhs.size() > rhs.size()) {
45 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java267 public int compare(EngineInfo lhs, EngineInfo rhs) { argument
268 if (lhs.system && !rhs.system) {
270 } else if (rhs.system && !lhs.system) {
278 return rhs.priority - lhs.priority;
/frameworks/base/core/java/android/os/
H A DFileUtils.java266 public int compare(File lhs, File rhs) {
267 return (int) (rhs.lastModified() - lhs.lastModified());
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java253 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument
254 return lhs.getName().compareTo(rhs.getName());
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java611 String lhs = part.substring(0, equalIndex);
621 PartParser parser = sParsePartMap.get(lhs);
623 if (lhs.startsWith("X-")) {
624 //Log.d(TAG, "Ignoring custom part " + lhs);
627 throw new InvalidFormatException("Couldn't find parser for " + lhs);
631 throw new InvalidFormatException("Part " + lhs + " was specified twice");
/frameworks/native/cmds/flatland/
H A DMain.cpp512 static int cmpDouble(const double* lhs, const double* rhs) { argument
513 if (*lhs < *rhs) {
515 } else if (*rhs < *lhs) {
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp644 bool operator<(Vector<uint8_t> const &lhs, Vector<uint8_t> const &rhs) { argument
645 return lhs.size() < rhs.size() || (memcmp(lhs.array(), rhs.array(), lhs.size()) < 0);
/frameworks/base/tools/aapt/
H A DAaptAssets.h145 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument
147 return lhs.compare(rhs);
150 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument
152 return compare_type(lhs, rhs) < 0;
H A DStringPool.h142 static int config_sort(void* state, const void* lhs, const void* rhs);
/frameworks/native/opengl/libagl/
H A Degl.cpp283 static Region subtract(const Rect& lhs, const Rect& rhs) { argument
286 if (!lhs.isEmpty()) {
287 if (lhs.top < rhs.top) { // top rect
288 storage->left = lhs.left;
289 storage->top = lhs.top;
290 storage->right = lhs.right;
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
298 storage->left = lhs
[all...]
/frameworks/rs/scriptc/
H A Drs_cl.rsh897 _RS_RUNTIME float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs);
898 _RS_RUNTIME float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs);
905 _RS_RUNTIME float __attribute__((overloadable)) dot(float lhs, float rhs);
921 _RS_RUNTIME float __attribute__((overloadable)) distance(float lhs, float rhs);
973 _RS_RUNTIME float __attribute__((overloadable)) fast_distance(float lhs, float rhs);

Completed in 2244 milliseconds

1234