/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.cpp | 22 Vector2D::Vector2D(float x, float y) : in Vector2D() 27 Vector2D v(mX, mY); in copy() local 31 void Vector2D::add(const Vector2D& v) { in add() 36 void Vector2D::sub(const Vector2D& v) { in sub() 46 float Vector2D::distance(const Vector2D& v) { in distance()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TouchDelegateTestActivity.java | 56 public int x; // common X coordinate for all input events - center of the screen field in TouchDelegateTestActivity 90 button.setOnTouchListener((v, event) -> { in onCreate() argument 94 button.setOnHoverListener((v, event) -> { in onCreate() argument
|
D | PointerCaptureTest.java | 118 view.setOnCapturedPointerListener((v, event) -> { in installCapturedPointerListener() argument 140 private void injectRelativeMouseEvent(int action, int x, int y) { in injectRelativeMouseEvent() 144 private static MotionEvent obtainRelativeMouseEvent(int action, int x, int y) { in obtainRelativeMouseEvent() 152 View.OnCapturedPointerListener listener, View view, int action, int x, int y) { in verifyRelativeMouseEvent()
|
D | ViewTest.java | 464 int x = vertical ? 95 : 50; in onHoverEvent_awakensScrollBars() local 491 float x = xy[0] + viewWidth / 2.0f; in testMouseEventCallsGetPointerIcon() local 3079 final float x = xy[0] + viewWidth / 2.0f; in testDispatchTouchEvent() local 3158 public boolean onTouch(View v, MotionEvent event) { in testOnTouchListener() 3174 final float x = xy[0] + viewWidth / 2.0f; in testOnTouchListener() local 3585 float x = xy[0] + viewWidth / 2.0f; in testOnTouchEventScroll() local 5200 public View focusSearch(View v, int direction) { in focusSearch() 5205 public void focusableViewAvailable(View v) { in focusableViewAvailable() 5265 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() 5416 public boolean onUnhandledKeyEvent(View v, KeyEvent event) { in onUnhandledKeyEvent()
|
D | ViewGroupTest.java | 265 View v = mMockViewGroup.getChildAt(0); in testAddTouchables() local 667 mMockTextView.setOnTouchListener((View v, MotionEvent event) -> { in testDispatchTouchEvent() 3247 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() 3259 public void focusableViewAvailable(View v) { in focusableViewAvailable()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 106 public float x; // DragEvent.getX() field in DragDropTest.LogEntry 113 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry() 171 private void logEvent(View v, DragEvent ev) { in logEvent() 184 View v = mActivity.findViewById(viewId); in expectEvent5() local 190 private void expectEndEvent(int viewId, float x, float y, boolean result) { in expectEndEvent() 191 View v = mActivity.findViewById(viewId); in expectEndEvent() local 205 View v = mActivity.findViewById(viewId); in expectEndEventFailure6() local 218 View v = mActivity.findViewById(viewId); in expectEventWithOffset() local 242 View v = mActivity.findViewById(viewId); in injectMouseWithOffset() local 335 private void setRejectingHandlersOnTree(View v) { in setRejectingHandlersOnTree() [all …]
|
D | WindowTest.java | 180 TextView v = mWindow.findViewById(R.id.listview_window); in testFindViewById() local 187 TextView v = mWindow.requireViewById(R.id.listview_window); in testRequireViewById() local 194 TextView v = mWindow.requireViewById(View.NO_ID); in testRequireViewByIdNoId() local 199 TextView v = mWindow.requireViewById(R.id.view); // not present in layout in testRequireViewByIdInvalid() local 296 TextView v = (TextView) mWindow.findViewById(R.id.listview_window); in testGetCurrentFocus() local 505 View v = mWindow.findViewById(R.id.listview_window); in testTakeKeyEvents() local 725 private void injectTouchEvent(Window window, float x, float y) { in injectTouchEvent()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 192 private void injectTap(int x, int y) { in injectTap() 198 private void injectEvent(int action, int x, int y, long downTime) { in injectEvent() 214 public boolean onTouch(View v, MotionEvent e) { in onTouch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | DspBufferMath.java | 58 T x = a; in add() local 130 T x = a; in mult() local 209 static public <T extends DspBufferBase> int mult(T r, T a, double v) { in mult() 213 T x = a; in mult() local 259 T x = a; in set() local
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 45 view.setOnHoverListener((v, event) -> { in installHoverListener() argument 61 final int x = screenPos[0] + offsetX; in obtainMouseEvent() local 83 final int x = screenPos[0] + offsetX; in emulateHoverOnView() local 120 public PositionMatcher(int action, int x, int y) { in PositionMatcher()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 45 view.setOnHoverListener((v, event) -> { in installHoverListener() argument 61 final int x = screenPos[0] + offsetX; in obtainMouseEvent() local 83 final int x = screenPos[0] + offsetX; in emulateHoverOnView() local 120 public PositionMatcher(int action, int x, int y) { in PositionMatcher()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | RGBZ.java | 135 public float getDepth(int x, int y) { in getDepth() 169 int v = orig_data[i] & 0x00FFFFFF; in setAlphaChannelFromBitmap() local
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 57 static native float acos(float x); in acos() 58 static native float acosh(float x); in acosh() 59 static native float asin(float x); in asin() 60 static native float asinh(float x); in asinh() 61 static native float atan(float x); in atan() 62 static native float atan2(float x, float y); in atan2() 63 static native float atanh(float x); in atanh() 64 static native float cbrt(float x); in cbrt() 65 static native float ceil(float x); in ceil() 66 static native float cos(float x); in cos() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 467 private MotionEvent sendTouchEvent(long downTime, int action, float x, float y) { in sendTouchEvent() 488 final int x = dialogLocation[0]; in testTouchEvent() local 680 final MockView v = new MockView(mContext); in testContextMenu() local 758 final View v = d.getWindow().getDecorView(); in testTakeKeyEvents() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 152 float x = quaternion[0]; in quaternionMatrixOpenGL() local 211 public static void normalizeVector(float[] v) { in normalizeVector()
|
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 267 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() local 295 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_getImageChecksumMD5() local 347 for (size_t x = 0; x < tgt->plane[ix].cropWidth; ++x) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local 358 jclass /*clazz*/, jobject image, jobject area, jint y, jint u, jint v) in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() 371 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() local 408 for (size_t x = img->plane[0].cropWidth; x; --x) { in getRawStats() local
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 61 #define FORMAT_CASE(x) case AHARDWAREBUFFER_FORMAT_##x: return #x; break argument 62 #define GL_FORMAT_CASE(x) case x: return #x; break; argument 320 int x; member 328 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& golden, in CheckGoldenPixel() 337 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& minimum, in CheckGoldenPixel() 417 const float v = kYuvToRgb[8] * r + kYuvToRgb[9] * g + kYuvToRgb[10] * b + kYuvToRgb[11]; in GetGoldenColor() local 834 for (uint32_t x = 0; x < w2; ++x) { in WriteCheckerBoard() local 842 for (uint32_t x = w2; x < desc.width; ++x) { in WriteCheckerBoard() local 850 for (uint32_t x = 0; x < w2; ++x) { in WriteCheckerBoard() local 858 for (uint32_t x = w2; x < desc.width; ++x) { in WriteCheckerBoard() local [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTestBase.java | 1861 final double x = (comp[RED] * 0.4124) + (comp[GREEN] * 0.3576) + (comp[BLUE] * 0.1805); in convertRgbToXyz() local 1956 double x = hBorderSize; in shrinkAndScaleBilinear() local 1966 double v = y - (double)top; in shrinkAndScaleBilinear() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 3706 float x = 0f; in testGetOffsetForPositionSingleLineLtr() local 3763 float x = 0f; in testGetOffsetForPositionMultiLineLtr() local 3829 float x = mTextView.getWidth() - 1f; in testGetOffsetForPositionMultiLineRtl() local 6751 TextView v = (TextView) mActivity.findViewById(R.id.textview_singleLine); in testRespectsViewFocusability() local 7010 private void verifyGetOffsetForPosition(final int x, final int y) { in verifyGetOffsetForPosition() 8623 float x = xy[0] + viewWidth / 2.0f; in createMouseHoverEvent() local
|