Home
last modified time | relevance | path

Searched +defs:x +defs:v (Results 1 – 19 of 19) sorted by relevance

/cts/tests/openglperf2/jni/graphics/
DVector2D.cpp22 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/
DTouchDelegateTestActivity.java56 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
DPointerCaptureTest.java118 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()
DViewTest.java464 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()
DViewGroupTest.java265 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/
DDragDropTest.java106 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 …]
DWindowTest.java180 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/
DMotionEventTest.java192 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/
DDspBufferMath.java58 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/
DCtsMouseUtil.java45 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/
DCtsMouseUtil.java45 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/
DRGBZ.java135 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/
DCoreMathVerifier.java57 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/
DDialogTest.java467 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/
DMathsUtils.java152 float x = quaternion[0]; in quaternionMatrixOpenGL() local
211 public static void normalizeVector(float[] v) { in normalizeVector()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp267 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/
DAHardwareBufferGLTest.cpp61 #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/
DDecodeAccuracyTestBase.java1861 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/
DTextViewTest.java3706 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