/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
AutoReinflateContainer.java | 32 * Currently supports changes to density and locale. 59 final int density = newConfig.densityDpi; local 60 if (density != mDensity) { 61 mDensity = density;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
ConfigurationControllerImpl.java | 42 final int density = newConfig.densityDpi; local 43 if (density != mDensity || mFontScale != fontScale) { 45 mDensity = density;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
PresetPreference.java | 58 final float density = getContext().getResources().getDisplayMetrics().density; local 59 previewText.setTextSize(DEFAULT_FONT_SIZE * density);
|
EdgeTypePreference.java | 61 final float density = getContext().getResources().getDisplayMetrics().density; local 62 preview.setTextSize(DEFAULT_FONT_SIZE * density);
|
/packages/apps/Settings/src/com/android/settings/display/ |
ScreenZoomSettings.java | 55 final DisplayDensityUtils density = new DisplayDensityUtils(getContext()); local 57 final int initialIndex = density.getCurrentIndex(); 59 // Failed to obtain default density, which means we failed to 61 // density and don't let the user change anything. 68 mValues = density.getValues(); 69 mEntries = density.getEntries(); 71 mDefaultDensity = density.getDefaultDensity(); 84 * Persists the selected density and sends a configuration change.
|
DensityPreference.java | 47 final float density = metrics.density; local 49 return (int) (minDimensionPx / density); 77 Slog.e(TAG, "Couldn't save density", e);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
WidgetTestUtils.java | 113 * Compare the expected pixels with actual, scaling for the target context density 118 Assert.assertEquals(expected * context.getResources().getDisplayMetrics().density, 122 /** Converts dips into pixels using the {@link Context}'s density. */ 124 float density = context.getResources().getDisplayMetrics().density; local 125 return Math.round(density * dip); 129 * Retrieve a bitmap that can be used for comparison on any density 140 * Retrieve a dithered bitmap that can be used for comparison on any density
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
AbstractContinuousDistribution.java | 66 * Return the probability density for a particular point. 67 * @param x The point at which the density should be computed. 72 public double density(double x) throws MathRuntimeException { method in class:AbstractContinuousDistribution 125 * case if density has bounded support and p is 0 or 1).
|
ChiSquaredDistributionImpl.java | 112 * Return the probability density for a particular point. 114 * @param x The point at which the density should be computed. 119 public double density(Double x) { method in class:ChiSquaredDistributionImpl 120 return density(x.doubleValue()); 124 * Return the probability density for a particular point. 126 * @param x The point at which the density should be computed. 131 public double density(double x) { method in class:ChiSquaredDistributionImpl 132 return gamma.density(x);
|
/external/eigen/bench/ |
sparse_cholesky.cpp | 15 #ifndef DENSITY 16 #define DENSITY 0.01 44 void fillSpdMatrix(float density, int rows, int cols, EigenSparseSelfAdjointMatrix& dst) 46 dst.startFill(rows*cols*density); 52 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; 81 float density = DENSITY; local 89 //for (float density = DENSITY; density>=MINDENSITY; density*=0.5 [all...] |
sparse_lu.cpp | 15 #ifndef DENSITY 16 #define DENSITY 0.01 76 float density = DENSITY; local 84 //for (float density = DENSITY; density>=MINDENSITY; density*=0.5) 85 // float density = 0.5; 88 fillMatrix(density, rows, cols, sm1) [all...] |
sparse_product.cpp | 102 float density = DENSITY; local
|
sparse_randomsetter.cpp | 14 #ifndef DENSITY 15 #define DENSITY 0.01 69 float density = DENSITY; local 74 nentries = rows*cols*density;
|
sparse_trisolver.cpp | 11 #ifndef DENSITY 12 #define DENSITY 0.01 40 void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst) 42 dst.startFill(rows*cols*density); 47 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; 60 float density = DENSITY; local 70 for (float density = DENSITY; density>=MINDENSITY; density*=0.5 [all...] |
/external/eigen/test/ |
sparse_permutations.cpp | 56 double density = (std::max)(8./(rows*cols), 0.01); local 62 initSparse<Scalar>(density, mat_d, mat, 0);
|
sparseqr.cpp | 19 double density = (std::max)(8./(rows*cols), 0.01); local 23 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
ConfigurableTexts.java | 48 final float density = res.getDisplayMetrics().density; local 50 final int sp = (int)(px / fontScale / density);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PixelCopyWindow.java | 49 final float density = getResources().getDisplayMetrics().density; local 56 mPaint.setStrokeWidth(4 * density);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 22 import com.android.resources.Density; 55 Density density = Density.MEDIUM; local 58 density = Density.getEnum(opts.inDensity); 76 density); 92 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); 127 * Set the newly decoded bitmap's density based on the Options. 135 final int density = opts.inDensity local [all...] |
/hardware/qcom/audio/post_proc/ |
reverb.h | 39 int16_t density; member in struct:reverb_settings_s
|
/packages/apps/TV/src/com/android/tv/dvr/ |
DvrPlaybackActivity.java | 63 float density = getResources().getDisplayMetrics().density; local 64 mOverlayFragment.onWindowSizeChanged((int) (newConfig.screenWidthDp * density), 65 (int) (newConfig.screenHeightDp * density));
|
/system/media/audio/include/system/audio_effects/ |
effect_environmentalreverb.h | 61 int16_t density; member in struct:s_reverb_settings
|
/bionic/libc/kernel/uapi/linux/ |
adfs_fs.h | 29 __u8 density; member in struct:adfs_discrecord
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ |
Utils.java | 81 float density = ctx.getResources().getDisplayMetrics().density; local 82 return Math.round((float) dp * density);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
LowRamDeviceTest.java | 78 int density = mDisplayMetrics.densityDpi; local 84 Log.i(TAG, String.format("density=%d, supports64Bit=%s, screenSize=%d, watch=%s", 85 density, supports64Bit, screenSize, watch)); 90 } else if (lessThanDpi(density, DENSITY_HIGH, screenSize, 92 lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) || 93 lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { 100 } else if (greaterThanDpi(density, DENSITY_560, screenSize, 102 greaterThanDpi(density, DENSITY_400, screenSize, SCREENLAYOUT_SIZE_LARGE) || 103 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { 110 } else if (greaterThanDpi(density, DENSITY_400, screenSize [all...] |