Searched refs:locationOnScreen (Results 1 – 13 of 13) sorted by relevance
42 val locationOnScreen = IntArray(2) in saveCanvasAlpha() constant43 view.getLocationOnScreen(locationOnScreen) in saveCanvasAlpha()44 Pair(locationOnScreen[0].toFloat(), locationOnScreen[1].toFloat()) in saveCanvasAlpha()
89 val location = notification.locationOnScreen in createAnimatorState()120 .locationOnScreen[1] in createAnimatorState()124 val locationOnScreen = notification.notificationParent.locationOnScreen[1] in createAnimatorState() constant125 val parentRoundedClip = (clipStartLocation - locationOnScreen).coerceAtLeast(0) in createAnimatorState()
36 val left = view.locationOnScreen[0] in touchIsWithinView()37 val top = view.locationOnScreen[1] in touchIsWithinView()
77 if (sampledView.locationOnScreen[0] < 0 || sampledView.locationOnScreen[1] < 0) { in onLayoutChange()
405 int[] locationOnScreen = new int[2]; in dispatchTouchEventToAmbientIndicationContainer() local406 mAmbientIndicationContainer.getLocationOnScreen(locationOnScreen); in dispatchTouchEventToAmbientIndicationContainer()407 float viewX = screenX - locationOnScreen[0]; in dispatchTouchEventToAmbientIndicationContainer()408 float viewY = screenY - locationOnScreen[1]; in dispatchTouchEventToAmbientIndicationContainer()
153 val (ambientLeft, ambientTop) = it.locationOnScreen in <lambda>()
2788 int[] locationOnScreen = mTempArray; in createAccessibiltyNodeInfoForInputText() local2789 getLocationOnScreen(locationOnScreen); in createAccessibiltyNodeInfoForInputText()2790 boundsInScreen.offset(locationOnScreen[0], locationOnScreen[1]); in createAccessibiltyNodeInfoForInputText()2812 int[] locationOnScreen = mTempArray; in createAccessibilityNodeInfoForVirtualButton() local2813 getLocationOnScreen(locationOnScreen); in createAccessibilityNodeInfoForVirtualButton()2814 boundsInScreen.offset(locationOnScreen[0], locationOnScreen[1]); in createAccessibilityNodeInfoForVirtualButton()2861 int[] locationOnScreen = mTempArray; in createAccessibilityNodeInfoForNumberPicker() local2862 getLocationOnScreen(locationOnScreen); in createAccessibilityNodeInfoForNumberPicker()2863 boundsInScreen.offset(locationOnScreen[0], locationOnScreen[1]); in createAccessibilityNodeInfoForNumberPicker()
49 `when`(view.locationOnScreen).thenReturn(location) in <lambda>()
661 int[] locationOnScreen = invocation.getArgument(/* index= */ 0); in setLocationOnScreen()662 locationOnScreen[0] = 0; in setLocationOnScreen()663 locationOnScreen[1] = top; in setLocationOnScreen()
59 whenever(sampledView.locationOnScreen).thenReturn(intArrayOf(0, 0)) in setUp()
205 view.locationOnScreen, view.context.display.naturalBounds, handleResult) in <lambda>()
234 val (ambientLeft, ambientTop) = it.locationOnScreen in <lambda>()
420 val parentLocation = parent.locationOnScreen in measureAndLayoutComposeViewInOverlay()