Home
last modified time | relevance | path

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

/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java313 private void reveal(View sourceView, int colorRes, AnimatorListener listener) { in reveal() argument
329 sourceView.getLocationInWindow(clearLocation); in reveal()
330 clearLocation[0] += sourceView.getWidth() / 2; in reveal()
331 clearLocation[1] += sourceView.getHeight() / 2; in reveal()
372 final View sourceView = mClearButton.getVisibility() == View.VISIBLE in onClear() local
374 reveal(sourceView, R.color.calculator_accent_color, new AnimatorListenerAdapter() { in onClear()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculator.java676 private void reveal(View sourceView, int colorRes, AnimatorListener listener) { in reveal() argument
692 sourceView.getLocationInWindow(clearLocation); in reveal()
693 clearLocation[0] += sourceView.getWidth() / 2; in reveal()
694 clearLocation[1] += sourceView.getHeight() / 2; in reveal()