Searched refs:absoluteGravity (Results 1 – 7 of 7) sorted by relevance
235 val absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection) in applyGravity() constant241 when (absoluteGravity and Gravity.HORIZONTAL_GRAVITY_MASK) { in applyGravity()247 when (absoluteGravity and Gravity.VERTICAL_GRAVITY_MASK) { in applyGravity()253 when (absoluteGravity and Gravity.FILL) { in applyGravity()
292 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in applyGravity() local298 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in applyGravity()311 switch (absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK) { in applyGravity()324 switch (absoluteGravity & Gravity.FILL) { in applyGravity()
648 int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in onLayout() local651 absoluteGravity = rotation.toNaturalGravity(absoluteGravity); in onLayout()653 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in onLayout()666 switch (absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout()679 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in onLayout()692 switch (absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout()
115 public int toNaturalGravity(int absoluteGravity) {116 int horizontalGravity = absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK;117 int verticalGravity = absoluteGravity & Gravity.VERTICAL_GRAVITY_MASK;131 return ((absoluteGravity & ~Gravity.HORIZONTAL_GRAVITY_MASK)
45 public int toNaturalGravity(int absoluteGravity) { in toNaturalGravity() argument46 return absoluteGravity; in toNaturalGravity()
1161 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutVertical() local1162 switch (absoluteGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { in layoutVertical()