Searched refs:metrics (Results 1 – 7 of 7) sorted by relevance
178 DisplayMetrics metrics = new DisplayMetrics(); in overScan() local179 getWindowManager().getDefaultDisplay().getMetrics(metrics); in overScan()180 int w = (int) (metrics.widthPixels * MEDIA_WIDTH); in overScan()181 int h = (int) (metrics.heightPixels * MEDIA_HEIGHT); in overScan()182 int marginLeft = (int) (metrics.widthPixels * MEDIA_LEFT_MARGIN); in overScan()183 int marginTop = (int) (metrics.heightPixels * MEDIA_TOP_MARGIN); in overScan()184 int marginRight = (int) (metrics.widthPixels * MEDIA_RIGHT_MARGIN); in overScan()185 int marginBottom = (int) (metrics.heightPixels * MEDIA_BOTTOM_MARGIN); in overScan()
91 DisplayMetrics metrics = new DisplayMetrics(); in onActivityCreated() local92 activity.getWindowManager().getDefaultDisplay().getMetrics(metrics); in onActivityCreated()93 mScreenDensity = metrics.densityDpi; in onActivityCreated()
331 DisplayMetrics metrics = new DisplayMetrics(); in SimulationView() local332 getWindowManager().getDefaultDisplay().getMetrics(metrics); in SimulationView()333 mXDpi = metrics.xdpi; in SimulationView()334 mYDpi = metrics.ydpi; in SimulationView()
36 Lastly, remember to use padding on your ListViews to adhere to the standard metrics described in th…
81 [10]: http://www.google.com/design/spec/layout/metrics-keylines.html