OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDisplayMetrics
(Results
1 - 11
of
11
) sorted by null
/packages/apps/Settings/src/com/android/settings/
Display.java
69
mDisplayMetrics
= new DisplayMetrics();
70
mDisplayMetrics
.density = metrics.density;
71
mDisplayMetrics
.heightPixels = metrics.heightPixels;
72
mDisplayMetrics
.scaledDensity = metrics.scaledDensity;
73
mDisplayMetrics
.widthPixels = metrics.widthPixels;
74
mDisplayMetrics
.xdpi = metrics.xdpi;
75
mDisplayMetrics
.ydpi = metrics.ydpi;
99
mDisplayMetrics
.scaledDensity =
mDisplayMetrics
.density *
102
float size = mTextSizeTyped.getDimension(
mDisplayMetrics
);
[
all
...]
/frameworks/base/core/java/android/appwidget/
AppWidgetManager.java
326
private DisplayMetrics
mDisplayMetrics
;
354
mDisplayMetrics
= context.getResources().getDisplayMetrics();
578
TypedValue.complexToDimensionPixelSize(info.minWidth,
mDisplayMetrics
);
580
TypedValue.complexToDimensionPixelSize(info.minHeight,
mDisplayMetrics
);
582
TypedValue.complexToDimensionPixelSize(info.minResizeWidth,
mDisplayMetrics
);
584
TypedValue.complexToDimensionPixelSize(info.minResizeHeight,
mDisplayMetrics
);
606
TypedValue.complexToDimensionPixelSize(info.minWidth,
mDisplayMetrics
);
608
TypedValue.complexToDimensionPixelSize(info.minHeight,
mDisplayMetrics
);
610
TypedValue.complexToDimensionPixelSize(info.minResizeWidth,
mDisplayMetrics
);
612
TypedValue.complexToDimensionPixelSize(info.minResizeHeight,
mDisplayMetrics
);
[
all
...]
AppWidgetHost.java
55
private DisplayMetrics
mDisplayMetrics
;
135
mDisplayMetrics
= context.getResources().getDisplayMetrics();
378
TypedValue.complexToDimensionPixelSize(appWidget.minWidth,
mDisplayMetrics
);
380
TypedValue.complexToDimensionPixelSize(appWidget.minHeight,
mDisplayMetrics
);
382
TypedValue.complexToDimensionPixelSize(appWidget.minResizeWidth,
mDisplayMetrics
);
384
TypedValue.complexToDimensionPixelSize(appWidget.minResizeHeight,
mDisplayMetrics
);
/packages/apps/Nfc/src/com/android/nfc/
SendUi.java
120
final DisplayMetrics
mDisplayMetrics
;
183
mDisplayMetrics
= new DisplayMetrics();
320
mDisplay.getRealMetrics(
mDisplayMetrics
);
552
mDisplay.getRealMetrics(
mDisplayMetrics
);
556
float[] dims = {
mDisplayMetrics
.widthPixels,
mDisplayMetrics
.heightPixels};
588
Bitmap ss = Bitmap.createBitmap(
mDisplayMetrics
.widthPixels,
589
mDisplayMetrics
.heightPixels, Bitmap.Config.ARGB_8888);
608
float smallestWidthDp = smallestWidth / (
mDisplayMetrics
.densityDpi / 160f);
/frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java
65
private final DisplayMetrics
mDisplayMetrics
;
71
DisplayMetrics metrics =
mDisplayMetrics
= resources.getDisplayMetrics();
127
bitmapDrawable.setTargetDensity(
mDisplayMetrics
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java
327
private DisplayMetrics
mDisplayMetrics
;
385
mDisplayMetrics
= new DisplayMetrics();
386
mDisplay.getRealMetrics(
mDisplayMetrics
);
394
mBgPaddingScale = mBgPadding /
mDisplayMetrics
.widthPixels;
438
mDisplay.getRealMetrics(
mDisplayMetrics
);
439
float[] dims = {
mDisplayMetrics
.widthPixels,
mDisplayMetrics
.heightPixels};
461
Bitmap ss = Bitmap.createBitmap(
mDisplayMetrics
.widthPixels,
462
mDisplayMetrics
.heightPixels, Bitmap.Config.ARGB_8888);
479
startAnimation(finisher,
mDisplayMetrics
.widthPixels, mDisplayMetrics.heightPixels
[
all
...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
SlidingChallengeLayout.java
64
private DisplayMetrics
mDisplayMetrics
;
251
mDisplayMetrics
= res.getDisplayMetrics();
252
final float density =
mDisplayMetrics
.density;
[
all
...]
MultiPaneChallengeLayout.java
53
private final DisplayMetrics
mDisplayMetrics
;
80
mDisplayMetrics
= res.getDisplayMetrics();
196
virtualHeight =
mDisplayMetrics
.heightPixels - root.getPaddingTop() - mInsets.top;
/frameworks/base/core/java/android/view/
HardwareRenderer.java
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBar.java
262
DisplayMetrics
mDisplayMetrics
= new DisplayMetrics();
371
updateDisplaySize(); // populates
mDisplayMetrics
[
all
...]
/frameworks/base/services/java/com/android/server/wm/
WindowManagerService.java
481
final DisplayMetrics
mDisplayMetrics
= new DisplayMetrics();
[
all
...]
Completed in 652 milliseconds