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

/frameworks/support/v17/leanback/tests/java/android/support/v17/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/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java81 int[] newLocation = new int[2];
100 editText.getLocationOnScreen(newLocation);
102 while (newLocation[1] > rootViewHeight - IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) {
103 editText.getLocationOnScreen(newLocation);
107 assertTrue(newLocation[1] <= rootViewHeight - IME_MIN_HEIGHT);
/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;

Completed in 244 milliseconds