OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDisplayMetrics
(Results
76 - 100
of
354
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TransparentListActivity.java
113
final DisplayMetrics metrics = r.
getDisplayMetrics
();
ViewLayersActivity2.java
60
final DisplayMetrics metrics = r.
getDisplayMetrics
();
ViewLayersActivity4.java
64
final DisplayMetrics metrics = r.
getDisplayMetrics
();
DisplayListLayersActivity.java
79
return (int) (getResources().
getDisplayMetrics
().density * size + 0.5f);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
TextTest.java
85
DisplayMetrics metrics = mRes.
getDisplayMetrics
();
/packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetConfigure.java
55
DisplayMetrics display = getResources().
getDisplayMetrics
();
/packages/apps/Settings/src/com/android/settings/widget/
PieChartView.java
90
mPaintOutline.setStrokeWidth(3f * getResources().
getDisplayMetrics
().density);
93
mSideWidth = (int) (20 * getResources().
getDisplayMetrics
().density);
106
final int width = (int) (280 * res.
getDisplayMetrics
().density);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsHorizontalScrollView.java
59
float densityScale = getResources().
getDisplayMetrics
().density;
298
float densityScale = getResources().
getDisplayMetrics
().density;
346
DisplayMetrics dm = getResources().
getDisplayMetrics
();
/cts/tests/tests/content/src/android/content/res/cts/
PluralResourcesTest.java
46
return new Resources(mResources.getAssets(), mResources.
getDisplayMetrics
(), config);
/development/samples/ApiDemos/src/com/example/android/apis/view/
LabelView.java
88
mTextPaint.setTextSize(16 * getResources().
getDisplayMetrics
().density);
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
SharingReceiverSupport.java
48
final float density = getResources().
getDisplayMetrics
().density;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SnapScrollController.java
106
final DisplayMetrics metrics = context.getResources().
getDisplayMetrics
();
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DeviceDisplayInfo.java
154
return mAppContext.getResources().
getDisplayMetrics
();
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewConfiguration.java
74
DisplayMetrics metrics = context.getResources().
getDisplayMetrics
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ViewConfigurationTest.java
40
assertEquals(1f, context.getResources().
getDisplayMetrics
().density);
/packages/apps/Camera2/src/com/android/camera/drawable/
TextDrawable.java
50
DEFAULT_TEXTSIZE, res.
getDisplayMetrics
());
/packages/apps/Launcher2/src/com/android/launcher2/
LauncherApplication.java
49
sScreenDensity = getResources().
getDisplayMetrics
().density;
/packages/apps/Launcher3/src/com/android/launcher3/
DynamicGrid.java
56
DisplayMetrics dm = resources.
getDisplayMetrics
();
/packages/apps/Mms/src/com/android/mms/ui/
QuickContactDivot.java
59
mDensity = r.
getDisplayMetrics
().density;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
LocaleUtils.java
174
res.updateConfiguration(conf, res.
getDisplayMetrics
());
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
LabelView.java
87
mTextPaint.setTextSize(16 * getResources().
getDisplayMetrics
().density);
/developers/build/prebuilts/gradle/SlidingTabsBasic/SlidingTabsBasicSample/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
98
mTitleOffset = (int) (TITLE_OFFSET_DIPS * getResources().
getDisplayMetrics
().density);
191
int padding = (int) (TAB_VIEW_PADDING_DIPS * getResources().
getDisplayMetrics
().density);
/developers/build/prebuilts/gradle/SlidingTabsColors/SlidingTabsColorsSample/src/main/java/com/example/android/common/view/
SlidingTabLayout.java
98
mTitleOffset = (int) (TITLE_OFFSET_DIPS * getResources().
getDisplayMetrics
().density);
191
int padding = (int) (TAB_VIEW_PADDING_DIPS * getResources().
getDisplayMetrics
().density);
/developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabLayout.java
98
mTitleOffset = (int) (TITLE_OFFSET_DIPS * getResources().
getDisplayMetrics
().density);
191
int padding = (int) (TAB_VIEW_PADDING_DIPS * getResources().
getDisplayMetrics
().density);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
NavigationPopup.java
69
float density = mContext.getResources().
getDisplayMetrics
().density;
171
float density = mContext.getResources().
getDisplayMetrics
().density;
Completed in 974 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>