HomeSort by relevance Sort by last modified time
    Searched refs:density (Results 76 - 100 of 353) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/wilhelm/src/itf/
IEnvironmentalReverb.c 580 SLpermille density)
584 if (!(0 <= density && density <= 1000)) {
589 thiz->mProperties.density = density;
597 REVERB_PARAM_DENSITY, &density);
625 REVERB_PARAM_DENSITY, &thiz->mProperties.density);
629 *pDensity = thiz->mProperties.density;
669 if (!(0 <= properties.density && properties.density <= 1000)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java 135 final float density = mLauncher.getResources().getDisplayMetrics().density; local
136 mBackgroundPadding = (int) Math.ceil(density * BACKGROUND_PADDING);
353 final float density = launcher.getResources().getDisplayMetrics().density; local
360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
361 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
368 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
369 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density);
  /external/eigen/test/
sparse_solver.h 138 double density = (std::max)(8./(size*size), 0.01); local
143 initSparse<Scalar>(density, dM, M, ForceNonZeroDiag);
184 double density = (std::max)(8./(size*rhsCols), 0.1); local
188 initSparse<Scalar>(density, dB, B, ForceNonZeroDiag);
247 double density = (std::max)(8./(size*size), 0.01); local
252 initSparse<Scalar>(density, dA, A, ForceNonZeroDiag);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 28 import com.android.resources.Density;
175 Density density = Density.MEDIUM; local
177 density =
187 new FileInputStream(file), density, value.isFramework(),
234 density);
262 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density,
286 density);
    [all...]
  /cts/tests/tests/display/src/android/display/cts/
DisplayTest.java 144 // The scale is in [0.1, 3], and density is the scale factor.
145 assertTrue(SCALE_DENSITY_LOWER_BOUND <= outMetrics.density
146 && outMetrics.density <= SCALE_DENSITY_UPPER_BOUND);
  /external/eigen/bench/btl/data/
mk_new_gnuplot.sh 52 convert -background white -density 120 -rotate 90 -resize 800 +dither -colors 256 -quality 0 ../${DIR}/$WHAT.ps -background white -flatten ../${DIR}/$WHAT.png
  /external/eigen/unsupported/test/
sparse_extra.cpp 59 double density = (std::max)(8./(rows*cols), 0.01); local
70 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords);
121 initSparse<Scalar>(density, refM1, m1);
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 228 final float density = getResources().getDisplayMetrics().density; local
229 mTapThreshold = (int) (TAP_THRESHOLD * density + 0.5f);
230 mMaximumTapVelocity = (int) (MAXIMUM_TAP_VELOCITY * density + 0.5f);
231 mMaximumMinorVelocity = (int) (MAXIMUM_MINOR_VELOCITY * density + 0.5f);
232 mMaximumMajorVelocity = (int) (MAXIMUM_MAJOR_VELOCITY * density + 0.5f);
233 mMaximumAcceleration = (int) (MAXIMUM_ACCELERATION * density + 0.5f);
234 mVelocityUnits = (int) (VELOCITY_UNITS * density + 0.5f);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
IntruderAlertView.java 72 float densityScale = getResources().getDisplayMetrics().density;
127 float densityScale = getResources().getDisplayMetrics().density;
  /packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
SwipeableListView.java 52 float densityScale = getResources().getDisplayMetrics().density;
62 float densityScale = getResources().getDisplayMetrics().density;
  /packages/apps/Settings/src/com/android/settings/widget/
ChartGridView.java 142 paint.density = res.getDisplayMetrics().density;
  /development/samples/ApiDemos/src/com/example/android/apis/view/
LayoutAnimation1.java 62 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f);
LayoutAnimation4.java 63 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f);
LayoutAnimation5.java 62 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f);
LayoutAnimation6.java 62 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ContactPhotoBinder.java 58 // Compute the size of the photo based on the display's density
59 mPhotoSize = (int) (PHOTO_SIZE_DIP * mResources.getDisplayMetrics().density + 0.5f);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
LoadAverageService.java 95 // Need to scale text size by density... but we won't do it
100 float density = c.getResources().getDisplayMetrics().density; local
101 if (density < 1) {
104 textSize = (int)(10*density);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ListActivity.java 120 v.setCompoundDrawablePadding((int) (6 * metrics.density + 0.5f));
TransparentListActivity.java 114 v.setCompoundDrawablePadding((int) (6 * metrics.density + 0.5f));
ViewLayersActivity2.java 61 v.setCompoundDrawablePadding((int) (6 * metrics.density + 0.5f));
ViewLayersActivity4.java 65 v.setCompoundDrawablePadding((int) (6 * metrics.density + 0.5f));
  /packages/apps/Browser/src/com/android/browser/
BreadCrumbView.java 94 float density = mContext.getResources().getDisplayMetrics().density; local
95 mDividerPadding = DIVIDER_PADDING * density;
96 mCrumbPadding = (int) (CRUMB_PADDING * density);
  /external/eigen/bench/
BenchSparseUtil.h 14 #ifndef DENSITY
15 #define DENSITY 0.01
27 void fillMatrix(float density, int rows, int cols, EigenSparseMatrix& dst)
29 dst.reserve(double(rows)*cols*density);
34 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTypedValue.java 102 return value * metrics.density;
197 typedValue.density = other.density;
  /frameworks/base/core/java/android/webkit/
ZoomManager.java 67 // The default scale limits, which are dependent on the display density.
141 * based on the display density, but can be changed at any time via the
148 * The logical density of the display. This is a scaling factor for the
149 * Density Independent Pixel unit, where one DIP is one pixel on an
150 * approximately 160 dpi screen (see android.util.DisplayMetrics.density)
229 * Initialize both the default and actual zoom scale to the given density.
231 * @param density The logical density of the display. This is a scaling factor
232 * for the Density Independent Pixel unit, where one DIP is one pixel on an
233 * approximately 160 dpi screen (see android.util.DisplayMetrics.density)
236 assert density > 0; local
255 assert density > 0; local
    [all...]

Completed in 486 milliseconds

1 2 34 5 6 7 8 91011>>