/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
IconLoader.java | 19 import com.android.resources.Density; 27 private final Density mDesiredDensity; 31 private Density mCurrentDensity; 34 IconLoader(String iconName, Density density, int platformVersion, LayoutDirection direction) { 36 mDesiredDensity = density; 56 * Should only be called after {@link #getIcon()}. Returns the density of the icon, if found by 59 public Density getDensity() { 73 * If a match is found, mCurrentDensity will be set to the icon's density. 76 // First check for the desired density [all...] |
NavigationBar.java | 19 import com.android.resources.Density; 29 public NavigationBar(Context context, Density density, int orientation, boolean isRtl, 49 loadIcon(back, "ic_sysbar_back.png", density, isRtl); 51 loadIcon(2, "ic_sysbar_home.png", density, isRtl); 53 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl);
|
StatusBar.java | 24 import com.android.resources.Density; 44 public StatusBar(Context context, Density density, int direction, boolean RtlEnabled, 61 + Config.getWifiIconType(simulatedPlatformVersion), density); 62 loadIcon(2, "stat_sys_battery_100.png", density); 68 protected void loadIcon(int index, String iconName, Density density) { 70 super.loadIcon(index, iconName, density); 77 IconLoader iconLoader = new IconLoader(iconName, Density.XHIGH,
|
CustomBar.java | 27 import com.android.resources.Density; 93 protected void loadIcon(int index, String iconName, Density density) { 94 loadIcon(index, iconName, density, false); 97 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { 103 IconLoader iconLoader = new IconLoader(iconName, density, mSimulatedPlatformVersion, 108 density = iconLoader.getDensity(); 114 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
InputDensityDialog.java | 18 import com.android.resources.Density; 38 * Density value being chosen - static to keep most recently chosen value 41 private static int sDpi = Density.DEFAULT_DENSITY; 54 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) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_fog.c | 111 d = ctx->Fog.Density; 116 d = ctx->Fog.Density*ctx->Fog.Density;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fog.c | 111 d = ctx->Fog.Density; 116 d = ctx->Fog.Density*ctx->Fog.Density;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 23 import com.android.resources.Density; 55 Density density = Density.MEDIUM; local 58 density = Density.getEnum(opts.inDensity); 75 density); 91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
|
Bitmap_Delegate.java | 22 import com.android.resources.Density; 97 * @param density the density associated with the bitmap 102 public static Bitmap createBitmap(File input, boolean isMutable, Density density) 104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 111 * @param density the density associated with the bitmap 118 Density density) throws IOException [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
VaryingConfiguration.java | 22 import com.android.resources.Density; 281 Density density = getDensity(d); local 282 if (density == Density.TV || density == Density.LOW) { 299 * Returns the density of the given device 302 * @return the density or null 305 private static Density getDensity(@NonNull Device device) [all...] |
ConfigurationMatcher.java | 39 import com.android.resources.Density; 499 // lets look for a high density device 771 // put the sort order for the density. 772 mDensitySort.put(Density.HIGH.getDpiValue(), 1); 773 mDensitySort.put(Density.MEDIUM.getDpiValue(), 2) [all...] |
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
LVREV.h | 113 LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maximum density */
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_SetControlParameters.c | 93 if (pNewParams->Density > LVREV_MAX_DENSITY)
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
ConfigGenerator.java | 38 import com.android.resources.Density; 76 .setDensity(Density.XXHIGH) 91 .setDensity(Density.XHIGH) 106 .setDensity(Density.XHIGH) 127 private Density mDensity = Density.XHIGH; 255 public ConfigGenerator setDensity(Density density) { 256 mDensity = density;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fog.c | 51 d = ctx->Fog.Density; 56 d = ctx->Fog.Density; 69 #define EXP_FOG(f, coord) f = EXPF(density * coord) 185 const GLfloat density = -ctx->Fog.Density; local 204 const GLfloat negDensitySquared = -ctx->Fog.Density * ctx->Fog.Density;
|
/external/mesa3d/src/mesa/swrast/ |
s_fog.c | 51 d = ctx->Fog.Density; 56 d = ctx->Fog.Density; 69 #define EXP_FOG(f, coord) f = EXPF(density * coord) 185 const GLfloat density = -ctx->Fog.Density; local 204 const GLfloat negDensitySquared = -ctx->Fog.Density * ctx->Fog.Density;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
fog.c | 124 if (ctx->Fog.Density == *params) 127 ctx->Fog.Density = *params; 218 ctx->Fog.Density = 1.0;
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_fog.c | 122 d = ctx->Fog.Density; 129 d = ctx->Fog.Density*ctx->Fog.Density;
|
/external/mesa3d/src/mesa/main/ |
fog.c | 124 if (ctx->Fog.Density == *params) 127 ctx->Fog.Density = *params; 218 ctx->Fog.Density = 1.0;
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_fog.c | 122 d = ctx->Fog.Density; 129 d = ctx->Fog.Density*ctx->Fog.Density;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 31 import com.android.resources.Density; 110 metrics.density = metrics.noncompatDensity = 113 metrics.scaledDensity = metrics.noncompatScaledDensity = metrics.density; 262 // clear the stored ViewConfiguration since the map is per density and not per context. 342 Density density = hardwareConfig.getDensity(); local 343 if (density == null) { 344 density = Density.MEDIUM; 347 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue() [all...] |
ResourceHelper.java | 29 import com.android.resources.Density; 179 Density density = Density.MEDIUM; local 181 density = 191 new FileInputStream(file), density, value.isFramework(), 238 density); 266 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density, 290 density); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 38 import com.android.resources.Density; 768 * current theme or density if there's no chance that valid insets will be returned 774 * theme and the given screen density. 777 * @param density the screen density 782 public static Margins getInsets(String fqcn, Density density, String theme) { 786 if (density == Density.HIGH) { 794 } else if (density == Density.MEDIUM) [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/photo/ |
mosaic_mode.js | 734 * @param {Mosaic.Density=} opt_maxDensity Layout density. 739 this.maxDensity_ = opt_maxDensity || Mosaic.Density.createHighest(); 790 this.density_ = Mosaic.Density.createLowest(); 865 // It starts with the lowest density and increases it until the layout 866 // fits into the viewport. If it does not fit even at the highest density, 867 // the layout continues with the highest density. 871 // It starts with the current global density and decreases it until the column 910 // Max density reached, commit if tentative, just continue if dry run. 916 // Rollback the entire layout, retry with higher density [all...] |
/external/chromium_org/ui/file_manager/gallery/js/ |
mosaic_mode.js | 734 * @param {Mosaic.Density=} opt_maxDensity Layout density. 739 this.maxDensity_ = opt_maxDensity || Mosaic.Density.createHighest(); 790 this.density_ = Mosaic.Density.createLowest(); 865 // It starts with the lowest density and increases it until the layout 866 // fits into the viewport. If it does not fit even at the highest density, 867 // the layout continues with the highest density. 871 // It starts with the current global density and decreases it until the column 910 // Max density reached, commit if tentative, just continue if dry run. 916 // Rollback the entire layout, retry with higher density [all...] |