/frameworks/native/libs/math/include/math/ |
D | TVecHelpers.h | 110 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<RT>& rv) { 112 return lv += rv; 115 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<RT>& rv) { 117 return lv -= rv; 126 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<T>& rv) { 128 return lv += rv; 130 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<T>& rv) { 132 return lv -= rv; 191 friend inline constexpr VECTOR<T> PURE operator *(VECTOR<T> lv, const VECTOR<RT>& rv) { 193 return lv *= rv; [all …]
|
/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.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD); 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.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD); 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/tests/java_api/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/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_math_agree.java | 189 float[] rv = new float[v1.length]; in min() local 191 rv[i] = min(v1[i], v2[i]); in min() 192 return rv; in min() 201 byte[] rv = new byte[v1.length]; in min() 203 rv[i] = min(v1[i], v2[i]); in min() 204 return rv; in min() 213 short[] rv = new short[v1.length]; in min() local 215 rv[i] = min(v1[i], v2[i]); in min() 216 return rv; in min() 225 int[] rv = new int[v1.length]; in min() local [all …]
|
D | UT_bug_char.java | 47 byte[] rv = new byte[v1.length]; in min() 49 rv[i] = min(v1[i], v2[i]); in min() 50 return rv; in min()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_math_agree.java | 187 float[] rv = new float[v1.length]; in min() local 189 rv[i] = min(v1[i], v2[i]); in min() 190 return rv; in min() 199 byte[] rv = new byte[v1.length]; in min() 201 rv[i] = min(v1[i], v2[i]); in min() 202 return rv; in min() 211 short[] rv = new short[v1.length]; in min() local 213 rv[i] = min(v1[i], v2[i]); in min() 214 return rv; in min() 223 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()
|
D | hwcTestLib.cpp | 141 int rv; in hwcTestOpenHwc() local 144 if ((rv = hw_get_module(HWC_HARDWARE_MODULE_ID, &hwcModule)) != 0) { in hwcTestOpenHwc() 145 testPrintE("hw_get_module failed, rv: %i", rv); in hwcTestOpenHwc() 146 errno = -rv; in hwcTestOpenHwc() 150 if ((rv = hwc_open_1(hwcModule, hwcDevicePtr)) != 0) { in hwcTestOpenHwc() 151 testPrintE("hwc_open failed, rv: %i", rv); in hwcTestOpenHwc() 152 errno = -rv; in hwcTestOpenHwc()
|
D | hwcCommit.cpp | 341 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/rs/tests/java_api/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/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 140 RecyclerView rv = new RecyclerView(parent.getContext()) { in onCreateViewHolder() local 150 rv.setLayoutParams(new RecyclerView.LayoutParams( in onCreateViewHolder() 152 rv.setLayoutManager(new LinearLayoutManager(parent.getContext(), in onCreateViewHolder() 154 rv.setRecycledViewPool(mSharedPool); in onCreateViewHolder() 155 RecyclerView.ViewHolder holder = new RecyclerView.ViewHolder(rv) {}; in onCreateViewHolder()
|
/frameworks/base/core/java/com/android/internal/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/base/core/java/android/hardware/ |
D | SensorManager.java | 1713 public static void getQuaternionFromVector(float[] Q, float[] rv) { in getQuaternionFromVector() argument 1714 if (rv.length >= 4) { in getQuaternionFromVector() 1715 Q[0] = rv[3]; in getQuaternionFromVector() 1717 Q[0] = 1 - rv[0] * rv[0] - rv[1] * rv[1] - rv[2] * rv[2]; in getQuaternionFromVector() 1720 Q[1] = rv[0]; in getQuaternionFromVector() 1721 Q[2] = rv[1]; in getQuaternionFromVector() 1722 Q[3] = rv[2]; in getQuaternionFromVector()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 58 short rv,rs,rh; 70 rv = (short)( iMax << ABITS); 73 if (rv == 0) 92 out.x = rv;
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rscript | 58 short rv,rs,rh; 70 rv = (short)( iMax << ABITS); 73 if (rv == 0) 92 out.x = rv;
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rscript | 58 short rv,rs,rh; 70 rv = (short)( iMax << ABITS); 73 if (rv == 0) 92 out.x = rv;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rscript | 58 short rv,rs,rh; 70 rv = (short)( iMax << ABITS); 73 if (rv == 0) 92 out.x = rv;
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsViewTouchHandler.java | 74 public RecentsViewTouchHandler(RecentsView rv) { in RecentsViewTouchHandler() argument 75 mRv = rv; in RecentsViewTouchHandler() 76 mDragSlop = ViewConfiguration.get(rv.getContext()).getScaledTouchSlop(); in RecentsViewTouchHandler()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 353 ResourceValue rv = getArrayResourceValue(resources, id); in getIntArray() local 354 if (rv == null) { in getIntArray() 358 if (rv instanceof ArrayResourceValue) { in getIntArray() 359 ArrayResourceValue resValue = (ArrayResourceValue) rv; in getIntArray() 392 String firstValue = resolveReference(resources, rv); in getIntArray() 405 rv.getValue() + "\"", null); in getIntArray()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 445 String formatRemoteViews(RemoteViews rv) { in formatRemoteViews() argument 446 if (rv == null) return "null"; in formatRemoteViews() 448 rv.getPackage(), rv.getLayoutId(), rv.estimateMemoryUsage(), rv.toString()); in formatRemoteViews()
|