/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 | 278 int N = A.getType().getX(); in validateGEMV() 299 if (X.getType().getX() != expectedXDim || in validateGEMV() 300 Y.getType().getX() != expectedYDim) { in validateGEMV() 323 int N = A.getType().getX(); in SGEMV() 345 int N = A.getType().getX(); in DGEMV() 367 int N = A.getType().getX(); in CGEMV() 389 int N = A.getType().getX(); in ZGEMV() 424 int N = A.getType().getX(); in SGBMV() 459 int N = A.getType().getX(); in DGBMV() 494 int N = A.getType().getX(); in CGBMV() [all …]
|
D | AllocationAdapter.java | 44 int tx = mAdaptedAllocation.mType.getX(); in initLOD() 146 if (mAdaptedAllocation.getType().getX() <= x) { in setX() 149 if (mWindow.getX() == mAdaptedAllocation.getType().getX()) { in setX() 152 if ((mWindow.getX() + x) >= mAdaptedAllocation.getType().getX()) { in setX() 233 Type t = Type.createX(rs, a.getElement(), a.getType().getX()); in create1D() 240 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D() 282 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 | 285 int N = A.getType().getX(); 306 if (X.getType().getX() != expectedXDim || 307 Y.getType().getX() != expectedYDim) { 330 int N = A.getType().getX(); in SGEMV() 362 int N = A.getType().getX(); in DGEMV() 394 int N = A.getType().getX(); in CGEMV() 426 int N = A.getType().getX(); in ZGEMV() 471 int N = A.getType().getX(); in SGBMV() 516 int N = A.getType().getX(); in DGBMV() 561 int N = A.getType().getX(); in CGBMV() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 169 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 180 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 182 EXPECT_EQ(10.0f, layout.getX(1)); in TEST() 194 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 207 EXPECT_EQ(10.0f * i, layout.getX(i)) << i; in TEST() 243 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 254 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 256 EXPECT_EQ(10.0f, layout.getX(1)); in TEST() 268 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() 285 EXPECT_EQ(0.0f, layout.getX(0)); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProviderTest.java | 75 assertThat(motionEventList.get(0).getX(), is(2f)); in test_trackMotionEvents() 76 assertThat(motionEventList.get(1).getX(), is(4f)); in test_trackMotionEvents() 77 assertThat(motionEventList.get(2).getX(), is(6f)); in test_trackMotionEvents() 94 assertThat(motionEventList.get(0).getX(), is(2f)); in test_trackRecentMotionEvents() 95 assertThat(motionEventList.get(1).getX(), is(4f)); in test_trackRecentMotionEvents() 107 assertThat(motionEventList.get(0).getX(), is(4f)); in test_trackRecentMotionEvents() 108 assertThat(motionEventList.get(1).getX(), is(6f)); in test_trackRecentMotionEvents() 116 assertThat(firstRealMotionEvent.getX(), is(2f)); in test_trackRecentMotionEvents() 141 assertThat(motionEventList.get(0).getX(), is(2f)); in test_unpackMotionEvents() 142 assertThat(motionEventList.get(1).getX(), is(4f)); in test_unpackMotionEvents() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 73 "x,y,t: " + m.getX() + "," + m.getY() + "," + m.getEventTime()); in onMotionEvent() 150 return Math.abs(mFirstRecentMotionEvent.getX() - mLastMotionEvent.getX()) > Math in isHorizontal() 160 return mLastMotionEvent.getX() > mFirstRecentMotionEvent.getX(); in isRight() 198 float lastX = mLastMotionEvent.getX() - mFirstRecentMotionEvent.getX(); in calculateAngleInternal()
|
D | ZigZagClassifier.java | 148 float offsetX = firstEvent.getX(); in getAtan2LastPoint() 150 float lastX = lastEvent.getX() - offsetX; in getAtan2LastPoint() 175 float offsetX = firstEvent.getX(); in rotateMotionEvents() 178 float x = motionEvent.getX() - offsetX; in rotateMotionEvents() 189 "Before: (" + firstEvent.getX() + "," + firstEvent.getY() + "), (" in rotateMotionEvents() 190 + lastEvent.getX() + "," in rotateMotionEvents()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DoubleTapHelper.java | 72 mDownX = event.getX(); in onTouchEvent() 93 mActivationX = event.getX(); in onTouchEvent() 99 event.getX() - mActivationX, in onTouchEvent() 141 return Math.abs(event.getX() - mDownX) < mTouchSlop in isWithinTouchSlop() 151 return Math.abs(event.getX() - mActivationX) < mDoubleTapSlop in isWithinDoubleTapSlop()
|
/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/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/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
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()
|
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/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/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()
|
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
D | ScriptField_Divergent.java.expect | 129 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 135 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 152 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 153 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 167 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 168 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 182 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 183 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
D | ScriptField_Divergent.java.expect | 132 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 138 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 155 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 156 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 170 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 171 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 185 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 186 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 230 …if (mIOBuffer != null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/ |
D | SwipeDetector.java | 91 return Math.abs(ev.getX(pointerIndex) - downPos.x); 99 return ev.getX(pointerIndex) - refPoint.x; 215 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent() 232 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent() 234 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent() 254 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onTouchEvent()
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 173 (t0.getX() != t1.getX()) || 237 (t0.getX() != t1.getX()) || 305 (t0.getX() != t1.getX()) || 373 (t0.getX() != t1.getX()) || 441 (t0.getX() != t1.getX()) || 509 (t0.getX() != t1.getX()) || 573 (t0.getX() != t1.getX()) || 637 (t0.getX() != t1.getX()) || 705 (t0.getX() != t1.getX()) || 773 (t0.getX() != t1.getX()) || [all …]
|