OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mMetrics
(Results
1 - 15
of
15
) 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
65
private Map<String, String>
mMetrics
= new HashMap<String, String>();
76
if (!
mMetrics
.isEmpty()) {
79
Map<String, String> metricsCopy = new HashMap<String, String>(
mMetrics
);
223
mMetrics
.put(DeviceInfoConstants.FEATURES, parseFeatures(parser));
225
mMetrics
.put(DeviceInfoConstants.PROCESSES, parseProcess(parser));
227
mMetrics
.put(DeviceInfoConstants.SYS_LIBRARIES, parseSystemLibraries(parser));
229
mMetrics
.put(DeviceInfoConstants.OPEN_GL_COMPRESSED_TEXTURE_FORMATS,
318
mMetrics
.put(parser.getAttributeName(i), parser.getAttributeValue(i));
329
if (
mMetrics
.isEmpty()) {
331
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
;
939
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
266
final DisplayMetrics
mMetrics
;
[
all
...]
/prebuilts/devtools/tools/lib/
ddmlib.jar
/prebuilts/misc/common/ddmlib/
ddmlib-prebuilt.jar
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
Completed in 818 milliseconds