HomeSort by relevance Sort by last modified time
    Searched defs:density (Results 101 - 125 of 1140) sorted by null

1 2 3 45 6 7 8 91011>>

  /cts/hostsidetests/theme/src/android/theme/cts/
ThemeHostTest.java 70 /** Shell command used to obtain current device density. */
71 private static final String WM_DENSITY = "wm density";
93 final String density = getDensityBucketForDevice(mDevice); local
94 final String referenceZipAssetPath = String.format("/%s.zip", density);
232 final int density; local
234 density = getDensityForDevice(device);
236 throw new RuntimeException("Failed to detect device density", e);
239 switch (density) {
262 bucket = density + "dpi";
267 "Device density detected as " + density + " (" + bucket + ")")
    [all...]
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
TouchDisplayView.java 340 * Sets up the required {@link android.graphics.Paint} objects for the screen density of this
345 // Calculate radiuses in px from dp based on screen density
346 float density = getResources().getDisplayMetrics().density; local
347 mCircleRadius = CIRCLE_RADIUS_DP * density;
348 mCircleHistoricalRadius = CIRCLE_HISTORICAL_RADIUS_DP * density;
355 mBorderWidth = INACTIVE_BORDER_DP * density;
  /developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
TouchDisplayView.java 340 * Sets up the required {@link android.graphics.Paint} objects for the screen density of this
345 // Calculate radiuses in px from dp based on screen density
346 float density = getResources().getDisplayMetrics().density; local
347 mCircleRadius = CIRCLE_RADIUS_DP * density;
348 mCircleHistoricalRadius = CIRCLE_HISTORICAL_RADIUS_DP * density;
355 mBorderWidth = INACTIVE_BORDER_DP * density;
  /development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
TouchDisplayView.java 340 * Sets up the required {@link android.graphics.Paint} objects for the screen density of this
345 // Calculate radiuses in px from dp based on screen density
346 float density = getResources().getDisplayMetrics().density; local
347 mCircleRadius = CIRCLE_RADIUS_DP * density;
348 mCircleHistoricalRadius = CIRCLE_HISTORICAL_RADIUS_DP * density;
355 mBorderWidth = INACTIVE_BORDER_DP * density;
  /development/samples/browseable/BasicTransition/src/com.example.android.common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
SlidingTabStrip.java 65 final float density = getResources().getDisplayMetrics().density; local
79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density);
83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density);
88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density));
  /external/ImageMagick/Magick++/lib/
Options.cpp 178 void Magick::Options::density(const Point &density_) function in class:Magick::Options
181 _imageInfo->density=(char *) RelinquishMagickMemory(_imageInfo->density);
183 CloneString(&_imageInfo->density,density_);
186 Magick::Point Magick::Options::density(void) const function in class:Magick::Options
188 if (_imageInfo->density)
189 return(Point(_imageInfo->density));
  /external/ImageMagick/MagickCore/
colorspace.c 590 density,
602 density=DisplayGamma;
624 black=pow(10.0,(reference_black-reference_white)*(gamma/density)*0.002/
632 log10(black+(1.0*i/MaxMap)*(1.0-black))/((gamma/density)*0.002/
586 density, local
2047 density, local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewConfiguration.java 75 float density = metrics.density; local
77 edgeSlop = (int) (density * EDGE_SLOP + 0.5f);
78 fadingEdgeLength = (int) (density * FADING_EDGE_LENGTH + 0.5f);
79 minimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
80 maximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
81 scrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f);
82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f);
83 pagingTouchSlop = (int) (density * PAGING_TOUCH_SLOP + 0.5f);
84 doubleTapSlop = (int) (density * DOUBLE_TAP_SLOP + 0.5f)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowViewConfiguration.java 75 float density = metrics.density; local
77 edgeSlop = (int) (density * EDGE_SLOP + 0.5f);
78 fadingEdgeLength = (int) (density * FADING_EDGE_LENGTH + 0.5f);
79 minimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
80 maximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
81 scrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f);
82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f);
83 pagingTouchSlop = (int) (density * PAGING_TOUCH_SLOP + 0.5f);
84 doubleTapSlop = (int) (density * DOUBLE_TAP_SLOP + 0.5f)
    [all...]
  /external/webrtc/webrtc/modules/audio_processing/ns/
ns_core.h 66 float density[SIMULT * HALF_ANAL_BLOCKL]; member in struct:NoiseSuppressionC_
  /frameworks/base/core/java/android/util/
TypedValue.java 156 * If {@link #density} is equal to this value, then the density should be
157 * treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}.
162 * If {@link #density} is equal to this value, then there is no density
215 * If the Value came from a resource, this holds the corresponding pixel density.
217 public int density; field in class:TypedValue
260 * supplies display density and scaling information.
284 * supplies display density and scaling information.
311 * supplies display density and scaling information
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
InsetDrawable.java 351 * Called when the constant state density changes to scale
352 * density-dependent properties specific to insets.
354 * @param sourceDensity the previous constant state density
355 * @param targetDensity the new constant state density
366 // If this drawable is being created for a different density,
371 final int density = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; local
372 if (density != mDensity) {
  /frameworks/base/media/java/android/media/audiofx/
EnvironmentalReverb.java 97 * Density. Parameter ID for OnParameterChangeListener
367 * Sets the echo density in the late reverberation decay.
398 * Controls the modal density of the late reverberation decay.
400 * A lower density creates a hollow sound that is useful for simulating small reverberation
402 * @param density density specified using a permille scale. The valid range is [0, 1000].
409 public void setDensity(short density)
411 byte[] param = shortToByteArray(density);
416 * Gets the density level.
417 * @return the density level. See {@link #setDiffusion(short)} for units
511 public short density; field in class:EnvironmentalReverb.Settings
    [all...]

Completed in 826 milliseconds

1 2 3 45 6 7 8 91011>>