/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TouchAnimatorTest.java | 52 assertEquals(0f, mTestView.getX()); in testSetValueFloat() 55 assertEquals(25f, mTestView.getX()); in testSetValueFloat() 58 assertEquals(50f, mTestView.getX()); in testSetValueFloat() 68 assertEquals(0f, mTestView.getX()); in testSetValueFloat_threeValues() 71 assertEquals(10f, mTestView.getX()); in testSetValueFloat_threeValues() 74 assertEquals(20f, mTestView.getX()); in testSetValueFloat_threeValues() 77 assertEquals(35f, mTestView.getX()); in testSetValueFloat_threeValues() 80 assertEquals(50f, mTestView.getX()); in testSetValueFloat_threeValues() 107 assertEquals(0f, mTestView.getX()); in testStartDelay() 110 assertEquals(0f, mTestView.getX()); in testStartDelay() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicBLAS.java | 282 int N = A.getType().getX(); in validateGEMV() 303 if (X.getType().getX() != expectedXDim || in validateGEMV() 304 Y.getType().getX() != expectedYDim) { in validateGEMV() 327 int N = A.getType().getX(); in SGEMV() 349 int N = A.getType().getX(); in DGEMV() 371 int N = A.getType().getX(); in CGEMV() 393 int N = A.getType().getX(); in ZGEMV() 428 int N = A.getType().getX(); in SGBMV() 463 int N = A.getType().getX(); in DGBMV() 498 int N = A.getType().getX(); in CGBMV() [all …]
|
D | AllocationAdapter.java | 48 int tx = mAdaptedAllocation.mType.getX(); in initLOD() 150 if (mAdaptedAllocation.getType().getX() <= x) { in setX() 153 if (mWindow.getX() == mAdaptedAllocation.getType().getX()) { in setX() 156 if ((mWindow.getX() + x) >= mAdaptedAllocation.getType().getX()) { in setX() 237 Type t = Type.createX(rs, a.getElement(), a.getType().getX()); in create1D() 244 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D() 286 if ((t.getX() > at.getX()) || in createTyped()
|
/frameworks/rs/cpp/ |
D | ScriptIntrinsicBLAS.cpp | 186 int N = A->getType()->getX(); in validateGEMV() 207 if ((int)X->getType()->getX() != expectedXDim || in validateGEMV() 208 (int)Y->getType()->getX() != expectedYDim) { in validateGEMV() 217 int N = A->getType()->getX(); in SGEMV() 228 int N = A->getType()->getX(); in DGEMV() 239 int N = A->getType()->getX(); in CGEMV() 250 int N = A->getType()->getX(); in ZGEMV() 265 int N = A->getType()->getX(); in SGBMV() 281 int N = A->getType()->getX(); in DGBMV() 297 int N = A->getType()->getX(); in CGBMV() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptIntrinsicBLAS.java | 289 int N = A.getType().getX(); 310 if (X.getType().getX() != expectedXDim || 311 Y.getType().getX() != expectedYDim) { 334 int N = A.getType().getX(); in SGEMV() 366 int N = A.getType().getX(); in DGEMV() 398 int N = A.getType().getX(); in CGEMV() 430 int N = A.getType().getX(); in ZGEMV() 475 int N = A.getType().getX(); in SGBMV() 520 int N = A.getType().getX(); in DGBMV() 565 int N = A.getType().getX(); in CGBMV() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingDataProviderTest.java | 92 assertThat(motionEventList.get(0).getX()).isEqualTo(2f); in test_trackMotionEvents_dropUpEvent() 93 assertThat(motionEventList.get(1).getX()).isEqualTo(4f); in test_trackMotionEvents_dropUpEvent() 94 assertThat(motionEventList.get(2).getX()).isEqualTo(6f); in test_trackMotionEvents_dropUpEvent() 114 assertThat(motionEventList.get(0).getX()).isEqualTo(2f); in test_trackMotionEvents_keepUpEvent() 115 assertThat(motionEventList.get(1).getX()).isEqualTo(4f); in test_trackMotionEvents_keepUpEvent() 116 assertThat(motionEventList.get(2).getX()).isEqualTo(0f); in test_trackMotionEvents_keepUpEvent() 133 assertThat(motionEventList.get(0).getX()).isEqualTo(2f); in test_trackRecentMotionEvents() 134 assertThat(motionEventList.get(1).getX()).isEqualTo(4f); in test_trackRecentMotionEvents() 146 assertThat(motionEventList.get(0).getX()).isEqualTo(4f); in test_trackRecentMotionEvents() 147 assertThat(motionEventList.get(1).getX()).isEqualTo(6f); in test_trackRecentMotionEvents() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DoubleTapClassifier.java | 91 if (Math.abs(firstFinalEvent.getX() - secondFinalEvent.getX()) >= mDoubleTapSlop) { in isDoubleTap() 93 .append(Math.abs(firstFinalEvent.getX() - secondFinalEvent.getX())) in isDoubleTap()
|
D | TapClassifier.java | 46 float downX = motionEvents.get(0).getX(); in isTap() 51 if (Math.abs(event.getX() - downX) >= mTouchSlop) { in isTap() 53 + Math.abs(event.getX() - downX) in isTap()
|
D | ZigZagClassifier.java | 185 float offsetX = firstEvent.getX(); in getAtan2LastPoint() 187 float lastX = lastEvent.getX() - offsetX; in getAtan2LastPoint() 212 float offsetX = firstEvent.getX(); in rotateMotionEvents() 215 float x = motionEvent.getX() - offsetX; in rotateMotionEvents() 226 "Before: (" + firstEvent.getX() + "," + firstEvent.getY() + "), (" in rotateMotionEvents() 227 + lastEvent.getX() + "," in rotateMotionEvents()
|
D | FalsingDataProvider.java | 98 "x,y,t: " + m.getX() + "," + m.getY() + "," + m.getEventTime()); in onMotionEvent() 225 return Math.abs(mFirstRecentMotionEvent.getX() - mLastMotionEvent.getX()) > Math in isHorizontal() 241 return mLastMotionEvent.getX() > mFirstRecentMotionEvent.getX(); in isRight() 298 float lastX = mLastMotionEvent.getX() - mFirstRecentMotionEvent.getX();
|
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 217 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 230 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 232 EXPECT_EQ(10.0f, layout.getX(1)); in TEST() 246 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 261 EXPECT_EQ(10.0f * i, layout.getX(i)) << i; in TEST() 303 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 316 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 318 EXPECT_EQ(10.0f, layout.getX(1)); in TEST() 332 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 351 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | Fisheye.java | 80 mInPixelsAllocation.getType().getX(), in do_init() 85 mInPixelsAllocation.getType().getX(), in do_init() 90 mInPixelsAllocation.getType().getX(), in do_init() 95 mInPixelsAllocation.getType().getX(), in do_init()
|
D | Vignette.java | 102 mInPixelsAllocation.getType().getX(), in do_init() 107 mInPixelsAllocation.getType().getX(), in do_init() 112 mInPixelsAllocation.getType().getX(), in do_init() 117 mInPixelsAllocation.getType().getX(), in do_init()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | Fisheye.java | 78 mInPixelsAllocation.getType().getX(), in do_init() 83 mInPixelsAllocation.getType().getX(), in do_init() 88 mInPixelsAllocation.getType().getX(), in do_init() 93 mInPixelsAllocation.getType().getX(), in do_init()
|
D | Vignette.java | 100 mInPixelsAllocation.getType().getX(), in do_init() 105 mInPixelsAllocation.getType().getX(), in do_init() 110 mInPixelsAllocation.getType().getX(), in do_init() 115 mInPixelsAllocation.getType().getX(), in do_init()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubblesNavBarMotionEventHandler.java | 65 float dx = motionEvent.getX() - mTouchDown.x; in onMotionEvent() 71 mTouchDown.set(motionEvent.getX(), motionEvent.getY()); in onMotionEvent() 72 mMotionEventListener.onDown(motionEvent.getX(), motionEvent.getY()); in onMotionEvent() 114 if (mPositioner.getNavBarGestureZone().contains((int) ev.getX(), (int) ev.getY())) { in isInGestureRegion()
|
/frameworks/compile/slang/tests/P_struct_field/ |
D | ScriptField_Outer.java.expect | 179 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 185 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 202 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 203 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 221 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 222 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 236 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 237 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 255 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 256 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; [all …]
|
D | ScriptField_InnerOne.java.expect | 122 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 128 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 145 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 146 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 160 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 161 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 175 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 176 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 220 …if (mIOBuffer != null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | Vignette.java | 102 mInPixelsAllocation.getType().getX(), in do_init() 107 mInPixelsAllocation.getType().getX(), in do_init() 112 mInPixelsAllocation.getType().getX(), in do_init() 117 mInPixelsAllocation.getType().getX(), in do_init()
|
D | Fisheye.java | 83 mInPixelsAllocation.getType().getX(), in do_init() 88 mInPixelsAllocation.getType().getX(), in do_init() 93 mInPixelsAllocation.getType().getX(), in do_init() 98 mInPixelsAllocation.getType().getX(), in do_init()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 50 (int) event.getX(), in MotionEventMatcher() 64 && ((int) event.getX() == mX) in matchesSafely() 79 Log.e(LOG_TAG, "event.getX() = " + event.getX() + ", expected " + mX); in matchesSafely()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 70 if (viewRect.contains((int) ev.getX(), (int) ev.getY())) { in onTouchEvent() 103 double deltaX = previousTapEvent.getX() - currentTapEvent.getX(); in isConsecutiveTap()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | ViewfinderProcessor.java | 191 opt.setX(2, mBlurAllocation.getType().getX() - 2); in run() 195 opt.setX(3, mBlurAllocation.getType().getX() - 3); in run() 199 opt.setX(4, mBlurAllocation.getType().getX() - 4); in run() 203 opt.setX(5, mBlurAllocation.getType().getX() - 5); in run() 281 opt.setX(2, blur_alloc.getType().getX() - 2); in processImage() 285 opt.setX(3, blur_alloc.getType().getX() - 3); in processImage() 289 opt.setX(4, blur_alloc.getType().getX() - 4); in processImage() 293 opt.setX(5, blur_alloc.getType().getX() - 5); in processImage()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 189 assertEquals(50, (int) rot90.getX()); in testEventRotation() 195 assertEquals(570, (int) rot180.getX()); in testEventRotation() 201 assertEquals(950, (int) rot270.getX()); in testEventRotation() 208 assertEquals(950, (int) compoundRot.getX()); in testEventRotation() 233 assertEquals(50, (int) event.getX()); in testLocationOffsetOnlyAppliedToNonPointerSources() 238 assertEquals(10, (int) event.getX()); in testLocationOffsetOnlyAppliedToNonPointerSources()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 100 buffer.setSpan(new DragState(event.getX(), event.getY(), in onTouchEvent() 125 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent() 144 dx = event.getX() - ds[0].mX; in onTouchEvent() 147 dx = ds[0].mX - event.getX(); in onTouchEvent() 150 ds[0].mX = event.getX(); in onTouchEvent()
|