Home
last modified time | relevance | path

Searched refs:midX (Results 1 – 5 of 5) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DBlurTests.java678 final double midX = (blurRegion.left + blurRegion.right - 1) / 2.0; in assertBlur() local
683 final int blurAreaStartX = (int) Math.floor(midX) - blurRadius + stepSize; in assertBlur()
684 final int blurAreaEndX = (int) Math.ceil(midX) + blurRadius; in assertBlur()
687 final int unaffectedBluePixelX = (int) Math.floor(midX) - blurRadius * 2 - 1; in assertBlur()
688 final int unaffectedRedPixelX = (int) Math.ceil(midX) + blurRadius * 2 + 1; in assertBlur()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchInteractionControllerTest.java189 final int midX = mView.getWidth() / 2; in setUp() local
192 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp()
DTouchExplorerTest.java207 final int midX = mView.getWidth() / 2; in setUp() local
210 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp()
DAccessibilityGestureDispatchTest.java170 final int midX = mFullScreenTextView.getWidth() / 2; in setUp() local
174 mStartPoint.set(midX, midY); in setUp()
DAccessibilityEndToEndTest.java2120 final int midX = button.getWidth() / 2; in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() local
2123 PointF tapLocation = new PointF(buttonLocation[0] + midX, buttonLocation[1] + midY); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
2214 final int midX = button.getWidth() / 2; in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() local
2217 PointF tapLocation = new PointF(buttonLocation[0] + midX, buttonLocation[1] + midY); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()