Searched defs:density (Results 1 - 25 of 25) sorted by relevance

/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
H A DDensityBasedResourceValue.java28 com.android.resources.Density density, boolean isFramework) {
30 mDensity = density;
34 * Returns the density for which this resource is configured.
35 * @return the density.
54 + " (density:" + mDensity +", framework:" + isFramework() + ")]";
27 DensityBasedResourceValue(ResourceType type, String name, String value, com.android.resources.Density density, boolean isFramework) argument
H A DDrawableParams.java37 * @param density the density factor for the screen.
60 Density density, float xdpi, float ydpi,
65 super(projectKey, screenWidth, screenHeight, density, xdpi, ydpi,
56 DrawableParams( ResourceValue drawable, Object projectKey, int screenWidth, int screenHeight, Density density, float xdpi, float ydpi, RenderResources renderResources, IProjectCallback projectCallback, int minSdkVersion, int targetSdkVersion, LayoutLog log) argument
H A DSessionParams.java67 * @param density the density factor for the screen.
91 Density density, float xdpi, float ydpi,
96 super(projectKey, screenWidth, screenHeight, density, xdpi, ydpi,
86 SessionParams( ILayoutPullParser layoutDescription, RenderingMode renderingMode, Object projectKey, int screenWidth, int screenHeight, Density density, float xdpi, float ydpi, RenderResources renderResources, IProjectCallback projectCallback, int minSdkVersion, int targetSdkVersion, LayoutLog log) argument
H A DRenderParams.java60 * @param density the density factor for the screen.
82 Density density, float xdpi, float ydpi,
90 mDensity = density;
79 RenderParams( Object projectKey, int screenWidth, int screenHeight, Density density, float xdpi, float ydpi, RenderResources renderResources, IProjectCallback projectCallback, int minSdkVersion, int targetSdkVersion, LayoutLog log) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
H A DInputDensityDialog.java54 lblWhatIsThe.setText("What is the screen density the current px value works with?");
63 for (Density density : Density.values()) {
64 if (density == Density.NODPI) {
67 if (density.getDpiValue() == sDpi) {
70 s.add(getLabel(density));
80 private static String getLabel(Density density) { argument
81 return String.format("%1$s (%2$d)", density.getShortDisplayValue(), density.getDpiValue());
99 for (Density density : Density.values()) {
100 if (description.equals(getLabel(density))) {
[all...]
/sdk/layoutlib_api/src/com/android/layoutlib/api/
H A DILayoutBridge.java90 * @param density the density factor for the screen.
114 int density, float xdpi, float ydpi,
127 * @param density the density factor for the screen.
150 int screenWidth, int screenHeight, int density, float xdpi, float ydpi,
111 computeLayout(IXmlPullParser layoutDescription, Object projectKey, int screenWidth, int screenHeight, boolean renderFullSize, int density, float xdpi, float ydpi, String themeName, boolean isProjectTheme, Map<String, Map<String, IResourceValue>> projectResources, Map<String, Map<String, IResourceValue>> frameworkResources, IProjectCallback projectCallback, ILayoutLog logger) argument
148 computeLayout(IXmlPullParser layoutDescription, Object projectKey, int screenWidth, int screenHeight, int density, float xdpi, float ydpi, String themeName, boolean isProjectTheme, Map<String, Map<String, IResourceValue>> projectResources, Map<String, Map<String, IResourceValue>> frameworkResources, IProjectCallback projectCallback, ILayoutLog logger) argument
/sdk/assetstudio/src/com/android/assetstudiolib/
H A DGraphicGenerator.java57 /** The density to generate the icon with */
58 public Density density = Density.XHIGH; field in class:GraphicGenerator.Options
126 * density, but is also sometimes modified by options. For example, in some
130 return "res/drawable-" + options.density.getResourceValue(); //$NON-NLS-1$
140 * density name will be used)
151 // Sort density values into ascending order
159 for (Density density : densityValues) {
160 if (!density.isValidValueForDevice()) {
163 if (density == Density.TV || density
192 getMdpiScaleFactor(Density density) argument
[all...]
/sdk/layoutlib_api/sample/src/com/example/android/render/
H A DRenderServiceFactory.java97 * @param density
112 Density density,
136 int wdp = (width * Density.DEFAULT_DENSITY) / density.getDpiValue();
137 int hdp = (height * Density.DEFAULT_DENSITY) / density.getDpiValue();
146 config.addQualifier(new DensityQualifier(density));
106 createConfig( int size1, int size2, ScreenSize screenSize, ScreenRatio screenRatio, ScreenOrientation orientation, Density density, TouchScreen touchScreen, KeyboardState keyboardState, Keyboard keyboard, NavigationState navigationState, Navigation navigation, int apiLevel) argument
/sdk/layoutlib_api/src/com/android/resources/
H A DDensity.java23 * as well as other places needing to know the density values.
41 private Density(String value, String displayValue, int density, int since) { argument
44 mDensity = density;
64 * Returns the enum matching the given density value
65 * @param value The density value.
66 * @return the enum for the density value or null if no match was found.
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/
H A DSettingsController.java205 * @param density the density of the monitor
208 public void setMonitorDensity(int density) { argument
210 ISettingsPage.KEY_MONITOR_DENSITY, Integer.toString(density));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
H A DUiElementPullParser.java116 * @param density the density factor for the screen.
122 Density density, float xdpi, IProject project) {
127 mDensity = density;
120 UiElementPullParser(UiElementNode top, boolean explodeRendering, Set<UiElementNode> explodeNodes, Density density, float xdpi, IProject project) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DViewMetadataRepository.java764 * current theme or density if there's no chance that valid insets will be returned
770 * theme and the given screen density.
773 * @param density the screen density
778 public static Margins getInsets(String fqcn, Density density, String theme) { argument
782 if (density == Density.HIGH) {
790 } else if (density == Density.MEDIUM) {
798 } else if (density == Density.LOW) {
808 if (density == Density.HIGH) {
816 } else if (density
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
H A DAdtPrefs.java436 public void setMonitorDensity(float density) { argument
437 mMonitorDensity = density;
441 store.setValue(PREFS_MONITOR_DENSITY, density);
/sdk/apps/NotificationStudio/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/util/ ...
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/libsAndJarTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/libsAndJarTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...

Completed in 1937 milliseconds