Searched defs:newLocation (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/testutils/
H A DPollingCheck.java98 int[] newLocation = new int[2]; field in class:PollingCheck.ViewScreenPositionDetector
107 view.getLocationInWindow(newLocation);
108 if (newLocation[0] == lastLocation[0]
109 && newLocation[1] == lastLocation[1]) {
113 lastLocation[0] = newLocation[0];
114 lastLocation[1] = newLocation[1];
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java323 * @param newLocation The URL to the new server
326 public void locationChanged(String newLocation, boolean permanent) { argument
329 newLocation + " permanent " + permanent);
340 if (expectLocation.equals(newLocation)) {
344 " got:"+newLocation);
662 public void expectLocationChanged(String newLocation) { argument
664 expectLocation = newLocation;
667 public void expectLocationChanged(String newLocation, boolean permanent) { argument
669 expectLocation = newLocation;
/frameworks/base/location/java/android/location/
H A DLocationManager.java970 * @param newLocation newly available {@link Location} object
978 public boolean injectLocation(Location newLocation) { argument
980 return mService.injectLocation(newLocation);

Completed in 106 milliseconds