Home | History | Annotate | Download | only in view

Lines Matching refs:density

134      * applications that do not provide a Context for determining density/configuration-dependent
155 * applications that do not provide a Context for determining density/configuration-dependent
260 * various parameters of the context, like the dimension of the display or the density
272 final float density = metrics.density;
275 sizeAndDensity = density * 1.5f;
277 sizeAndDensity = density;
282 mMinimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
283 mMaximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
284 mScrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f);
320 * density of the display.
326 final int density = (int) (100.0f * metrics.density);
328 ViewConfiguration configuration = sConfigurations.get(density);
331 sConfigurations.put(density, configuration);