HomeSort by relevance Sort by last modified time
    Searched refs:density (Results 26 - 50 of 130) sorted by null

12 3 4 5 6

  /cts/tests/tests/util/src/android/util/cts/
TypedValueTest.java 70 dm.density = 1.1f;
130 dm.density = 1.1f;
199 dm.density = 1.1f;
206 assertEquals(10 * dm.density, TypedValue
289 dm.density = 1.1f;
310 dm.density = 1.1f;
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/export/
ProjectConfig.java 24 import com.android.sdklib.resources.Density;
54 new String[] { Density.HIGH.getResourceValue(),
55 Density.HIGH.getResourceValue() + "," + Density.NODPI.getResourceValue() },
56 new String[] { Density.MEDIUM.getResourceValue(),
57 Density.MEDIUM.getResourceValue() + "," +
58 Density.NODPI.getResourceValue() },
59 new String[] { Density.MEDIUM.getResourceValue(),
60 Density.MEDIUM.getResourceValue() + "," + Density.NODPI.getResourceValue() }
    [all...]
  /development/apps/Development/src/com/android/development/
ConfigurationViewer.java 56 + "density=" + m.density + "\n"
  /frameworks/base/core/java/android/util/
TypedValue.java 142 * If {@link #density} is equal to this value, then the density should be
143 * treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}.
148 * If {@link #density} is equal to this value, then there is no density
177 * If the Value came from a resource, this holds the corresponding pixel density.
179 public int density; field in class:TypedValue
222 * supplies display density and scaling information.
246 * supplies display density and scaling information.
273 * supplies display density and scaling information
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
DialogTitle.java 62 (int) (20 * getResources().getDisplayMetrics().density));
  /frameworks/base/native/android/
configuration.cpp 71 return config->density;
142 void AConfiguration_setDensity(AConfiguration* config, int32_t density) {
143 config->density = density;
  /packages/apps/Email/src/com/android/email/activity/
AccountFolderListItem.java 82 float paddingScale = getContext().getResources().getDisplayMetrics().density;
MessageListItem.java 86 float paddingScale = getContext().getResources().getDisplayMetrics().density;
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 222 final float density = getResources().getDisplayMetrics().density; local
223 mTapThreshold = (int) (TAP_THRESHOLD * density + 0.5f);
224 mMaximumTapVelocity = (int) (MAXIMUM_TAP_VELOCITY * density + 0.5f);
225 mMaximumMinorVelocity = (int) (MAXIMUM_MINOR_VELOCITY * density + 0.5f);
226 mMaximumMajorVelocity = (int) (MAXIMUM_MAJOR_VELOCITY * density + 0.5f);
227 mMaximumAcceleration = (int) (MAXIMUM_ACCELERATION * density + 0.5f);
228 mVelocityUnits = (int) (VELOCITY_UNITS * density + 0.5f);
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Bitmap.java 31 * Indicates that the bitmap was created for an unknown pixel density.
57 * density when running old apps.
60 public static void setDefaultDensity(int density) {
61 sDefaultDensity = density;
81 int density) {
90 if (density >= 0) {
91 mDensity = density;
96 * <p>Returns the density for this bitmap.</p>
98 * <p>The default density is the same density as the current display
    [all...]
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/
SettingsController.java 115 * @param density the density of the monitor
118 public void setMonitorDensity(int density) {
119 mProperties.setProperty(ISettingsPage.KEY_MONITOR_DENSITY, Integer.toString(density));
  /system/media/opensles/libopensles/
IEnvironmentalReverb.c 569 SLpermille density)
573 if (!(0 <= density && density <= 1000)) {
585 REVERB_PARAM_DENSITY, &density);
613 REVERB_PARAM_DENSITY, &this->mProperties.density);
617 *pDensity = this->mProperties.density;
655 if (!(0 <= properties.density && properties.density <= 1000))
743 1000 // 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);
  /external/webkit/WebKit/android/jni/
WebCoreFrameBridge.h 107 float density() const;
  /frameworks/base/include/utils/
ResourceTypes.h 852 uint16_t density; member in struct:android::ResTable_config::__anon8973::__anon8974
990 density = dtohs(density);
1001 density = htods(density);
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/app/
App.java 61 PIXEL_DENSITY = metrics.density;
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 70 final float density = metrics.density; local
71 final float blurPx = 5 * density;
117 // Ensure the bitmap has a density.
  /external/chromium/third_party/icu/source/test/intltest/
transrt.cpp 264 // density is the approximate total number of code points to returned for the entire set.
272 void reset(UnicodeSet& set, UBool abb = FALSE, int32_t density = 100);
307 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) {
312 perRange = density / perRange;
363 int32_t density = 100);
375 void test2(UBool quick, int32_t density);
465 int32_t density)
533 test2(quickRt, density);
560 void RTTest::test2(UBool quickRt, int32_t density) {
701 usi.reset(sourceRangeMinusFailures, quickRt, density);
    [all...]
  /external/icu4c/test/intltest/
transrt.cpp 264 // density is the approximate total number of code points to returned for the entire set.
272 void reset(UnicodeSet& set, UBool abb = FALSE, int32_t density = 100);
307 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) {
312 perRange = density / perRange;
363 int32_t density = 100);
375 void test2(UBool quick, int32_t density);
465 int32_t density)
533 test2(quickRt, density);
560 void RTTest::test2(UBool quickRt, int32_t density) {
701 usi.reset(sourceRangeMinusFailures, quickRt, density);
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 50 // These are scaled to match the target density.
58 * Create drawable from raw nine-patch data, not dealing with density.
60 * to ensure that the drawable has correctly set its target density.
68 * Create drawable from raw nine-patch data, setting initial target density
78 * Create drawable from existing nine-patch, not dealing with density.
80 * to ensure that the drawable has correctly set its target density.
88 * Create drawable from existing nine-patch, setting initial target density
113 * Set the density scale at which this drawable will be rendered. This
114 * method assumes the drawable will be rendered at the same density as the
117 * @param canvas The Canvas from which the density scale must be obtained
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
ResourceHelper.java 21 import com.android.layoutlib.api.IDensityBasedResourceValue.Density;
173 bitmap.setDensity(Density.MEDIUM.getValue());
185 Density density = ((IDensityBasedResourceValue)value).getDensity(); local
186 if (density != Density.MEDIUM) {
190 // apply the density
191 bitmap.setDensity(density.getValue());
  /frameworks/base/tools/aapt/
AaptAssets.cpp 180 // density
183 *value = config.density;
396 // density
406 //printf("not density: %s\n", part.string());
509 this->density = den;
543 s += density;
597 if (this->density != "") {
599 s += density;
872 if (out) out->density = ResTable_config::DENSITY_DEFAULT;
877 if (out) out->density = ResTable_config::DENSITY_NONE
    [all...]

Completed in 301 milliseconds

12 3 4 5 6