OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mMetrics
(Results
1 - 16
of
16
) sorted by null
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java
27
private final DisplayMetrics
mMetrics
;
31
mMetrics
= metrics;
34
info.logicalHeight =
mMetrics
.heightPixels;
35
info.logicalWidth =
mMetrics
.widthPixels;
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
StringTexture.java
35
private final FontMetricsInt
mMetrics
;
42
mMetrics
= metrics;
85
canvas.translate(0, -
mMetrics
.ascent);
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DeviceInfoResult.java
69
private Map<String, String>
mMetrics
= new HashMap<String, String>();
80
if (
mMetrics
.isEmpty()) {
88
Map<String, String> metricsCopy = new HashMap<String, String>(
mMetrics
);
238
mMetrics
.put(DeviceInfoConstants.FEATURES, parseFeatures(parser));
240
mMetrics
.put(DeviceInfoConstants.PROCESSES, parseProcess(parser));
242
mMetrics
.put(DeviceInfoConstants.SYS_LIBRARIES, parseSystemLibraries(parser));
244
mMetrics
.put(DeviceInfoConstants.OPEN_GL_COMPRESSED_TEXTURE_FORMATS,
333
mMetrics
.put(parser.getAttributeName(i), parser.getAttributeValue(i));
344
if (
mMetrics
.isEmpty()) {
346
mMetrics
.putAll(metrics)
[
all
...]
TestPackageResult.java
58
private Map<String, String>
mMetrics
= new HashMap<String, String>();
217
mMetrics
.putAll(metrics);
230
if (
mMetrics
.isEmpty()) {
232
mMetrics
.putAll(metrics);
248
String currentValue =
mMetrics
.get(metricEntry.getKey());
255
mMetrics
.put(metricEntry.getKey(),
259
mMetrics
.put(metricEntry.getKey(), metricEntry.getValue());
317
return
mMetrics
;
/cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java
86
final DisplayMetrics
mMetrics
;
90
mMetrics
= new DisplayMetrics();
118
mMetrics
.widthPixels = value;
119
mMetrics
.noncompatWidthPixels = value;
122
mMetrics
.heightPixels = value;
123
mMetrics
.noncompatHeightPixels = value;
127
mMetrics
.density = (((float)value)/((float)DisplayMetrics.DENSITY_DEFAULT));
128
mMetrics
.noncompatDensity =
mMetrics
.density;
168
return new Resources(assmgr,
mMetrics
, mConfig)
[
all
...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
TextCandidates1LineViewManager.java
120
private final DisplayMetrics
mMetrics
= new DisplayMetrics();
210
mMetrics
.setToDefaults();
229
mCandidateMinimumWidth = (int)(CANDIDATE_MINIMUM_WIDTH *
mMetrics
.density);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
IWindowManagerImpl.java
50
private final DisplayMetrics
mMetrics
;
57
mMetrics
= metrics;
65
return
mMetrics
;
/packages/apps/Settings/src/com/android/settings/
ActivityPicker.java
328
private final DisplayMetrics
mMetrics
;
336
mMetrics
= metrics;
371
bitmapDrawable.setTargetDensity(
mMetrics
);
405
((BitmapDrawable) icon).setTargetDensity(
mMetrics
);
420
((BitmapDrawable) icon).setTargetDensity(
mMetrics
);
/frameworks/base/core/java/android/content/res/
Resources.java
120
/*package*/ final DisplayMetrics
mMetrics
= new DisplayMetrics();
197
mMetrics
.setToDefaults();
548
return TypedValue.complexToDimension(value.data,
mMetrics
);
584
value.data,
mMetrics
);
621
value.data,
mMetrics
);
748
value.density =
mMetrics
.densityDpi;
750
value.density = (value.density *
mMetrics
.densityDpi) / density;
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Paint_Delegate.java
60
java.awt.FontMetrics
mMetrics
;
508
java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).
mMetrics
;
525
java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).
mMetrics
;
553
java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).
mMetrics
;
941
float adv = info.
mMetrics
.charWidth(c);
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeContext.java
97
private final DisplayMetrics
mMetrics
;
138
mMetrics
= metrics;
150
mWindowManager = new WindowManagerImpl(
mMetrics
);
165
mMetrics
,
195
return
mMetrics
;
[
all
...]
/frameworks/base/services/java/com/android/server/pm/
PackageManagerService.java
275
final DisplayMetrics
mMetrics
;
[
all
...]
/prebuilts/devtools/tools/lib/
ddmlib.jar
/prebuilts/gradle-plugin/com/android/tools/ddms/ddmlib/22.2.0/
ddmlib-22.2.0.jar
/prebuilts/misc/common/ddmlib/
ddmlib-prebuilt.jar
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
Completed in 3122 milliseconds