Searched defs:weight (Results 26 - 32 of 32) sorted by relevance

12

/frameworks/native/cmds/dumpstate/
H A Dutils.cpp719 /* TODO: for now we're simplifying the progress calculation by using the timeout as the weight.
720 * It's a good approximation for most cases, except when calling dumpsys, where its weight
722 int weight = timeout_seconds; local
811 if (weight > 0) {
812 update_progress(weight);
1192 MYLOGD("Adjusting total weight from %d to %d\n", weight_total, new_total);
1198 MYLOGE("Could not update max weight by setting system property %s to %s: %d\n",
/frameworks/support/design/src/android/support/design/widget/
H A DAppBarLayout.java652 public LayoutParams(int width, int height, float weight) { argument
653 super(width, height, weight);
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java86 * When views do not overlap weight behaves as it does in a LinearLayout.</p>
88 * <p>When views do overlap, weight on a slideable pane indicates that the pane should be
517 if (lp.weight > 0) {
518 weightSum += lp.weight;
520 // If we have no width, weight is the only contributor to the final size.
521 // Measure this view on the weight pass only.
561 // Resolve weight and make sure non-sliding panels are smaller than the full screen.
578 final boolean skippedFirstPass = lp.width == 0 && lp.weight > 0;
581 if (lp.width < 0 && (measuredWidth > fixedPanelWidthLimit || lp.weight > 0)) {
606 } else if (lp.weight >
1414 public float weight = 0; field in class:SlidingPaneLayout.LayoutParams
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java105 * As of API 21, GridLayout's distribution of excess space accomodates the principle of weight.
113 * If either a weight or alignment were defined along a given axis then the component
114 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set,
125 * weight or a gravity. To prevent a column from stretching, ensure that one of the components
126 * in the column does not define a weight or a gravity.
144 * had never been added to it. GONE views are taken to have zero weight during excess space
1309 ((spec.weight == 0) ? 0 : getDeltas()[i]);
1703 if (spec.weight != 0) {
1734 float weight = spec.weight;
2533 final float weight; field in class:GridLayout.Spec
2535 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument
2542 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument
2623 spec(int start, int size, Alignment alignment, float weight) argument
2634 spec(int start, Alignment alignment, float weight) argument
2647 spec(int start, int size, float weight) argument
2657 spec(int start, float weight) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java104 * GridLayout's distribution of excess space accommodates the principle of weight.
111 * If either a weight or alignment were defined along a given axis then the component
112 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set,
123 * weight or a gravity. To prevent a column from stretching, ensure that one of the components
124 * in the column does not define a weight or a gravity.
142 * had never been added to it. GONE views are taken to have zero weight during excess space
1204 ((spec.weight == 0) ? 0 : getDeltas()[i]);
1598 if (spec.weight != 0) {
1629 float weight = spec.weight;
2427 final float weight; field in class:GridLayout.Spec
2429 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument
2436 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument
2517 spec(int start, int size, Alignment alignment, float weight) argument
2528 spec(int start, Alignment alignment, float weight) argument
2541 spec(int start, int size, float weight) argument
2551 spec(int start, float weight) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java1986 * <p>Each Area consists of a rectangle specifying its bounds, and a weight
1994 * <p>The weight must range from 1 to 1000, and represents a weight for
1996 * the same weight as a smaller area will have more effect in the
2013 * Create an area with specified rectangle and weight.
2016 * @param weight the weight of the area.
2018 public Area(Rect rect, int weight) { argument
2020 this.weight = weight;
2065 public int weight; field in class:Camera.Area
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 307 milliseconds

12