Searched refs:buttonLocation (Results 1 – 2 of 2) sorted by relevance
74 final int[] buttonLocation = new int[2]; in onCreate()75 button.getLocationInWindow(buttonLocation); in onCreate()77 final int gap = buttonLocation[1] - parentLocation[1]; in onCreate()83 touchDelegateY = buttonLocation[1] - gap / 4; in onCreate()
1198 final int[] buttonLocation = new int[2]; in testTouchDelegateWithEbtBetweenView_ReHoverDelegate_FocusTargetAgain() local1199 button.getLocationOnScreen(buttonLocation); in testTouchDelegateWithEbtBetweenView_ReHoverDelegate_FocusTargetAgain()1202 final int hoverY = buttonLocation[1] + buttonY; in testTouchDelegateWithEbtBetweenView_ReHoverDelegate_FocusTargetAgain()1209 final int hoverLeft = buttonLocation[0] + button.getWidth() + touchableSize / 2; in testTouchDelegateWithEbtBetweenView_ReHoverDelegate_FocusTargetAgain()2119 int[] buttonLocation = new int[2]; in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() local2122 button.getLocationOnScreen(buttonLocation); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2123 PointF tapLocation = new PointF(buttonLocation[0] + midX, buttonLocation[1] + midY); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()2213 int[] buttonLocation = new int[2]; in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() local2216 button.getLocationOnScreen(buttonLocation); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()2217 PointF tapLocation = new PointF(buttonLocation[0] + midX, buttonLocation[1] + midY); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled()