OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:scaleddensity
(Results
1 - 20
of
20
) sorted by null
/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
;
/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;
/frameworks/base/core/java/android/util/
DisplayMetrics.java
150
public float
scaledDensity
;
211
scaledDensity
= o.
scaledDensity
;
228
scaledDensity
= density;
235
noncompatScaledDensity =
scaledDensity
;
253
&&
scaledDensity
== other.
scaledDensity
290
", height=" + heightPixels + ",
scaledDensity
=" +
scaledDensity
+
TypedValue.java
329
return value * metrics.
scaledDensity
;
/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);
/sdk/apps/DeviceConfig/res/layout/
main.xml
352
android:text="
scaledDensity
" >
365
android:text="
scaledDensity
" >
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
MyActivity.java
123
tv.setText(String.format("%f", metrics.
scaledDensity
));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java
219
.getDisplayMetrics().
scaledDensity
;
/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java
113
metrics.
scaledDensity
= metrics.noncompatScaledDensity = metrics.density;
/frameworks/base/core/java/android/content/res/
CompatibilityInfo.java
443
inoutDm.
scaledDensity
= inoutDm.noncompatScaledDensity * invertedRatio;
Resources.java
[
all
...]
/frameworks/base/core/java/android/view/
DisplayInfo.java
390
outMetrics.
scaledDensity
= outMetrics.noncompatScaledDensity = outMetrics.density;
/packages/apps/Browser/src/com/android/browser/
BrowserSettings.java
181
mFontSizeMult = metrics.
scaledDensity
/ metrics.density;
Completed in 2380 milliseconds