Home
last modified time | relevance | path

Searched refs:appScale (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailPhotoSetter.java70 final float appScale = in onClick() local
77 rect.left = (int) (pos[0] * appScale + 0.5f); in onClick()
78 rect.top = (int) (pos[1] * appScale + 0.5f); in onClick()
79 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); in onClick()
80 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); in onClick()
/packages/apps/Launcher2/src/com/android/launcher2/
DSearchDropTargetBar.java227 final float appScale = mQSBSearchBar.getContext().getResources() in getSearchBarBounds() local
233 rect.left = (int) (pos[0] * appScale + 0.5f); in getSearchBarBounds()
234 rect.top = (int) (pos[1] * appScale + 0.5f); in getSearchBarBounds()
235 rect.right = (int) ((pos[0] + mQSBSearchBar.getWidth()) * appScale + 0.5f); in getSearchBarBounds()
236 rect.bottom = (int) ((pos[1] + mQSBSearchBar.getHeight()) * appScale + 0.5f); in getSearchBarBounds()
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java303 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in getTargetRectFromView() local
308 rect.left = (int) (pos[0] * appScale + 0.5f); in getTargetRectFromView()
309 rect.top = (int) (pos[1] * appScale + 0.5f); in getTargetRectFromView()
310 rect.right = (int) ((pos[0] + view.getWidth()) * appScale + 0.5f); in getTargetRectFromView()
311 rect.bottom = (int) ((pos[1] + view.getHeight()) * appScale + 0.5f); in getTargetRectFromView()