/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicBLAS.java | 281 int M = A.getType().getY(); in validateGEMV() 288 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateGEMV() 326 int M = A.getType().getY(); in SGEMV() 348 int M = A.getType().getY(); in DGEMV() 370 int M = A.getType().getY(); in CGEMV() 392 int M = A.getType().getY(); in ZGEMV() 427 int M = A.getType().getY(); in SGBMV() 462 int M = A.getType().getY(); in DGBMV() 497 int M = A.getType().getY(); in CGBMV() 532 int M = A.getType().getY(); in ZGBMV() [all …]
|
D | AllocationAdapter.java | 49 int ty = mAdaptedAllocation.mType.getY(); in initLOD() 172 if (mAdaptedAllocation.getType().getY() == 0) { in setY() 175 if (mAdaptedAllocation.getType().getY() <= y) { in setY() 178 if (mWindow.getY() == mAdaptedAllocation.getType().getY()) { in setY() 181 if ((mWindow.getY() + y) >= mAdaptedAllocation.getType().getY()) { in setY() 244 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D() 287 (t.getY() > at.getY()) || in createTyped()
|
D | ScriptIntrinsicBlur.java | 65 if (ain.getType().getY() == 0) { in setInput() 98 if (aout.getType().getY() == 0) { in forEach() 113 if (aout.getType().getY() == 0) { in forEach()
|
/frameworks/rs/cpp/ |
D | ScriptIntrinsicBLAS.cpp | 185 int M = A->getType()->getY(); in validateGEMV() 192 if (X->getType()->getY() > 1 || Y->getType()->getY() > 1) { in validateGEMV() 216 int M = A->getType()->getY(); in SGEMV() 227 int M = A->getType()->getY(); in DGEMV() 238 int M = A->getType()->getY(); in CGEMV() 249 int M = A->getType()->getY(); in ZGEMV() 264 int M = A->getType()->getY(); in SGBMV() 280 int M = A->getType()->getY(); in DGBMV() 296 int M = A->getType()->getY(); in CGBMV() 312 int M = A->getType()->getY(); in ZGBMV() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptIntrinsicBLAS.java | 288 int M = A.getType().getY(); 295 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { 333 int M = A.getType().getY(); in SGEMV() 365 int M = A.getType().getY(); in DGEMV() 397 int M = A.getType().getY(); in CGEMV() 429 int M = A.getType().getY(); in ZGEMV() 474 int M = A.getType().getY(); in SGBMV() 519 int M = A.getType().getY(); in DGBMV() 564 int M = A.getType().getY(); in CGBMV() 609 int M = A.getType().getY(); in ZGBMV() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubblesNavBarMotionEventHandler.java | 67 float dy = motionEvent.getY() - mTouchDown.y; in onMotionEvent() 72 mTouchDown.set(motionEvent.getX(), motionEvent.getY()); in onMotionEvent() 73 mMotionEventListener.onDown(motionEvent.getX(), motionEvent.getY()); in onMotionEvent() 115 if (mPositioner.getNavBarGestureZone().contains((int) ev.getX(), (int) ev.getY())) { in isInGestureRegion() 117 (int) ev.getX(), (int) ev.getY(), mPositioner.getNavBarGestureZone()); in isInGestureRegion()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/ |
D | CubicEasing.java | 86 private float getY(float t) { in getY() method in CubicEasing 122 float y1 = getY(t - range); in getDiff() 123 float y2 = getY(t + range); in getDiff() 150 float y1 = getY(t - range); in get() 151 float y2 = getY(t + range); in get()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingDataProviderTest.java | 96 assertThat(motionEventList.get(0).getY()).isEqualTo(9f); in test_trackMotionEvents_dropUpEvent() 97 assertThat(motionEventList.get(1).getY()).isEqualTo(7f); in test_trackMotionEvents_dropUpEvent() 98 assertThat(motionEventList.get(2).getY()).isEqualTo(5f); in test_trackMotionEvents_dropUpEvent() 118 assertThat(motionEventList.get(0).getY()).isEqualTo(9f); in test_trackMotionEvents_keepUpEvent() 119 assertThat(motionEventList.get(1).getY()).isEqualTo(7f); in test_trackMotionEvents_keepUpEvent() 120 assertThat(motionEventList.get(2).getY()).isEqualTo(0f); in test_trackMotionEvents_keepUpEvent() 136 assertThat(motionEventList.get(0).getY()).isEqualTo(9f); in test_trackRecentMotionEvents() 137 assertThat(motionEventList.get(1).getY()).isEqualTo(7f); in test_trackRecentMotionEvents() 149 assertThat(motionEventList.get(0).getY()).isEqualTo(7f); in test_trackRecentMotionEvents() 150 assertThat(motionEventList.get(1).getY()).isEqualTo(5f); in test_trackRecentMotionEvents() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DoubleTapClassifier.java | 99 if (Math.abs(firstFinalEvent.getY() - secondFinalEvent.getY()) >= mDoubleTapSlop) { in isDoubleTap() 101 .append(Math.abs(firstFinalEvent.getY() - secondFinalEvent.getY())) in isDoubleTap()
|
D | TapClassifier.java | 47 float downY = motionEvents.get(0).getY(); in isTap() 57 } else if (Math.abs(event.getY() - downY) >= mTouchSlop) { in isTap() 59 + Math.abs(event.getY() - downY) in isTap()
|
D | ZigZagClassifier.java | 184 float offsetY = firstEvent.getY(); in getAtan2LastPoint() 186 float lastY = lastEvent.getY() - offsetY; in getAtan2LastPoint() 211 float offsetY = firstEvent.getY(); in rotateMotionEvents() 214 float y = motionEvent.getY() - offsetY; in rotateMotionEvents() 224 "Before: (" + firstEvent.getX() + "," + firstEvent.getY() + "), (" in rotateMotionEvents() 226 + lastEvent.getY() + ")"); in rotateMotionEvents()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | canny.rscript | 91 static ushort getY(rs_allocation a, int x, int y) { 152 sum += 2 * getY(gCurrentRGBFrame, x1++, y1); 153 sum += 4 * getY(gCurrentRGBFrame, x1++, y1); 154 sum += 5 * getY(gCurrentRGBFrame, x1++, y1); 155 sum += 4 * getY(gCurrentRGBFrame, x1++, y1); 156 sum += 2 * getY(gCurrentRGBFrame, x1++, y1); 159 sum += 4 * getY(gCurrentRGBFrame, x1++, y1); 160 sum += 9 * getY(gCurrentRGBFrame, x1++, y1); 161 sum += 12 * getY(gCurrentRGBFrame, x1++, y1); 162 sum += 9 * getY(gCurrentRGBFrame, x1++, y1); [all …]
|
D | ViewfinderProcessor.java | 192 opt.setY(2, mBlurAllocation.getType().getY() - 2); in run() 196 opt.setY(3, mBlurAllocation.getType().getY() - 3); in run() 200 opt.setY(4, mBlurAllocation.getType().getY() - 4); in run() 204 opt.setY(5, mBlurAllocation.getType().getY() - 5); in run() 282 opt.setY(2, blur_alloc.getType().getY() - 2); in processImage() 286 opt.setY(3, blur_alloc.getType().getY() - 3); in processImage() 290 opt.setY(4, blur_alloc.getType().getY() - 4); in processImage() 294 opt.setY(5, blur_alloc.getType().getY() - 5); in processImage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | BouncerSwipeTouchHandler.java | 144 if (e1.getY() < e2.getY()) { 154 if (e1.getY() > e2.getY() 165 final float dragDownAmount = e2.getY() - e1.getY(); 166 final float screenTravelPercentage = Math.abs(e1.getY() - e2.getY())
|
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 243 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() 256 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() 258 EXPECT_EQ(0.0f, layout.getY(1)); in TEST() 272 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() 287 EXPECT_EQ(0.0f, layout.getY(i)) << i; in TEST() 331 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() 344 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() 346 EXPECT_EQ(0.0f, layout.getY(1)); in TEST() 360 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() 379 EXPECT_EQ(0.0f, layout.getY(0)); in TEST() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | Fisheye.java | 81 mInPixelsAllocation.getType().getY(), center_x, in do_init() 86 mInPixelsAllocation.getType().getY(), center_x, in do_init() 91 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 96 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Vignette.java | 103 mInPixelsAllocation.getType().getY(), center_x, in do_init() 108 mInPixelsAllocation.getType().getY(), center_x, in do_init() 113 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 118 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | Fisheye.java | 79 mInPixelsAllocation.getType().getY(), center_x, in do_init() 84 mInPixelsAllocation.getType().getY(), center_x, in do_init() 89 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 94 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Vignette.java | 101 mInPixelsAllocation.getType().getY(), center_x, in do_init() 106 mInPixelsAllocation.getType().getY(), center_x, in do_init() 111 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 116 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | Vignette.java | 103 mInPixelsAllocation.getType().getY(), center_x, in do_init() 108 mInPixelsAllocation.getType().getY(), center_x, in do_init() 113 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 118 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
D | Fisheye.java | 84 mInPixelsAllocation.getType().getY(), center_x, in do_init() 89 mInPixelsAllocation.getType().getY(), center_x, in do_init() 94 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init() 99 mInPixelsAllocation.getType().getY(), center_x, center_y, in do_init()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 51 (int) event.getY()); in MotionEventMatcher() 65 && ((int) event.getY() == mY)) { in matchesSafely() 80 Log.e(LOG_TAG, "event.getY() = " + event.getY() + ", expected " + mY); 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() 104 double deltaY = previousTapEvent.getY() - currentTapEvent.getY(); in isConsecutiveTap()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 185 assertEquals(570, (int) rot90.getY()); in testEventRotation() 191 assertEquals(950, (int) rot180.getY()); in testEventRotation() 197 assertEquals(30, (int) rot270.getY()); in testEventRotation() 204 assertEquals(30, (int) compoundRot.getY()); in testEventRotation() 229 assertEquals(70, (int) event.getY()); in testLocationOffsetOnlyAppliedToNonPointerSources() 234 assertEquals(20, (int) event.getY()); in testLocationOffsetOnlyAppliedToNonPointerSources() 254 assertEquals(40, (int) splitEvent.getY()); in testSplit()
|
/frameworks/native/services/inputflinger/tests/ |
D | GestureConverter_test.cpp | 575 EXPECT_EQ(arg.pointerCoords[0].getY(), finger0Start.getY() - 10); in TEST_F() 576 EXPECT_EQ(arg.pointerCoords[1].getY(), finger1Start.getY() - 10); in TEST_F() 577 EXPECT_EQ(arg.pointerCoords[2].getY(), finger2Start.getY() - 10); in TEST_F() 593 EXPECT_EQ(arg.pointerCoords[0].getY(), finger0Start.getY() - 15); in TEST_F() 594 EXPECT_EQ(arg.pointerCoords[1].getY(), finger1Start.getY() - 15); in TEST_F() 595 EXPECT_EQ(arg.pointerCoords[2].getY(), finger2Start.getY() - 15); in TEST_F() 679 EXPECT_EQ(arg.pointerCoords[0].getY(), finger0Start.getY()); in TEST_F() 680 EXPECT_EQ(arg.pointerCoords[1].getY(), finger1Start.getY()); in TEST_F() 681 EXPECT_EQ(arg.pointerCoords[2].getY(), finger2Start.getY()); in TEST_F() 695 EXPECT_EQ(arg.pointerCoords[0].getY(), finger0Start.getY()); in TEST_F() [all …]
|