Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/workprofile/
DPersonalWorkSlidingTabStrip.java99 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/
DSplitConfigurationOptions.java167 float totalWidth = rightBottomBounds.right - leftTopBounds.left; in SplitBounds() local
169 leftTaskPercent = leftTopBounds.width() / totalWidth; in SplitBounds()
171 dividerWidthPercent = visualDividerBounds.width() / totalWidth; in SplitBounds()
/packages/apps/Settings/src/com/android/settings/widget/
DSlidingTabLayout.java90 final int totalWidth = getMeasuredWidth(); in onLayout() local
98 mIndicatorView.layout(totalWidth - indicatorWidth, in onLayout()
99 indicatorBottom - indicatorHeight, totalWidth, in onLayout()
DMatchParentShrinkingLinearLayout.java1060 int widthMeasureSpec, int totalWidth, int heightMeasureSpec, in measureChildBeforeLayout() argument
1062 measureChildWithMargins(child, widthMeasureSpec, totalWidth, in measureChildBeforeLayout()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java466 int totalWidth = (int) (1.0f * screenWidth / 2 * (screenHeight - 2 * placeholderInset) in getInitialSplitPlaceholderBounds() local
470 out.right += totalWidth - width; in getInitialSplitPlaceholderBounds()
472 out.left -= totalWidth - width; in getInitialSplitPlaceholderBounds()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java510 final int totalWidth = effectiveWidth - mGapBetweenLabelAndData; in onMeasure() local
511 dataWidth = ((totalWidth * mDataViewWidthWeight) in onMeasure()
513 labelWidth = ((totalWidth * mLabelViewWidthWeight) / in onMeasure()