Home
last modified time | relevance | path

Searched refs:getY (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java281 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 …]
DAllocationAdapter.java49 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()
DScriptIntrinsicBlur.java65 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/
DScriptIntrinsicBLAS.cpp185 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/
DScriptIntrinsicBLAS.java288 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/
DBubblesNavBarMotionEventHandler.java67 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/
DCubicEasing.java86 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/
DFalsingDataProviderTest.java96 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/
DDoubleTapClassifier.java99 if (Math.abs(firstFinalEvent.getY() - secondFinalEvent.getY()) >= mDoubleTapSlop) { in isDoubleTap()
101 .append(Math.abs(firstFinalEvent.getY() - secondFinalEvent.getY())) in isDoubleTap()
DTapClassifier.java47 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()
DZigZagClassifier.java184 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/
Dcanny.rscript91 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 …]
DViewfinderProcessor.java192 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/
DBouncerSwipeTouchHandler.java144 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/
DMeasuredTextTest.cpp243 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/
DFisheye.java81 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()
DVignette.java103 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/
DFisheye.java79 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()
DVignette.java101 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/
DVignette.java103 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()
DFisheye.java84 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/
DMotionEventMatcher.java51 (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/
DConsecutiveTapsGestureDetector.java70 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/
DMotionEventTest.java185 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/
DGestureConverter_test.cpp575 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 …]

12345678910>>...13