Home
last modified time | relevance | path

Searched refs:newLocation (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/testutils/
DPollingCheck.java98 int[] newLocation = new int[2]; field in PollingCheck.ViewScreenPositionDetector
107 view.getLocationInWindow(newLocation); in isViewStableOnScreen()
108 if (newLocation[0] == lastLocation[0] in isViewStableOnScreen()
109 && newLocation[1] == lastLocation[1]) { in isViewStableOnScreen()
113 lastLocation[0] = newLocation[0]; in isViewStableOnScreen()
114 lastLocation[1] = newLocation[1]; in isViewStableOnScreen()
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DImfBaseTestCase.java81 int[] newLocation = new int[2]; in verifyEditTextAdjustment() local
100 editText.getLocationOnScreen(newLocation); in verifyEditTextAdjustment()
102 …while (newLocation[1] > rootViewHeight - IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTim… in verifyEditTextAdjustment()
103 editText.getLocationOnScreen(newLocation); in verifyEditTextAdjustment()
107 assertTrue(newLocation[1] <= rootViewHeight - IME_MIN_HEIGHT); in verifyEditTextAdjustment()
/frameworks/base/tests/CoreTests/android/core/
DTestEventHandler.java326 public void locationChanged(String newLocation, boolean permanent) { in locationChanged() argument
329 newLocation + " permanent " + permanent); in locationChanged()
340 if (expectLocation.equals(newLocation)) { in locationChanged()
344 " got:"+newLocation); in locationChanged()
662 public void expectLocationChanged(String newLocation) { in expectLocationChanged() argument
664 expectLocation = newLocation; in expectLocationChanged()
667 public void expectLocationChanged(String newLocation, boolean permanent) { in expectLocationChanged() argument
669 expectLocation = newLocation; in expectLocationChanged()
/frameworks/base/location/java/android/location/
DLocationManager.java978 public boolean injectLocation(Location newLocation) { in injectLocation() argument
980 return mService.injectLocation(newLocation); in injectLocation()