OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DisplayMetrics
(Results
26 - 50
of
211
) sorted by null
1
2
3
4
5
6
7
8
9
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
Galaxy4Wallpaper.java
25
import android.util.
DisplayMetrics
;
51
DisplayMetrics
metrics = new
DisplayMetrics
();
/packages/wallpapers/NoiseField/src/com/android/noisefield/
NoiseFieldWallpaper.java
10
import android.util.
DisplayMetrics
;
35
DisplayMetrics
metrics = new
DisplayMetrics
();
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamWallpaper.java
9
import android.util.
DisplayMetrics
;
32
DisplayMetrics
metrics = new
DisplayMetrics
();
/packages/apps/Settings/src/com/android/settings/
Display.java
26
import android.util.
DisplayMetrics
;
68
DisplayMetrics
metrics = getResources().getDisplayMetrics();
69
mDisplayMetrics = new
DisplayMetrics
();
136
private
DisplayMetrics
mDisplayMetrics;
/cts/tests/tests/permission/src/android/permission/cts/
NoCaptureVideoPermissionTest.java
26
import android.util.
DisplayMetrics
;
35
private static final int DENSITY =
DisplayMetrics
.DENSITY_MEDIUM;
/frameworks/base/core/java/com/android/internal/widget/
WeightedLinearLayout.java
22
import android.util.
DisplayMetrics
;
58
final
DisplayMetrics
metrics = getContext().getResources().getDisplayMetrics();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ListActivity.java
23
import android.util.
DisplayMetrics
;
115
final
DisplayMetrics
metrics = r.getDisplayMetrics();
TransparentListActivity.java
23
import android.util.
DisplayMetrics
;
113
final
DisplayMetrics
metrics = r.getDisplayMetrics();
ViewLayersActivity2.java
23
import android.util.
DisplayMetrics
;
60
final
DisplayMetrics
metrics = r.getDisplayMetrics();
ViewLayersActivity4.java
23
import android.util.
DisplayMetrics
;
64
final
DisplayMetrics
metrics = r.getDisplayMetrics();
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
TextTest.java
22
import android.util.
DisplayMetrics
;
85
DisplayMetrics
metrics = mRes.getDisplayMetrics();
/packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetConfigure.java
26
import android.util.
DisplayMetrics
;
55
DisplayMetrics
display = getResources().getDisplayMetrics();
/frameworks/base/core/java/android/util/
TypedValue.java
143
* treated as the system's default density value: {@link
DisplayMetrics
#DENSITY_DEFAULT}.
227
public static float complexToDimension(int data,
DisplayMetrics
metrics)
252
DisplayMetrics
metrics)
279
DisplayMetrics
metrics)
293
public static float complexToDimensionNoisy(int data,
DisplayMetrics
metrics)
321
DisplayMetrics
metrics)
350
public float getDimension(
DisplayMetrics
metrics)
/frameworks/base/core/java/android/app/
ActivityManager.java
49
import android.util.
DisplayMetrics
;
[
all
...]
Presentation.java
29
import android.util.
DisplayMetrics
;
282
DisplayMetrics
dm = new
DisplayMetrics
();
/frameworks/base/core/java/android/content/res/
CompatibilityInfo.java
26
import android.util.
DisplayMetrics
;
139
applicationDensity =
DisplayMetrics
.DENSITY_DEVICE;
229
applicationDensity =
DisplayMetrics
.DENSITY_DEVICE;
233
applicationDensity =
DisplayMetrics
.DENSITY_DEFAULT;
234
applicationScale =
DisplayMetrics
.DENSITY_DEVICE
235
/ (float)
DisplayMetrics
.DENSITY_DEFAULT;
253
this(NEVER_NEEDS_COMPAT,
DisplayMetrics
.DENSITY_DEVICE,
429
public void applyToDisplayMetrics(
DisplayMetrics
inoutDm) {
477
public static float computeCompatibleScaling(
DisplayMetrics
dm,
DisplayMetrics
outDm)
[
all
...]
/frameworks/base/core/java/android/view/
Display.java
26
import android.util.
DisplayMetrics
;
70
private final
DisplayMetrics
mTempMetrics = new
DisplayMetrics
();
581
* @param outMetrics A {@link
DisplayMetrics
} object to receive the metrics.
583
public void getMetrics(
DisplayMetrics
outMetrics) {
619
* @param outMetrics A {@link
DisplayMetrics
} object to receive the metrics.
621
public void getRealMetrics(
DisplayMetrics
outMetrics) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
PackageUtil.java
28
import android.util.
DisplayMetrics
;
55
DisplayMetrics
metrics = new
DisplayMetrics
();
71
DisplayMetrics
metrics = new
DisplayMetrics
();
/frameworks/base/test-runner/src/android/test/mock/
MockResources.java
26
import android.util.
DisplayMetrics
;
46
public void updateConfiguration(Configuration config,
DisplayMetrics
metrics) {
189
public
DisplayMetrics
getDisplayMetrics() {
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
PlayheadView.java
28
import android.util.
DisplayMetrics
;
72
final
DisplayMetrics
metrics = new
DisplayMetrics
();
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SnapScrollController.java
8
import android.util.
DisplayMetrics
;
106
final
DisplayMetrics
metrics = context.getResources().getDisplayMetrics();
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DeviceDisplayInfo.java
12
import android.util.
DisplayMetrics
;
153
private
DisplayMetrics
getMetrics() {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewConfiguration.java
24
import android.util.
DisplayMetrics
;
74
DisplayMetrics
metrics = context.getResources().getDisplayMetrics();
ShadowResources.java
12
import android.util.
DisplayMetrics
;
37
private
DisplayMetrics
displayMetrics
;
133
displayMetrics
= null;
137
public
DisplayMetrics
getDisplayMetrics() {
138
if (
displayMetrics
== null) {
143
displayMetrics
= new
DisplayMetrics
();
144
display.getMetrics(
displayMetrics
);
146
displayMetrics
.density = this.density
[
all
...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
PhotoBitmapLoader.java
25
import android.util.
DisplayMetrics
;
59
result.bitmap.setDensity(
DisplayMetrics
.DENSITY_MEDIUM);
Completed in 1146 milliseconds
1
2
3
4
5
6
7
8
9