Home | History | Annotate | Download | only in widget

Lines Matching refs:appScale

299                         final float appScale = v.getContext().getResources()
305 rect.left = (int) (pos[0] * appScale + 0.5f);
306 rect.top = (int) (pos[1] * appScale + 0.5f);
307 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
308 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f);
376 final float appScale = view.getContext().getResources()
382 rect.left = (int) (pos[0] * appScale + 0.5f);
383 rect.top = (int) (pos[1] * appScale + 0.5f);
384 rect.right = (int) ((pos[0] + view.getWidth()) * appScale + 0.5f);
385 rect.bottom = (int) ((pos[1] + view.getHeight()) * appScale + 0.5f);
521 final float appScale = v.getContext().getResources()
527 rect.left = (int) (pos[0] * appScale + 0.5f);
528 rect.top = (int) (pos[1] * appScale + 0.5f);
529 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
530 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f);