/frameworks/native/include/ui/ |
D | TVecHelpers.h | 124 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 …]
|
D | mat4.h | 342 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/ |
D | RemoteViewsListAdapter.java | 53 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()
|
D | RemoteViewsService.java | 162 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()
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_math_agree.java | 154 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 …]
|
D | UT_bug_char.java | 45 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/ |
D | UT_math_agree.java | 154 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 …]
|
D | UT_bug_char.java | 45 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/src/com/android/rs/test/ |
D | UT_math_agree.java | 154 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 …]
|
D | UT_bug_char.java | 45 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/ |
D | hwcStress.cpp | 242 int rv, opt; in main() local 376 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main() 377 if (rv >= (signed) sizeof(cmd) - 1) { in main() 516 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main() 517 if (rv >= (signed) sizeof(cmd) - 1) { in main() 553 int rv; in initFrames() local 597 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) { in initFrames() 598 testPrintE("GraphicBuffer initCheck failed, rv: %i", rv); in initFrames() 622 vector<T> rv = vec; in vectorRandSelect() local 624 while (rv.size() > num) { in vectorRandSelect() [all …]
|
D | hwcColorEquiv.cpp | 167 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() 313 if ((rv = refFrame->initCheck()) != NO_ERROR) { in main() 314 testPrintE("refFrame initCheck failed, rv: %i", rv); in main() 327 if ((rv = refFrame->initCheck()) != NO_ERROR) { in main() 328 testPrintE("refFrame initCheck failed, rv: %i", rv); in main() 400 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main() 401 if (rv >= (signed) sizeof(cmd) - 1) { in main()
|
D | hwcRects.cpp | 205 int rv, opt; in main() local 237 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main() 238 if (rv >= (signed) sizeof(cmd) - 1) { in main() 349 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main() 350 if (rv >= (signed) sizeof(cmd) - 1) { in main() 363 int rv; in parseRect() local 510 if ((rv = rect.texture->initCheck()) != NO_ERROR) { in parseRect() 511 testPrintE("source texture initCheck failed, rv: %i", rv); in parseRect()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewLayoutTest.java | 112 final RecyclerView rv = new RecyclerView(getActivity()); in detachAttachGetReady() local 115 ll3.addView(rv); in detachAttachGetReady() 131 rv.setLayoutManager(layoutManager); in detachAttachGetReady() 132 rv.setAdapter(new TestAdapter(10)); in detachAttachGetReady() 149 rv.setLayoutManager(null); in detachAttachGetReady() 150 rv.setLayoutManager(layoutManager); in detachAttachGetReady() 153 rv.setAdapter(null); in detachAttachGetReady() 154 rv.setAdapter(new TestAdapter(10)); in detachAttachGetReady() 163 assertTrue(rv.hasPendingAdapterUpdates()); in detachAttachGetReady() 164 assertFalse(rv.mFirstLayoutComplete); in detachAttachGetReady() [all …]
|
D | BaseWrapContentTest.java | 81 WrappedRecyclerView rv = createRecyclerView(getActivity()); in unspecifiedWithHintTest() local 90 rv.setLayoutManager(layoutManager); in unspecifiedWithHintTest() 91 rv.setAdapter(testAdapter); in unspecifiedWithHintTest() 101 rv.setLayoutParams(lp); in unspecifiedWithHintTest() 102 setRecyclerView(rv); in unspecifiedWithHintTest() 103 rv.waitUntilLayout(); in unspecifiedWithHintTest() 109 int expectedWidth = rv.getPaddingLeft() + rv.getPaddingRight() + itemWidth; in unspecifiedWithHintTest() 113 assertThat(rv.getWidth(), CoreMatchers.is(expectedWidth)); in unspecifiedWithHintTest() 115 int expectedHeight = rv.getPaddingTop() + rv.getPaddingBottom() + itemHeight; in unspecifiedWithHintTest() 119 assertThat(rv.getHeight(), CoreMatchers.is(expectedHeight)); in unspecifiedWithHintTest()
|
D | GridLayoutManagerTest.java | 246 final RecyclerView rv = setupBasic(new Config(3, 100)); in movingAGroupOffScreenForAddedItems() local 256 } else if (enableSpanLookupLogging.get() && !rv.mState.isPreLayout()) { in movingAGroupOffScreenForAddedItems() 262 ((SimpleItemAnimator) rv.getItemAnimator()).setSupportsChangeAnimations(true); in movingAGroupOffScreenForAddedItems() 263 waitForFirstLayout(rv); in movingAGroupOffScreenForAddedItems() 264 View lastView = rv.getChildAt(rv.getChildCount() - 1); in movingAGroupOffScreenForAddedItems() 265 final int lastPos = rv.getChildAdapterPosition(lastView); in movingAGroupOffScreenForAddedItems() 342 final RecyclerView rv = setupBasic(new Config(3, 100).orientation(orientation), in layoutParamsTest() local 375 waitForFirstLayout(rv); in layoutParamsTest() 767 final RecyclerView rv = setupBasic(new Config(3, 100)); in spanSizeChange() local 768 waitForFirstLayout(rv); in spanSizeChange() [all …]
|
D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 96 final RecyclerView rv = setupBasic(mConfig, testAdapter); in customSizeInScrollDirectionTest() local 98 rv.addItemDecoration(new RecyclerView.ItemDecoration() { in customSizeInScrollDirectionTest() 110 waitForFirstLayout(rv); in customSizeInScrollDirectionTest()
|
D | GridLayoutManagerRtlTest.java | 89 RecyclerView rv = setupBasic(mConfig, new GridTestAdapter(mConfig.mItemCount) { in rtlTest() local 108 waitForFirstLayout(rv); in rtlTest() 114 waitForFirstLayout(rv); in rtlTest()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 279 double[] rv = new double[]{(dx == 0) ? 1 : 0, (dx == 0) ? 0 : 1, 0}; in look() local 282 VectorUtil.norm(rv); in look() 284 VectorUtil.cross(zv, rv, up); in look() 285 VectorUtil.cross(zv, up, rv); in look() 286 VectorUtil.cross(zv, rv, up); in look() 299 double[] rv = new double[]{1, 1, 0}; in lookAt() local 302 VectorUtil.norm(rv); in lookAt() 304 VectorUtil.cross(zv, rv, up); in lookAt() 305 VectorUtil.cross(zv, up, rv); in lookAt() 306 VectorUtil.cross(zv, rv, up); in lookAt()
|
/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 1622 public static void getQuaternionFromVector(float[] Q, float[] rv) { in getQuaternionFromVector() argument 1623 if (rv.length >= 4) { in getQuaternionFromVector() 1624 Q[0] = rv[3]; in getQuaternionFromVector() 1626 Q[0] = 1 - rv[0]*rv[0] - rv[1]*rv[1] - rv[2]*rv[2]; in getQuaternionFromVector() 1629 Q[1] = rv[0]; in getQuaternionFromVector() 1630 Q[2] = rv[1]; in getQuaternionFromVector() 1631 Q[3] = rv[2]; in getQuaternionFromVector()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerViewAccessibilityDelegate.java | 68 RecyclerView rv = (RecyclerView) host; in onInitializeAccessibilityEvent() local 69 if (rv.getLayoutManager() != null) { in onInitializeAccessibilityEvent() 70 rv.getLayoutManager().onInitializeAccessibilityEvent(event); in onInitializeAccessibilityEvent()
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rs | 58 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/ |
D | shadows.rs | 58 short rv,rs,rh; 70 rv = (short)( iMax << ABITS); 73 if (rv == 0) 92 out.x = rv;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rs | 58 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/ |
D | shadows.rs | 58 short rv,rs,rh; 70 rv = (short)( iMax << ABITS); 73 if (rv == 0) 92 out.x = rv;
|