Home
last modified time | relevance | path

Searched refs:horizontalGravity (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DLaunchingTaskPositioner.java127 int horizontalGravity = windowLayout.gravity & Gravity.HORIZONTAL_GRAVITY_MASK; in updateDefaultBounds() local
129 if (horizontalGravity == Gravity.RIGHT) { in updateDefaultBounds()
135 if (horizontalGravity == Gravity.RIGHT) { in updateDefaultBounds()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java211 final int horizontalGravity = mGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in onLayout() local
212 switch (Gravity.getAbsoluteGravity(horizontalGravity, layoutDirection)) { in onLayout()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java336 public void setHorizontalGravity(int horizontalGravity) { in setHorizontalGravity() argument
337 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity()
422 final boolean horizontalGravity = gravity != Gravity.START && gravity != 0; in onMeasure()
434 if ((horizontalGravity || verticalGravity) && mIgnoreGravity != View.NO_ID) { in onMeasure()
513 if (child != ignore || horizontalGravity) { in onMeasure()
597 if (horizontalGravity || verticalGravity) { in onMeasure()
613 if (horizontalGravity) { in onMeasure()
DLinearLayout.java1805 public void setHorizontalGravity(int horizontalGravity) { in setHorizontalGravity() argument
1806 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseWrapContentTest.java292 int horizontalGravity, int verticalGravity) in Snapshot() argument
299 mHorizontalGravity = horizontalGravity; in Snapshot()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1177 ? (seascape ? state.seascapeGravity : state.horizontalGravity) in updateColorViewInt()
2262 final int horizontalGravity;
2268 int translucentFlag, int verticalGravity, int horizontalGravity,
2274 this.horizontalGravity = horizontalGravity;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java1693 public void setHorizontalGravity(int horizontalGravity) { in setHorizontalGravity() argument
1694 final int gravity = horizontalGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK; in setHorizontalGravity()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java1605 final int horizontalGravity = (mReverseFlowPrimary || mReverseFlowSecondary) ? in layoutChild() local
1609 || mOrientation == VERTICAL && horizontalGravity == Gravity.LEFT) { in layoutChild()
1612 || mOrientation == VERTICAL && horizontalGravity == Gravity.RIGHT) { in layoutChild()
1615 || mOrientation == VERTICAL && horizontalGravity == Gravity.CENTER_HORIZONTAL) { in layoutChild()