HomeSort by relevance Sort by last modified time
    Searched refs:Density (Results 1 - 25 of 63) sorted by null

1 2 3

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
FakeActionBar.java 19 import com.android.resources.Density;
31 public FakeActionBar(Context context, Density density, String label, String icon)
33 super(context, density, LinearLayout.HORIZONTAL, "/bars/action_bar.xml", "action_bar.xml");
TitleBar.java 19 import com.android.resources.Density;
31 public TitleBar(Context context, Density density, String label)
33 super(context, density, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml");
NavigationBar.java 19 import com.android.resources.Density;
30 public NavigationBar(Context context, Density density, int orientation, boolean isRtl,
32 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml");
48 loadIcon(back, "ic_sysbar_back.png", density, isRtl);
49 loadIcon(2, "ic_sysbar_home.png", density, isRtl);
50 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl);
StatusBar.java 19 import com.android.resources.Density;
33 public StatusBar(Context context, Density density, int direction, boolean RtlEnabled)
37 super(context, density, LinearLayout.HORIZONTAL, "/bars/status_bar.xml", "status_bar.xml");
47 loadIcon(1, "stat_sys_wifi_signal_4_fully.png", density);
48 loadIcon(2, "stat_sys_battery_charge_anim100.png", density);
CustomBar.java 27 import com.android.resources.Density;
64 protected CustomBar(Context context, Density density, int orientation, String layoutPath,
90 private InputStream getIcon(String iconName, Density[] densityInOut, LayoutDirection direction,
92 // current density
93 Density density = densityInOut[0]; local
97 pathOut[0] = "/bars/" + direction.getResourceValue() + "-" + density.getResourceValue()
100 pathOut[0] = "/bars/" + density.getResourceValue() + "/" + iconName;
105 for (Density d : Density.values())
    [all...]
  /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 22 import com.android.resources.Density;
54 Density density = Density.MEDIUM; local
57 density = Density.getEnum(opts.inDensity);
74 density);
88 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
Bitmap_Delegate.java 22 import com.android.resources.Density;
95 * @param density the density associated with the bitmap
100 public static Bitmap createBitmap(File input, boolean isMutable, Density density)
102 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
109 * @param density the density associated with the bitmap
116 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)
  /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 28 import com.android.resources.Density;
175 Density density = Density.MEDIUM; local
177 density =
187 new FileInputStream(file), density, value.isFramework(),
234 density);
262 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density,
286 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/chrome/browser/resources/file_manager/foreground/js/photo/
mosaic_mode.js 713 * @param {Mosaic.Density=} opt_maxDensity Layout density.
718 this.maxDensity_ = opt_maxDensity || Mosaic.Density.createHighest();
769 this.density_ = Mosaic.Density.createLowest();
844 // It starts with the lowest density and increases it until the layout
845 // fits into the viewport. If it does not fit even at the highest density,
846 // the layout continues with the highest density.
850 // It starts with the current global density and decreases it until the column
889 // Max density reached, commit if tentative, just continue if dry run.
895 // Rollback the entire layout, retry with higher density
    [all...]
  /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;

Completed in 735 milliseconds

1 2 3