Home
last modified time | relevance | path

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

/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java328 final int[] clearLocation = new int[2]; in reveal() local
329 sourceView.getLocationInWindow(clearLocation); in reveal()
330 clearLocation[0] += sourceView.getWidth() / 2; in reveal()
331 clearLocation[1] += sourceView.getHeight() / 2; in reveal()
333 final int revealCenterX = clearLocation[0] - revealView.getLeft(); in reveal()
334 final int revealCenterY = clearLocation[1] - revealView.getTop(); in reveal()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculator.java691 final int[] clearLocation = new int[2]; in reveal() local
692 sourceView.getLocationInWindow(clearLocation); in reveal()
693 clearLocation[0] += sourceView.getWidth() / 2; in reveal()
694 clearLocation[1] += sourceView.getHeight() / 2; in reveal()
696 final int revealCenterX = clearLocation[0] - revealView.getLeft(); in reveal()
697 final int revealCenterY = clearLocation[1] - revealView.getTop(); in reveal()