Home
last modified time | relevance | path

Searched refs:locationInWindow (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java402 public void showDetailAdapter(boolean show, DetailAdapter adapter, int[] locationInWindow) { in showDetailAdapter() argument
403 int xInWindow = locationInWindow[0]; in showDetailAdapter()
404 int yInWindow = locationInWindow[1]; in showDetailAdapter()
405 ((View) getParent()).getLocationInWindow(locationInWindow); in showDetailAdapter()
409 r.x = xInWindow - locationInWindow[0]; in showDetailAdapter()
410 r.y = yInWindow - locationInWindow[1]; in showDetailAdapter()
412 locationInWindow[0] = xInWindow; in showDetailAdapter()
413 locationInWindow[1] = yInWindow; in showDetailAdapter()
/frameworks/base/core/java/android/view/
DViewGroup.java7226 final int[] locationInWindow = new int[2]; in applyOpToRegionByBounds() local
7227 view.getLocationInWindow(locationInWindow); in applyOpToRegionByBounds()
7228 final int x = locationInWindow[0]; in applyOpToRegionByBounds()
7229 final int y = locationInWindow[1]; in applyOpToRegionByBounds()