/prebuilts/devtools/tools/lib/ |
asset-studio.jar | |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 112 * draw into. The initial target density is {@link Bitmap#DENSITY_NONE}; 130 * <p>The initial target density of the canvas is the same as the given 131 * bitmap's density. 210 * the canvas' target density is updated to match that of the bitmap. 272 * <p>Returns the target density of the canvas. The default density is 273 * derived from the density of its backing bitmap, or 276 * @return Returns the current target density of the canvas, which is used 287 * <p>Specifies the density for this Canvas' backing bitmap. This modifies 288 * the target density of the canvas itself, as well as the density of it [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 91 VAR_MAP.put("display.density", new StaticVarGetter(Float.toString(dm.density)));
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LabelView.java | 87 // Must manually scale the desired text size to match screen density 88 mTextPaint.setTextSize(16 * getResources().getDisplayMetrics().density);
|
/external/chromium_org/chrome/common/extensions/api/ |
page_action.json | 99 "description": "Either an ImageData object or a dictionary {size -> ImageData} representing icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.imageData = foo' is equivalent to 'details.imageData = {'19': foo}'" 113 "description": "Either a relative image path or a dictionary {size -> relative image path} pointing to icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.path = foo' is equivalent to 'details.imageData = {'19': foo}'"
|
/external/chromium_org/remoting/client/plugin/ |
pepper_view.h | 61 // Return the dimensions of the view in Density Independent Pixels (DIPs). 113 // View size in Density Independent Pixels (DIPs).
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/ |
AutofillPopup.java | 203 // Scale it down to make it unscaled by screen density. 204 maxTextWidth = maxTextWidth / mContext.getResources().getDisplayMetrics().density;
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestFog.java | 139 System.out.println("Fog density : "+fog.getFogDensity()); 143 System.out.println("Fog density : "+fog.getFogDensity());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
RobolectricTest.java | 145 assertThat(new Activity().getResources().getDisplayMetrics().density, equalTo(1.0f)); 147 assertThat(new Activity().getResources().getDisplayMetrics().density, equalTo(1.5f));
|
/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/docs/html/guide/practices/ui_guidelines/ |
icon_design_tab.jd | 48 Density-Specific Icon Sets</a>, you should create separate icon sets for low-, 49 medium-, and high-density screens. This ensures that your icons will display 169 <li>Tab icon dimensions for high-density (<code>hdpi</code>) screens:</li> 184 <li>Tab icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 200 <li>Tab icon dimensions for low-density (<code>ldpi</code>) screens:</li> 243 <p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for other densities.</em></p> 263 <p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for other densities.</em></p> 290 <p>Shown below are standard high-density tab icons that are used in
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
HeadsUpNotificationView.java | 125 float densityScale = getResources().getDisplayMetrics().density; 169 float densityScale = getResources().getDisplayMetrics().density;
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_writer.cpp | 94 mInfo.X_density = DEFAULT_X_DENSITY; // Horizontal pixel density 95 mInfo.Y_density = DEFAULT_Y_DENSITY; // Vertical pixel density
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartGridView.java | 142 paint.density = res.getDisplayMetrics().density;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/scsi/ |
scsi.h | 167 unsigned char density; /* device-specific density code. */ member in struct:ccs_modesel_head
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/scsi/ |
scsi.h | 167 unsigned char density; /* device-specific density code. */ member in struct:ccs_modesel_head
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/scsi/ |
scsi.h | 167 unsigned char density; /* device-specific density code. */ member in struct:ccs_modesel_head
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParser.java | 47 import com.android.resources.Density; 81 private final Density mDensity; 115 * @param density the density factor for the screen. 120 Density density, IProject project) { 125 mDensity = density; 626 f *= (float)mDensity.getDpiValue() / Density.DEFAULT_DENSITY;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationTest.java | 23 import com.android.resources.Density; 101 assertEquals(Density.MEDIUM, configuration.getDensity());
|
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
LabelView.java | 86 // Must manually scale the desired text size to match screen density 87 mTextPaint.setTextSize(16 * getResources().getDisplayMetrics().density);
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_ApplyNewSettings.c | 288 (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density)) 481 if( (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density) || 485 LVM_INT32 b = pPrivate->NewParams.Density * LVREV_B_8_on_1000;
|
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 159 * The logical display density which is the basis for density-independent 388 outMetrics.density = outMetrics.noncompatDensity = 390 outMetrics.scaledDensity = outMetrics.noncompatScaledDensity = outMetrics.density; 436 sb.append(", density ");
|
/frameworks/base/core/jni/ |
android_view_SurfaceControl.cpp | 55 jfieldID density; member in struct:android::__anon31877 387 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.density, info.density); 476 gPhysicalDisplayInfoClassInfo.density = env->GetFieldID(clazz, "density", "F");
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
VirtualDisplayTest.java | 58 private static final int DENSITY = DisplayMetrics.DENSITY_MEDIUM; 114 WIDTH, HEIGHT, DENSITY, mSurface, 0); 137 WIDTH, HEIGHT, DENSITY, mSurface, 165 WIDTH, HEIGHT, DENSITY, mSurface, 218 WIDTH, HEIGHT, DENSITY, mSurface,
|
/frameworks/base/docs/html/about/versions/ |
android-1.5.jd | 360 QVGA-P (240x320, low density, small screen) 363 QVGA-L (320x480, low density, small screen) 366 HVGA (320x480, medium density, normal screen) 369 HVGA-P (320x480, medium density, normal screen) 372 HVGA-L (320x480, medium density, normal screen)
|