Lines Matching refs:metrics
42 DisplayMetrics metrics = new DisplayMetrics();
43 getWindowManager().getDefaultDisplay().getMetrics(metrics);
52 final int p = (int)(8 * metrics.density);
58 final float size = 14 * metrics.density;
63 lp.bottomMargin = (int) (-4*metrics.density);
69 tv.setShadowLayer(4*metrics.density, 0, 2*metrics.density, 0x66000000);
77 tv.setShadowLayer(4*metrics.density, 0, 2*metrics.density, 0x66000000);
91 DisplayMetrics metrics = new DisplayMetrics();
92 getWindowManager().getDefaultDisplay().getMetrics(metrics);
98 final int p = (int)(32 * metrics.density);