Home
last modified time | relevance | path

Searched refs:weightSum (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DConversationHeaderLinearLayout.java131 void balanceViewWidths(List<ViewInfo> viewInfos, float weightSum, int excessContents) { in balanceViewWidths() argument
137 while (performAnotherPass && excessContents > 0 && weightSum > 0) { in balanceViewWidths()
148 int newWidth = (int) (info.mWidth - (excessContents * (info.mWeight / weightSum))); in balanceViewWidths()
160 weightSum = weightSumForNextPass; in balanceViewWidths()
/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DMatchParentShrinkingLinearLayout.java592 public void setWeightSum(float weightSum) { in setWeightSum() argument
593 mWeightSum = Math.max(0.0f, weightSum); in setWeightSum()
822 float weightSum = mWeightSum > 0.0f ? mWeightSum : totalWeight; in measureVertical() local
840 int share = (int) (childExtra * delta / weightSum); in measureVertical()
841 weightSum -= childExtra; in measureVertical()
/aosp12/frameworks/base/core/java/android/widget/
H A DLinearLayout.java714 public void setWeightSum(float weightSum) { in setWeightSum() argument
715 mWeightSum = Math.max(0.0f, weightSum); in setWeightSum()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt1640 field public static final int weightSum = 16843048; // 0x1010128
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt1379 field public static final int weightSum = 16843048; // 0x1010128
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt80067 Lcom/android/internal/R$attr;->weightSum:I