OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaledDensity
(Results
1 - 25
of
29
) sorted by null
1
2
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java
23
private float
scaledDensity
= 1.0f;
37
outMetrics.
scaledDensity
=
scaledDensity
;
102
return
scaledDensity
;
105
public void setScaledDensity(float
scaledDensity
) {
106
this.
scaledDensity
=
scaledDensity
;
ShadowTypedValue.java
104
return value * metrics.
scaledDensity
;
/frameworks/base/core/java/android/util/
DisplayMetrics.java
142
public float
scaledDensity
;
203
scaledDensity
= o.
scaledDensity
;
220
scaledDensity
= density;
227
noncompatScaledDensity =
scaledDensity
;
245
&&
scaledDensity
== other.
scaledDensity
282
", height=" + heightPixels + ",
scaledDensity
=" +
scaledDensity
+
TypedValue.java
329
return value * metrics.
scaledDensity
;
/cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java
41
assertTrue((0.1 <= outMetrics.
scaledDensity
) && (outMetrics.
scaledDensity
<= 3));
53
assertTrue((0.1 <= metrics.
scaledDensity
) && (metrics.
scaledDensity
<= 3));
TypedValueTest.java
41
dm.
scaledDensity
= 2.1f;
83
dm.
scaledDensity
= 2.1f;
132
dm.
scaledDensity
= 2.1f;
139
assertEquals(10 * dm.
scaledDensity
, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP,
198
dm.
scaledDensity
= 2.1f;
213
dm.
scaledDensity
= 2.1f;
/packages/apps/Settings/src/com/android/settings/
Display.java
72
mDisplayMetrics.
scaledDensity
= metrics.
scaledDensity
;
99
mDisplayMetrics.
scaledDensity
= mDisplayMetrics.density *
/development/apps/Development/src/com/android/development/
ConfigurationViewer.java
59
+ "
scaledDensity
=" + m.
scaledDensity
+ "\n"
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DisplayTest.java
34
assertEquals(1.6f, metrics.
scaledDensity
, 0.05);
/cts/tests/tests/display/src/android/display/cts/
DisplayTest.java
147
assertTrue(SCALE_DENSITY_LOWER_BOUND <= outMetrics.
scaledDensity
148
&& outMetrics.
scaledDensity
<= SCALE_DENSITY_UPPER_BOUND);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java
219
.getDisplayMetrics().
scaledDensity
;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java
113
metrics.
scaledDensity
= metrics.noncompatScaledDensity = metrics.density;
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
MyActivity.java
123
tv.setText(String.format("%f", metrics.
scaledDensity
));
/frameworks/base/core/java/android/view/
DisplayInfo.java
346
outMetrics.
scaledDensity
= outMetrics.noncompatScaledDensity = outMetrics.density;
/packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectsActivity.java
98
final int widthDip = (int) (displayMetrics.widthPixels / displayMetrics.
scaledDensity
);
VideoEditorActivity.java
213
int widthDip = (int) (displayMetrics.widthPixels / displayMetrics.
scaledDensity
);
[
all
...]
/frameworks/base/core/java/android/content/res/
CompatibilityInfo.java
443
inoutDm.
scaledDensity
= inoutDm.noncompatScaledDensity * invertedRatio;
Resources.java
[
all
...]
/packages/apps/Browser/src/com/android/browser/
BrowserSettings.java
186
mFontSizeMult = metrics.
scaledDensity
/ metrics.density;
[
all
...]
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
Completed in 3102 milliseconds
1
2