Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java277 int M = A.getType().getY(); in validateGEMV()
284 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateGEMV()
322 int M = A.getType().getY(); in SGEMV()
344 int M = A.getType().getY(); in DGEMV()
366 int M = A.getType().getY(); in CGEMV()
388 int M = A.getType().getY(); in ZGEMV()
423 int M = A.getType().getY(); in SGBMV()
458 int M = A.getType().getY(); in DGBMV()
493 int M = A.getType().getY(); in CGBMV()
528 int M = A.getType().getY(); in ZGBMV()
[all …]
DAllocationAdapter.java45 int ty = mAdaptedAllocation.mType.getY(); in initLOD()
168 if (mAdaptedAllocation.getType().getY() == 0) { in setY()
171 if (mAdaptedAllocation.getType().getY() <= y) { in setY()
174 if (mWindow.getY() == mAdaptedAllocation.getType().getY()) { in setY()
177 if ((mWindow.getY() + y) >= mAdaptedAllocation.getType().getY()) { in setY()
240 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D()
283 (t.getY() > at.getY()) || in createTyped()
DScriptIntrinsicBlur.java62 if (ain.getType().getY() == 0) { in setInput()
95 if (aout.getType().getY() == 0) { in forEach()
110 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.java284 int M = A.getType().getY();
291 if (X.getType().getY() > 1 || Y.getType().getY() > 1) {
329 int M = A.getType().getY(); in SGEMV()
361 int M = A.getType().getY(); in DGEMV()
393 int M = A.getType().getY(); in CGEMV()
425 int M = A.getType().getY(); in ZGEMV()
470 int M = A.getType().getY(); in SGBMV()
515 int M = A.getType().getY(); in DGBMV()
560 int M = A.getType().getY(); in CGBMV()
605 int M = A.getType().getY(); in ZGBMV()
[all …]
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp170 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
181 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
183 EXPECT_EQ(0.0f, layout.getY(1)); in TEST()
195 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
208 EXPECT_EQ(0.0f, layout.getY(i)) << i; in TEST()
244 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
255 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
257 EXPECT_EQ(0.0f, layout.getY(1)); in TEST()
269 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
286 EXPECT_EQ(0.0f, layout.getY(0)); in TEST()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java78 assertThat(motionEventList.get(0).getY(), is(9f)); in test_trackMotionEvents()
79 assertThat(motionEventList.get(1).getY(), is(7f)); in test_trackMotionEvents()
80 assertThat(motionEventList.get(2).getY(), is(5f)); in test_trackMotionEvents()
96 assertThat(motionEventList.get(0).getY(), is(9f)); in test_trackRecentMotionEvents()
97 assertThat(motionEventList.get(1).getY(), is(7f)); in test_trackRecentMotionEvents()
109 assertThat(motionEventList.get(0).getY(), is(7f)); in test_trackRecentMotionEvents()
110 assertThat(motionEventList.get(1).getY(), is(5f)); in test_trackRecentMotionEvents()
117 assertThat(firstRealMotionEvent.getY(), is(9f)); in test_trackRecentMotionEvents()
144 assertThat(motionEventList.get(0).getY(), is(9f)); in test_unpackMotionEvents()
145 assertThat(motionEventList.get(1).getY(), is(7f)); in test_unpackMotionEvents()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java73 "x,y,t: " + m.getX() + "," + m.getY() + "," + m.getEventTime()); in onMotionEvent()
151 .abs(mFirstRecentMotionEvent.getY() - mLastMotionEvent.getY()); in isHorizontal()
173 return mLastMotionEvent.getY() < mFirstRecentMotionEvent.getY(); in isUp()
199 float lastY = mLastMotionEvent.getY() - mFirstRecentMotionEvent.getY(); in calculateAngleInternal()
DZigZagClassifier.java149 float offsetY = firstEvent.getY(); in getAtan2LastPoint()
151 float lastY = lastEvent.getY() - offsetY; in getAtan2LastPoint()
176 float offsetY = firstEvent.getY(); in rotateMotionEvents()
179 float y = motionEvent.getY() - offsetY; in rotateMotionEvents()
189 "Before: (" + firstEvent.getX() + "," + firstEvent.getY() + "), (" in rotateMotionEvents()
191 + lastEvent.getY() + ")"); in rotateMotionEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDoubleTapHelper.java73 mDownY = event.getY(); in onTouchEvent()
94 mActivationY = event.getY(); in onTouchEvent()
100 event.getY() - mActivationY); in onTouchEvent()
142 && Math.abs(event.getY() - mDownY) < mTouchSlop; in isWithinTouchSlop()
152 && Math.abs(event.getY() - mActivationY) < mDoubleTapSlop; in isWithinDoubleTapSlop()
/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/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/
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()
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/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/java/android/text/method/
DTouch.java100 buffer.setSpan(new DragState(event.getX(), event.getY(), in onTouchEvent()
126 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
145 dy = event.getY() - ds[0].mY; in onTouchEvent()
148 dy = ds[0].mY - event.getY(); in onTouchEvent()
151 ds[0].mY = event.getY(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java86 return ev.getY(pointerIndex) - refPoint.y;
104 return Math.abs(ev.getY(pointerIndex) - downPos.y);
215 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent()
233 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); 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/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java93 if (ev.getY() > (getBottom() - mFooterHeight)) { in shouldIntercept()
98 mLastMotionY = (int) ev.getY(); in shouldIntercept()
102 if (mLastMotionY >= 0 && Math.abs(ev.getY() - mLastMotionY) > mTouchSlop in shouldIntercept()
105 mLastMotionY = (int) ev.getY(); in shouldIntercept()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect174 (t0.getY() != t1.getY()) ||
238 (t0.getY() != t1.getY()) ||
306 (t0.getY() != t1.getY()) ||
374 (t0.getY() != t1.getY()) ||
442 (t0.getY() != t1.getY()) ||
510 (t0.getY() != t1.getY()) ||
574 (t0.getY() != t1.getY()) ||
638 (t0.getY() != t1.getY()) ||
706 (t0.getY() != t1.getY()) ||
774 (t0.getY() != t1.getY()) ||
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java172 if (!mMouseHoveringAtEdge && event.getY() == 0) { in onPointerEvent()
175 } else if (!mMouseHoveringAtEdge && event.getY() >= screenHeight - 1) { in onPointerEvent()
179 && (event.getY() > 0 && event.getY() < screenHeight - 1)) { in onPointerEvent()
203 mDownY[i] = event.getY(pointerIndex); in captureDown()
243 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java276 mAnchoredScaleStartY = event.getY(); in onTouchEvent()
298 if (event.getY() < focusY) { in onTouchEvent()
307 sumY += event.getY(i); in onTouchEvent()
321 devSumY += Math.abs(event.getY(i) - focusY); in onTouchEvent()
407 mAnchoredScaleStartY = e.getY(); in setQuickScaleEnabled()

1234567891011