Searched refs:appScale (Results 1 – 3 of 3) sorted by relevance
70 final float appScale = in onClick() local77 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()
227 final float appScale = mQSBSearchBar.getContext().getResources() in getSearchBarBounds() local233 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()
303 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in getTargetRectFromView() local308 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()