Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/include/ui/
DTVecHelpers.h124 BASE<T> PURE operator +(const BASE<T>& lv, const BASE<RT>& rv) {
125 return BASE<T>(lv) += rv;
129 BASE<T> PURE operator -(const BASE<T>& lv, const BASE<RT>& rv) {
130 return BASE<T>(lv) -= rv;
140 BASE<T> PURE operator +(const BASE<T>& lv, const BASE<T>& rv) {
141 return BASE<T>(lv) += rv;
144 BASE<T> PURE operator -(const BASE<T>& lv, const BASE<T>& rv) {
145 return BASE<T>(lv) -= rv;
205 BASE<T> PURE operator *(const BASE<T>& lv, const BASE<RT>& rv) {
206 return BASE<T>(lv) *= rv;
[all …]
Dmat4.h342 typename tmat44<U>::col_type PURE operator *(const tmat44<T>& lv, const tvec4<U>& rv) {
345 result += rv[r]*lv[r];
351 typename tmat44<U>::row_type PURE operator *(const tvec4<U>& rv, const tmat44<T>& lv) {
354 result[r] = dot(rv, lv[r]);
360 tmat44<T> PURE operator *(const tmat44<T>& lv, U rv) {
363 result[r] = lv[r]*rv;
369 tmat44<T> PURE operator *(U rv, const tmat44<T>& lv) {
372 result[r] = lv[r]*rv;
/frameworks/base/core/java/android/widget/
DRemoteViewsListAdapter.java53 for (RemoteViews rv: mRemoteViewsList) { in init()
54 if (!mViewTypes.contains(rv.getLayoutId())) { in init()
55 mViewTypes.add(rv.getLayoutId()); in init()
87 RemoteViews rv = mRemoteViewsList.get(position); in getView() local
88 rv.setIsWidgetCollectionChild(true); in getView()
90 if (convertView != null && rv != null && in getView()
91 convertView.getId() == rv.getLayoutId()) { in getView()
93 rv.reapply(mContext, v); in getView()
95 v = rv.apply(mContext, parent); in getView()
DRemoteViewsService.java162 RemoteViews rv = null; in getViewAt() local
164 rv = mFactory.getViewAt(position); in getViewAt()
165 if (rv != null) { in getViewAt()
166 rv.setIsWidgetCollectionChild(true); in getViewAt()
172 return rv; in getViewAt()
175 RemoteViews rv = null; in getLoadingView() local
177 rv = mFactory.getLoadingView(); in getLoadingView()
182 return rv; in getLoadingView()
DRemoteViewsAdapter.java1052 final RemoteViews rv = remoteViews; in updateRemoteViews() local
1057 mRequestedViews.notifyOnRemoteViewsLoaded(position, rv); in updateRemoteViews()
1173 RemoteViews rv = mCache.getRemoteViewsAt(position); in getView() local
1181 rv.reapply(context, convertViewChild, mRemoteViewsOnClickHandler); in getView()
1190 View newView = rv.apply(context, parent, mRemoteViewsOnClickHandler); in getView()
DRemoteViews.java528 RemoteViews rv = RemoteViews.CREATOR.createFromParcel(parcel); in SetRemoteViewsAdapterList() local
529 list.add(rv); in SetRemoteViewsAdapterList()
544 RemoteViews rv = list.get(i); in writeToParcel() local
545 rv.writeToParcel(dest, flags); in writeToParcel()
1290 private void configureRemoteViewsAsChild(RemoteViews rv) { in configureRemoteViewsAsChild() argument
1291 mBitmapCache.assimilate(rv.mBitmapCache); in configureRemoteViewsAsChild()
1292 rv.setBitmapCache(mBitmapCache); in configureRemoteViewsAsChild()
1293 rv.setNotRoot(); in configureRemoteViewsAsChild()
1804 RemoteViews rv = new RemoteViews(p); in clone() local
1806 return rv; in clone()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_math_agree.java154 float[] rv = new float[v1.length]; in min() local
156 rv[i] = min(v1[i], v2[i]); in min()
157 return rv; in min()
164 byte[] rv = new byte[v1.length]; in min()
166 rv[i] = min(v1[i], v2[i]); in min()
167 return rv; in min()
174 short[] rv = new short[v1.length]; in min() local
176 rv[i] = min(v1[i], v2[i]); in min()
177 return rv; in min()
184 int[] rv = new int[v1.length]; in min() local
[all …]
DUT_bug_char.java45 byte[] rv = new byte[v1.length]; in min()
47 rv[i] = min(v1[i], v2[i]); in min()
48 return rv; in min()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_math_agree.java154 float[] rv = new float[v1.length]; in min() local
156 rv[i] = min(v1[i], v2[i]); in min()
157 return rv; in min()
164 byte[] rv = new byte[v1.length]; in min()
166 rv[i] = min(v1[i], v2[i]); in min()
167 return rv; in min()
174 short[] rv = new short[v1.length]; in min() local
176 rv[i] = min(v1[i], v2[i]); in min()
177 return rv; in min()
184 int[] rv = new int[v1.length]; in min() local
[all …]
DUT_bug_char.java45 byte[] rv = new byte[v1.length]; in min()
47 rv[i] = min(v1[i], v2[i]); in min()
48 return rv; in min()
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp241 int rv, opt; in main() local
375 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
376 if (rv >= (signed) sizeof(cmd) - 1) { in main()
515 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
516 if (rv >= (signed) sizeof(cmd) - 1) { in main()
552 int rv; in initFrames() local
596 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) { in initFrames()
597 testPrintE("GraphicBuffer initCheck failed, rv: %i", rv); in initFrames()
621 vector<T> rv = vec; in vectorRandSelect() local
623 while (rv.size() > num) { in vectorRandSelect()
[all …]
DhwcColorEquiv.cpp166 int rv, opt; in main() local
281 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
282 if (rv >= (signed) sizeof(cmd) - 1) { in main()
315 if ((rv = refFrame->initCheck()) != NO_ERROR) { in main()
316 testPrintE("refFrame initCheck failed, rv: %i", rv); in main()
329 if ((rv = refFrame->initCheck()) != NO_ERROR) { in main()
330 testPrintE("refFrame initCheck failed, rv: %i", rv); in main()
402 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
403 if (rv >= (signed) sizeof(cmd) - 1) { in main()
DhwcRects.cpp205 int rv, opt; in main() local
238 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
239 if (rv >= (signed) sizeof(cmd) - 1) { in main()
350 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
351 if (rv >= (signed) sizeof(cmd) - 1) { in main()
364 int rv; in parseRect() local
512 if ((rv = rect.texture->initCheck()) != NO_ERROR) { in parseRect()
513 testPrintE("source texture initCheck failed, rv: %i", rv); in parseRect()
DhwcTestLib.cpp54 int rv; in hwcTestInitDisplay() local
143 int rv; in hwcTestOpenHwc() local
146 if ((rv = hw_get_module(HWC_HARDWARE_MODULE_ID, &hwcModule)) != 0) { in hwcTestOpenHwc()
147 testPrintE("hw_get_module failed, rv: %i", rv); in hwcTestOpenHwc()
148 errno = -rv; in hwcTestOpenHwc()
152 if ((rv = hwc_open_1(hwcModule, hwcDevicePtr)) != 0) { in hwcTestOpenHwc()
153 testPrintE("hwc_open failed, rv: %i", rv); in hwcTestOpenHwc()
154 errno = -rv; in hwcTestOpenHwc()
DhwcCommit.cpp340 int rv, opt; in main() local
415 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
416 if (rv >= (signed) sizeof(cmd) - 1) { in main()
619 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
620 if (rv >= (signed) sizeof(cmd) - 1) { in main()
675 list<uint32_t> rv; in supportedTransforms() local
689 rv.push_back(id); in supportedTransforms()
693 return rv; in supportedTransforms()
700 list<uint32_t> rv; in supportedBlends() local
714 rv.push_back(id); in supportedBlends()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerViewAccessibilityDelegate.java64 RecyclerView rv = (RecyclerView) host; in onInitializeAccessibilityEvent() local
65 if (rv.getLayoutManager() != null) { in onInitializeAccessibilityEvent()
66 rv.getLayoutManager().onInitializeAccessibilityEvent(event); in onInitializeAccessibilityEvent()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1480 public static void getQuaternionFromVector(float[] Q, float[] rv) { in getQuaternionFromVector() argument
1481 if (rv.length >= 4) { in getQuaternionFromVector()
1482 Q[0] = rv[3]; in getQuaternionFromVector()
1484 Q[0] = 1 - rv[0]*rv[0] - rv[1]*rv[1] - rv[2]*rv[2]; in getQuaternionFromVector()
1487 Q[1] = rv[0]; in getQuaternionFromVector()
1488 Q[2] = rv[1]; in getQuaternionFromVector()
1489 Q[3] = rv[2]; in getQuaternionFromVector()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/base/tools/aidl/
Daidl_language_l.l197 int rv = yyparse(); in parse_aidl() local
199 rv = g_error; in parse_aidl()
208 return rv; in parse_aidl()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DH264SwDecApi.c125 u32 rv = 0; in H264SwDecInit() local
160 rv = h264bsdInit(&pDecCont->storage, noOutputReordering); in H264SwDecInit()
161 if (rv != HANTRO_OK) in H264SwDecInit()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java145 final RecyclerView rv = setupBasic(new Config(3, 100).orientation(orientation), in layoutParamsTest() local
178 waitForFirstLayout(rv); in layoutParamsTest()
420 final RecyclerView rv = setupBasic(new Config(3, 100)); in testCacheSpanIndices() local
422 waitForFirstLayout(rv); in testCacheSpanIndices()
440 final RecyclerView rv = setupBasic(config); in scrollBackAndPreservePositionsTest() local
444 waitForFirstLayout(rv); in scrollBackAndPreservePositionsTest()
DRecyclerViewLayoutTest.java396 final RecyclerView rv = new RecyclerView(getActivity()); in smoothScrollTest() local
398 rv.setLayoutManager(lm); in smoothScrollTest()
399 rv.setAdapter(testAdapter); in smoothScrollTest()
401 setRecyclerView(rv); in smoothScrollTest()
408 rv.smoothScrollToPosition(targetPosition); in smoothScrollTest()
421 ViewCompat.postOnAnimationDelayed(rv, new Runnable() { in smoothScrollTest()
438 , rv.findViewHolderForPosition(newTarget)); in smoothScrollTest()
446 rv.findViewHolderForPosition(targetPosition)); in smoothScrollTest()
/frameworks/base/test-runner/src/android/test/
DTestRunner.java693 int rv = 0; in countTests() local
695 rv += countTests(c, child); in countTests()
697 return rv; in countTests()

12