Home | History | Annotate | Download | only in launcher3

Lines Matching full:scale

138                 // Scale the icon proportionally to the icon dimensions
214 * this scale factor is assumed to be equal in X and Y, and so if at any point this
215 * assumption fails, we will need to return a pair of scale factors.
230 float scale = 1.0f;
244 scale *= v0.getScaleX();
249 return scale;
268 float scale = 1.0f;
283 scale *= next.getScaleX();
289 return scale;
315 public static void scaleRect(Rect r, float scale) {
316 if (scale != 1.0f) {
317 r.left = (int) (r.left * scale + 0.5f);
318 r.top = (int) (r.top * scale + 0.5f);
319 r.right = (int) (r.right * scale + 0.5f);
320 r.bottom = (int) (r.bottom * scale + 0.5f);
324 public static void scaleRectAboutCenter(Rect r, float scale) {
328 Utilities.scaleRect(r, scale);