Home
last modified time | relevance | path

Searched defs:displayMetrics (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/
DDimensionConsistencyTest.java62 DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics(); in dp2Px() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java109 DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics(); in dp2Px() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java47 DisplayMetrics displayMetrics = new DisplayMetrics(); in setup() local
DClassifierTest.java39 DisplayMetrics displayMetrics = new DisplayMetrics(); in setup() local
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DButtonFooterMixinTest.java169 DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics(); in dp2Px() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java63 DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics(); in HumanInteractionClassifier() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java53 public FalsingDataProvider(DisplayMetrics displayMetrics) { in FalsingDataProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java156 DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); in getHorizontalVerticalSpacing() local
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java438 public void updateDimensions(DisplayMetrics displayMetrics) { in updateDimensions()
/frameworks/base/core/java/com/android/internal/widget/
DLinearSmoothScroller.java161 protected float calculateSpeedPerPixel(DisplayMetrics displayMetrics) { in calculateSpeedPerPixel()
DMessagingGroup.java107 DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); in onFinishInflate() local
DMessagingLayout.java125 DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); in onFinishInflate() local
/frameworks/base/core/java/android/widget/
DEditor.java3317 final DisplayMetrics displayMetrics = mTextView.getResources().getDisplayMetrics(); in measureContent() local
3348 final DisplayMetrics displayMetrics = mTextView.getResources().getDisplayMetrics(); in updatePosition() local
3761 final DisplayMetrics displayMetrics = mTextView.getResources().getDisplayMetrics(); in measureContent() local
3815 final DisplayMetrics displayMetrics = mTextView.getResources().getDisplayMetrics(); in clipVertically() local
DCalendarViewLegacyDelegate.java302 DisplayMetrics displayMetrics = mDelegator.getResources().getDisplayMetrics(); in CalendarViewLegacyDelegate() local
DTextView.java1691 final DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); local
1762 final DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); in setAutoSizeTextTypeWithDefaults() local
1818 final DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); in setAutoSizeTextTypeUniformWithConfiguration() local
1866 final DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); in setAutoSizeTextTypeUniformWithPresetSizes() local
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java771 final DisplayMetrics displayMetrics = displayContent.getDisplayMetrics(); in getStackOutset() local
DWindowState.java2304 final DisplayMetrics displayMetrics = getDisplayContent().getDisplayMetrics(); in getSurfaceTouchableRegion() local
DWindowManagerService.java6580 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1940 final DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics(); in dipToPx() local