Searched refs:density (Results 1 – 7 of 7) sorted by relevance
| /appcompat/appcompat-resources/src/main/java/androidx/appcompat/widget/ |
| D | ResourcesWrapper.java | 159 public Drawable getDrawableForDensity(int id, int density) throws NotFoundException { in getDrawableForDensity() argument 163 return ResourcesCompat.getDrawableForDensity(mResources, id, density, null); in getDrawableForDensity() 168 public Drawable getDrawableForDensity(int id, int density, Theme theme) { in getDrawableForDensity() argument 169 return ResourcesCompat.getDrawableForDensity(mResources, id, density, theme); in getDrawableForDensity() 237 public void getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) in getValueForDensity() argument 239 mResources.getValueForDensity(id, density, outValue, resolveRefs); in getValueForDensity()
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/ |
| D | MenuPopupHelper.java | 281 final float density = mContext.getResources().getDisplayMetrics().density; in showPopup() local 282 final int halfSize = (int) (TOUCH_EPICENTER_SIZE_DP * density / 2); in showPopup()
|
| D | ActionMenuItemView.java | 80 final float density = res.getDisplayMetrics().density; in ActionMenuItemView() local 81 mMaxIconSize = (int) (MAX_ICON_SIZE * density + 0.5f); in ActionMenuItemView()
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/widget/ |
| D | ActionMenuView.java | 86 final float density = context.getResources().getDisplayMetrics().density; in ActionMenuView() local 87 mMinCellSize = (int) (MIN_CELL_SIZE * density); in ActionMenuView() 88 mGeneratedItemPadding = (int) (GENERATED_ITEM_PADDING * density); in ActionMenuView()
|
| D | ButtonBarLayout.java | 138 + (int) (PEEK_BUTTON_DP * getResources().getDisplayMetrics().density); in onMeasure()
|
| D | SwitchCompat.java | 250 mTextPaint.density = res.getDisplayMetrics().density; in SwitchCompat()
|
| D | ActionMenuPresenter.java | 130 mMinCellSize = (int) (ActionMenuView.MIN_CELL_SIZE * res.getDisplayMetrics().density); in initForMenu()
|