Searched refs:totalWidth (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/workprofile/ |
D | PersonalWorkSlidingTabStrip.java | 99 public static int getTabWidth(Context context, int totalWidth) { in getTabWidth() argument 101 int iconPadding = totalWidth / grid.numShownAllAppsColumns - grid.allAppsIconSizePx; in getTabWidth() 102 return totalWidth - iconPadding; in getTabWidth()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | SplitConfigurationOptions.java | 165 float totalWidth = rightBottomBounds.right - leftTopBounds.left; in SplitBounds() local 167 leftTaskPercent = leftTopBounds.width() / totalWidth; in SplitBounds() 169 dividerWidthPercent = visualDividerBounds.width() / totalWidth; in SplitBounds()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SlidingTabLayout.java | 90 final int totalWidth = getMeasuredWidth(); in onLayout() local 98 mIndicatorView.layout(totalWidth - indicatorWidth, in onLayout() 99 indicatorBottom - indicatorHeight, totalWidth, in onLayout()
|
D | MatchParentShrinkingLinearLayout.java | 1061 int widthMeasureSpec, int totalWidth, int heightMeasureSpec, in measureChildBeforeLayout() argument 1063 measureChildWithMargins(child, widthMeasureSpec, totalWidth, in measureChildBeforeLayout()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | PhonePortraitNavLayoutter.kt | 50 val totalWidth = context.deviceProfile.widthPx in layoutButtons() constant 56 val contentWidth = totalWidth - roundedCornerContentMargin * 2 - contentPadding * 2 in layoutButtons()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | PortraitPagedViewHandler.java | 391 int totalWidth = (int) (1.0f * screenWidth / 2 * (screenHeight - 2 * placeholderInset) in getInitialSplitPlaceholderBounds() local 395 out.right += totalWidth - width; in getInitialSplitPlaceholderBounds() 397 out.left -= totalWidth - width; in getInitialSplitPlaceholderBounds()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListItemView.java | 510 final int totalWidth = effectiveWidth - mGapBetweenLabelAndData; in onMeasure() local 511 dataWidth = ((totalWidth * mDataViewWidthWeight) in onMeasure() 513 labelWidth = ((totalWidth * mLabelViewWidthWeight) / in onMeasure()
|