/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | SurfaceViewAlphaActivity.java | 29 import android.widget.RelativeLayout; 65 RelativeLayout overlapLayout = new RelativeLayout(this); in overlapViews() 67 RelativeLayout.LayoutParams leftViewLayoutParams = new RelativeLayout.LayoutParams( in overlapViews() 69 leftViewLayoutParams.addRule(RelativeLayout.ALIGN_PARENT_LEFT); in overlapViews() 75 RelativeLayout.LayoutParams sVLayoutParams = new RelativeLayout.LayoutParams( in overlapViews() 77 sVLayoutParams.addRule(RelativeLayout.CENTER_IN_PARENT); in overlapViews() 80 RelativeLayout.LayoutParams rightViewLayoutParams = new RelativeLayout.LayoutParams( in overlapViews() 82 rightViewLayoutParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT); in overlapViews()
|
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | HitRectBug.java | 29 import android.widget.RelativeLayout; 40 public static class TestDrawingView extends RelativeLayout 73 RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(128, 128); in TestDrawingView() 74 params.addRule(RelativeLayout.CENTER_IN_PARENT); in TestDrawingView()
|
H A D | InstanceTargets.java | 26 import static android.widget.RelativeLayout.ALIGN_PARENT_LEFT; 27 import static android.widget.RelativeLayout.ALIGN_PARENT_RIGHT; 28 import static android.widget.RelativeLayout.LayoutParams;
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | TextProgressBar.java | 28 import android.widget.RelativeLayout; 47 public class TextProgressBar extends RelativeLayout implements OnChronometerTickListener { 150 RelativeLayout.LayoutParams params; in onChronometerTick() 153 params = (RelativeLayout.LayoutParams) mProgressBar.getLayoutParams(); in onChronometerTick() 176 params = (RelativeLayout.LayoutParams) mChronometer.getLayoutParams(); in onChronometerTick()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | AlphaOptimizedRelativeLayout.java | 21 import android.widget.RelativeLayout; 27 public class AlphaOptimizedRelativeLayout extends RelativeLayout {
|
H A D | KeyguardClockSwitch.java | 17 import android.widget.RelativeLayout; 39 public class KeyguardClockSwitch extends RelativeLayout {
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | TimePickerClockDelegate.java | 454 final RelativeLayout.LayoutParams params = 456 if (params.getRule(RelativeLayout.RIGHT_OF) != 0 457 || params.getRule(RelativeLayout.LEFT_OF) != 0) { 468 params.removeRule(RelativeLayout.RIGHT_OF); 471 params.removeRule(RelativeLayout.LEFT_OF); 483 } else if (params.getRule(RelativeLayout.BELOW) != 0 484 || params.getRule(RelativeLayout.ABOVE) != 0) { 494 params.removeRule(RelativeLayout.BELOW); 495 params.addRule(RelativeLayout.ABOVE, otherViewId); 498 params.removeRule(RelativeLayout.ABOVE); [all …]
|
H A D | RelativeLayout.java | 90 public class RelativeLayout extends ViewGroup { class 242 public RelativeLayout(Context context) { in RelativeLayout() method in RelativeLayout 246 public RelativeLayout(Context context, AttributeSet attrs) { in RelativeLayout() method in RelativeLayout 263 attrs, R.styleable.RelativeLayout, defStyleAttr, defStyleRes); in initFromAttributes() 264 saveAttributeDataForStyleable(context, R.styleable.RelativeLayout, in initFromAttributes() 908 RelativeLayout.LayoutParams anchorParams; in applyHorizontalSizeRules() 978 RelativeLayout.LayoutParams anchorParams; in applyVerticalSizeRules() 1101 RelativeLayout.LayoutParams st = in onLayout() 1110 return new RelativeLayout.LayoutParams(getContext(), attrs); in generateLayoutParams() 1126 return p instanceof RelativeLayout.LayoutParams; in checkLayoutParams() [all …]
|
H A D | TwoLineListItem.java | 43 public class TwoLineListItem extends RelativeLayout {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardStatusBarView.java | 40 import android.widget.RelativeLayout; 65 public class KeyguardStatusBarView extends RelativeLayout { 323 RelativeLayout.LayoutParams lp = (LayoutParams) mCarrierLabel.getLayoutParams(); in updateLayoutParamsNoCutout() 324 lp.addRule(RelativeLayout.START_OF, R.id.status_icon_area); in updateLayoutParamsNoCutout() 327 lp.removeRule(RelativeLayout.RIGHT_OF); in updateLayoutParamsNoCutout() 348 RelativeLayout.LayoutParams lp = (LayoutParams) mCutoutSpace.getLayoutParams(); in updateLayoutParamsForCutout() 353 lp.addRule(RelativeLayout.CENTER_IN_PARENT); in updateLayoutParamsForCutout() 356 lp.addRule(RelativeLayout.START_OF, R.id.cutout_space_view); in updateLayoutParamsForCutout() 359 lp.addRule(RelativeLayout.RIGHT_OF, R.id.cutout_space_view); in updateLayoutParamsForCutout()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | RemoteViewsTest.java | 649 RelativeLayout rootParent = new RelativeLayout(themedContext); in nestedViews_themesPropagateCorrectly() 660 RelativeLayout root = (RelativeLayout) top.apply(themedContext, rootParent); in nestedViews_themesPropagateCorrectly() 662 RelativeLayout.LayoutParams rootParams = in nestedViews_themesPropagateCorrectly() 663 (RelativeLayout.LayoutParams) root.getLayoutParams(); in nestedViews_themesPropagateCorrectly() 664 assertEquals(RelativeLayout.TRUE, in nestedViews_themesPropagateCorrectly() 670 RelativeLayout inner1View = (RelativeLayout) root.getChildAt(0); in nestedViews_themesPropagateCorrectly() 673 RelativeLayout.LayoutParams inner1Params = in nestedViews_themesPropagateCorrectly() 675 assertEquals(RelativeLayout.TRUE, in nestedViews_themesPropagateCorrectly() 678 RelativeLayout inner2View = (RelativeLayout) inner1View.getChildAt(0); in nestedViews_themesPropagateCorrectly() 680 RelativeLayout.LayoutParams inner2Params = in nestedViews_themesPropagateCorrectly() [all …]
|
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
H A D | GamePerformanceActivity.java | 25 import android.widget.RelativeLayout; 37 private RelativeLayout mRootLayout; 135 mRootLayout = new RelativeLayout(this); in onCreate()
|
/aosp14/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
H A D | CheckedListItem.java | 22 import android.widget.RelativeLayout; 30 public class CheckedListItem extends RelativeLayout implements Checkable {
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DrawableBgMinSizeTest.java | 26 import android.widget.RelativeLayout; 46 private RelativeLayout mRelativeLayout; 65 mRelativeLayout = (RelativeLayout) a.findViewById(R.id.relative_layout); in setUp()
|
H A D | DrawableBgMinSize.java | 27 import android.widget.RelativeLayout; 47 private RelativeLayout mRelativeLayout;
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcutAppItemLayout.java | 23 import android.widget.RelativeLayout; 32 public class KeyboardShortcutAppItemLayout extends RelativeLayout {
|
H A D | KeyboardShortcuts.java | 62 import android.widget.RelativeLayout; 677 RelativeLayout.LayoutParams lp = in populateKeyboardShortcuts() 678 (RelativeLayout.LayoutParams) shortcutKeyword.getLayoutParams(); in populateKeyboardShortcuts() 679 lp.removeRule(RelativeLayout.ALIGN_PARENT_START); in populateKeyboardShortcuts()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | BilingualSuggestedLocaleAdapter.java | 24 import android.widget.RelativeLayout; 135 RelativeLayout background = (RelativeLayout) itemView; in setItemState()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | TvWindowMenuActionButton.java | 28 import android.widget.RelativeLayout; 35 public class TvWindowMenuActionButton extends RelativeLayout {
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
H A D | ReverseLinearLayout.java | 26 import android.widget.RelativeLayout; 129 public static class ReverseRelativeLayout extends RelativeLayout implements Reversible {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
H A D | ReverseLinearLayout.java | 24 import android.widget.RelativeLayout; 127 public static class ReverseRelativeLayout extends RelativeLayout implements Reversable {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
H A D | ViewHierarchyAnimatorTest.kt | 9 import android.widget.RelativeLayout 1503 val firstChild = RelativeLayout(mContext) 1532 firstGrandChild.layoutParams = RelativeLayout.LayoutParams(40 /* width */, 40 /* height */) 1533 (firstGrandChild.layoutParams as RelativeLayout.LayoutParams) 1534 .addRule(RelativeLayout.ALIGN_PARENT_START) 1535 (firstGrandChild.layoutParams as RelativeLayout.LayoutParams) 1536 .addRule(RelativeLayout.ALIGN_PARENT_TOP) 1538 (secondGrandChild.layoutParams as RelativeLayout.LayoutParams) 1539 .addRule(RelativeLayout.ALIGN_PARENT_END) 1540 (secondGrandChild.layoutParams as RelativeLayout.LayoutParams) [all …]
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | NotificationHeaderView.java | 30 import android.widget.RelativeLayout; 46 public class NotificationHeaderView extends RelativeLayout {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
H A D | KeyguardClockSwitchControllerBaseTest.java | 35 import android.widget.RelativeLayout; 145 mock(RelativeLayout.LayoutParams.class)); in setup()
|
/aosp14/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | SurfaceCompositionMeasuringActivity.java | 41 import android.widget.RelativeLayout; 259 RelativeLayout rootLayout = new RelativeLayout(this); in onCreate()
|