OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DisplayMetrics
(Results
126 - 150
of
211
) sorted by null
1
2
3
4
5
6
7
8
9
/packages/apps/Gallery/src/com/android/camera/
GridViewSpecial.java
33
import android.util.
DisplayMetrics
;
81
DisplayMetrics
metrics) {
96
DisplayMetrics
metrics = new
DisplayMetrics
();
105
private static int dpToPx(int dp,
DisplayMetrics
metrics) {
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
DeviceProfile.java
29
import android.util.
DisplayMetrics
;
153
DisplayMetrics
dm = res.getDisplayMetrics();
249
DisplayMetrics
dm = resources.getDisplayMetrics();
269
DisplayMetrics
dm = resources.getDisplayMetrics();
312
DisplayMetrics
dm) {
[
all
...]
Utilities.java
36
import android.util.
DisplayMetrics
;
310
final
DisplayMetrics
metrics = resources.getDisplayMetrics();
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java
39
import android.util.
DisplayMetrics
;
305
DisplayMetrics
disMetrics = new
DisplayMetrics
();
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java
41
import android.util.
DisplayMetrics
;
546
// Create a new
DisplayMetrics
object
547
final
DisplayMetrics
metrics = new android.util.
DisplayMetrics
();
549
// Populate the
DisplayMetrics
552
// Return theme value based on
DisplayMetrics
[
all
...]
/frameworks/base/core/java/android/content/pm/
PackageManager.java
33
import android.util.
DisplayMetrics
;
[
all
...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardTransportControlView.java
44
import android.util.
DisplayMetrics
;
278
final
DisplayMetrics
dm = context.getResources().getDisplayMetrics();
366
final
DisplayMetrics
dm = getContext().getResources().getDisplayMetrics();
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
BridgeResources.java
37
import android.util.
DisplayMetrics
;
94
DisplayMetrics
metrics,
116
private BridgeResources(BridgeContext context, AssetManager assets,
DisplayMetrics
metrics,
/packages/apps/LegacyCamera/src/com/android/camera/
Util.java
42
import android.util.
DisplayMetrics
;
95
DisplayMetrics
metrics = new
DisplayMetrics
();
/packages/apps/Nfc/src/com/android/nfc/
SendUi.java
36
import android.util.
DisplayMetrics
;
120
final
DisplayMetrics
mDisplayMetrics;
183
mDisplayMetrics = new
DisplayMetrics
();
/packages/apps/Settings/src/com/android/settings/
KeyguardAppWidgetPickActivity.java
43
import android.util.
DisplayMetrics
;
112
DisplayMetrics
dm = new
DisplayMetrics
();
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
MediaItemView.java
33
import android.util.
DisplayMetrics
;
124
final
DisplayMetrics
metrics = new
DisplayMetrics
();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PicasaSource.java
23
import android.util.
DisplayMetrics
;
96
DisplayMetrics
metrics = new
DisplayMetrics
();
/frameworks/base/core/java/android/view/
HardwareRenderer.java
35
import android.util.
DisplayMetrics
;
737
abstract void prepare(
DisplayMetrics
metrics);
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderSessionImpl.java
68
import android.util.
DisplayMetrics
;
180
DisplayMetrics
metrics = getContext().getMetrics();
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayTest.java
32
import android.util.
DisplayMetrics
;
72
private static final int DENSITY =
DisplayMetrics
.DENSITY_HIGH;
/development/samples/ApiDemos/src/com/example/android/apis/view/
SystemUIModes.java
28
import android.util.
DisplayMetrics
;
164
DisplayMetrics
dm = getResources().getDisplayMetrics();
165
return String.format("
DisplayMetrics
= (%d x %d)", dm.widthPixels, dm.heightPixels);
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java
32
import android.util.
DisplayMetrics
;
116
DisplayMetrics
metrics = context.getResources().getDisplayMetrics();
/frameworks/base/core/java/com/android/internal/widget/
AutoScrollHelper.java
21
import android.util.
DisplayMetrics
;
211
final
DisplayMetrics
metrics = Resources.getSystem().getDisplayMetrics();
[
all
...]
/frameworks/base/core/tests/coretests/src/android/hardware/display/
VirtualDisplayTest.java
34
import android.util.
DisplayMetrics
;
58
private static final int DENSITY =
DisplayMetrics
.DENSITY_MEDIUM;
/frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java
38
import android.util.
DisplayMetrics
;
839
? res.getDisplayMetrics().noncompatDensityDpi :
DisplayMetrics
.DENSITY_DEVICE;
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsVerticalScrollView.java
25
import android.util.
DisplayMetrics
;
356
DisplayMetrics
dm = getResources().getDisplayMetrics();
/packages/apps/Camera/src/com/android/camera/ui/
Switch.java
34
import android.util.
DisplayMetrics
;
123
DisplayMetrics
dm = res.getDisplayMetrics();
/packages/apps/Camera2/src/com/android/camera/ui/
Switch.java
33
import android.util.
DisplayMetrics
;
116
DisplayMetrics
dm = res.getDisplayMetrics();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationListView.java
11
import android.util.
DisplayMetrics
;
129
DisplayMetrics
displayMetrics
= getResources().getDisplayMetrics();
130
mDensity =
displayMetrics
.density;
134
float threshold = (
displayMetrics
.heightPixels) / mDensity / 2.5f;
Completed in 1812 milliseconds
1
2
3
4
5
6
7
8
9