Searched refs:flexibility (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DGridLayout.java125 * When the principle of flexibility does not provide complete disambiguation,
1811 * instead controlled by the principle of <em>flexibility</em>,
2236 public int flexibility; // we're flexible iff all included specs are flexible field in class:GridLayout.Bounds
2245 flexibility = CAN_STRETCH; // from the above, we're flexible when empty
2255 if (canStretch(flexibility)) {
2267 this.flexibility &= spec.getFlexibility();
2786 static boolean canStretch(int flexibility) { argument
2787 return (flexibility & CAN_STRETCH) != 0;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java126 * When the principle of flexibility does not provide complete disambiguation,
1700 * instead controlled by the principle of <em>flexibility</em>,
2119 public int flexibility; // we're flexible iff all included specs are flexible field in class:GridLayout.Bounds
2128 flexibility = CAN_STRETCH; // from the above, we're flexible when empty
2138 if (canStretch(flexibility)) {
2150 this.flexibility &= spec.getFlexibility();
2673 static boolean canStretch(int flexibility) { argument
2674 return (flexibility & CAN_STRETCH) != 0;

Completed in 45 milliseconds