/frameworks/support/car/src/main/java/androidx/car/widget/ |
D | TextListItem.java | 31 import android.widget.RelativeLayout; 288 RelativeLayout.LayoutParams layoutParams = in setPrimaryIconLayout() 289 (RelativeLayout.LayoutParams) vh.getPrimaryIcon().getLayoutParams(); in setPrimaryIconLayout() 300 layoutParams.removeRule(RelativeLayout.CENTER_VERTICAL); in setPrimaryIconLayout() 306 layoutParams.addRule(RelativeLayout.CENTER_VERTICAL); in setPrimaryIconLayout() 317 RelativeLayout.LayoutParams layoutParams = in setPrimaryIconLayout() 318 (RelativeLayout.LayoutParams) vh.getPrimaryIcon().getLayoutParams(); in setPrimaryIconLayout() 325 layoutParams.addRule(RelativeLayout.CENTER_VERTICAL); in setPrimaryIconLayout() 390 RelativeLayout.LayoutParams titleLayoutParams = in setTextStartMargin() 391 (RelativeLayout.LayoutParams) vh.getTitle().getLayoutParams(); in setTextStartMargin() [all …]
|
D | SeekbarListItem.java | 29 import android.widget.RelativeLayout; 253 RelativeLayout.LayoutParams layoutParams = in setPrimaryActionLayout() 254 (RelativeLayout.LayoutParams) vh.getPrimaryIcon().getLayoutParams(); in setPrimaryActionLayout() 258 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_START); in setPrimaryActionLayout() 267 layoutParams.removeRule(RelativeLayout.CENTER_VERTICAL); in setPrimaryActionLayout() 270 layoutParams.addRule(RelativeLayout.CENTER_VERTICAL); in setPrimaryActionLayout() 332 RelativeLayout.LayoutParams containerLayoutParams = in setSeekBarAndTextLayout() 333 (RelativeLayout.LayoutParams) vh.getSeekBarContainer().getLayoutParams(); in setSeekBarAndTextLayout() 334 containerLayoutParams.addRule(RelativeLayout.CENTER_VERTICAL); in setSeekBarAndTextLayout() 361 RelativeLayout.LayoutParams layoutParams = in setViewEndMargin() [all …]
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | ImageCardView.java | 27 import android.widget.RelativeLayout; 222 RelativeLayout.LayoutParams relativeLayoutParams = in buildImageCardView() 223 (RelativeLayout.LayoutParams) mTitleView.getLayoutParams(); in buildImageCardView() 226 relativeLayoutParams.addRule(RelativeLayout.END_OF, mBadgeImage.getId()); in buildImageCardView() 228 relativeLayoutParams.addRule(RelativeLayout.START_OF, mBadgeImage.getId()); in buildImageCardView() 235 RelativeLayout.LayoutParams relativeLayoutParams = in buildImageCardView() 236 (RelativeLayout.LayoutParams) mContentView.getLayoutParams(); in buildImageCardView() 238 relativeLayoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); in buildImageCardView() 242 relativeLayoutParams.removeRule(RelativeLayout.START_OF); in buildImageCardView() 243 relativeLayoutParams.removeRule(RelativeLayout.ALIGN_PARENT_START); in buildImageCardView() [all …]
|
D | InvisibleRowPresenter.java | 19 import android.widget.RelativeLayout; 35 RelativeLayout root = new RelativeLayout(parent.getContext()); in createRowViewHolder() 36 root.setLayoutParams(new RelativeLayout.LayoutParams(0, 0)); in createRowViewHolder()
|
D | NonOverlappingRelativeLayout.java | 18 import android.widget.RelativeLayout; 20 class NonOverlappingRelativeLayout extends RelativeLayout {
|
D | GuidedActionsRelativeLayout.java | 9 import android.widget.RelativeLayout; 17 class GuidedActionsRelativeLayout extends RelativeLayout {
|
D | GuidanceStylingRelativeLayout.java | 9 import android.widget.RelativeLayout; 20 class GuidanceStylingRelativeLayout extends RelativeLayout {
|
D | SearchBar.java | 47 import android.widget.RelativeLayout; 65 public class SearchBar extends RelativeLayout { 168 RelativeLayout.LayoutParams params = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in SearchBar() 170 params.addRule(ALIGN_PARENT_TOP, RelativeLayout.TRUE); in SearchBar() 195 RelativeLayout items = (RelativeLayout)findViewById(R.id.lb_search_bar_items); in onFinishInflate()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
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()
|
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;
|
/frameworks/base/core/java/com/android/internal/widget/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | AlphaOptimizedRelativeLayout.java | 21 import android.widget.RelativeLayout; 27 public class AlphaOptimizedRelativeLayout extends RelativeLayout {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | ButtonRelativeLayout.java | 20 import android.widget.RelativeLayout; 22 public class ButtonRelativeLayout extends RelativeLayout {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 43 import android.widget.RelativeLayout; 147 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams( in createMenuPopup() 149 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_END); in createMenuPopup() 151 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in createMenuPopup() 154 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); in createMenuPopup()
|
D | BridgeActionBar.java | 34 import android.widget.RelativeLayout; 82 mEnclosingLayout = new RelativeLayout(mBridgeContext); in BridgeActionBar()
|
/frameworks/support/percent/src/main/java/androidx/percentlayout/widget/ |
D | PercentRelativeLayout.java | 23 import android.widget.RelativeLayout; 130 public class PercentRelativeLayout extends RelativeLayout { 174 public static class LayoutParams extends RelativeLayout.LayoutParams
|
/frameworks/base/core/java/android/widget/ |
D | TimePickerClockDelegate.java | 453 final RelativeLayout.LayoutParams params = 454 (RelativeLayout.LayoutParams) mAmPmLayout.getLayoutParams(); 455 if (params.getRule(RelativeLayout.RIGHT_OF) != 0 456 || params.getRule(RelativeLayout.LEFT_OF) != 0) { 470 params.removeRule(RelativeLayout.RIGHT_OF); 471 params.addRule(RelativeLayout.LEFT_OF, mHourView.getId()); 473 params.removeRule(RelativeLayout.LEFT_OF); 474 params.addRule(RelativeLayout.RIGHT_OF, mMinuteView.getId()); 477 } else if (params.getRule(RelativeLayout.BELOW) != 0 478 || params.getRule(RelativeLayout.ABOVE) != 0) { [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 39 import android.widget.RelativeLayout; 63 public class KeyguardStatusBarView extends RelativeLayout 247 RelativeLayout.LayoutParams lp = (LayoutParams) mCarrierLabel.getLayoutParams(); in updateLayoutParamsNoCutout() 248 lp.addRule(RelativeLayout.START_OF, R.id.status_icon_area); in updateLayoutParamsNoCutout() 251 lp.removeRule(RelativeLayout.RIGHT_OF); in updateLayoutParamsNoCutout() 275 RelativeLayout.LayoutParams lp = (LayoutParams) mCutoutSpace.getLayoutParams(); in updateLayoutParamsForCutout() 280 lp.addRule(RelativeLayout.CENTER_IN_PARENT); in updateLayoutParamsForCutout() 283 lp.addRule(RelativeLayout.START_OF, R.id.cutout_space_view); in updateLayoutParamsForCutout() 286 lp.addRule(RelativeLayout.RIGHT_OF, R.id.cutout_space_view); in updateLayoutParamsForCutout()
|
D | ReverseLinearLayout.java | 24 import android.widget.RelativeLayout; 127 public static class ReverseRelativeLayout extends RelativeLayout implements Reversable {
|
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/ |
D | CustomSnackbarMainContent.java | 20 import android.widget.RelativeLayout; 28 public class CustomSnackbarMainContent extends RelativeLayout {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutAppItemLayout.java | 23 import android.widget.RelativeLayout; 32 public class KeyboardShortcutAppItemLayout extends RelativeLayout {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DrawableBgMinSizeTest.java | 31 import android.widget.RelativeLayout; 47 private RelativeLayout mRelativeLayout; 66 mRelativeLayout = (RelativeLayout) a.findViewById(R.id.relative_layout); in setUp()
|
D | DrawableBgMinSize.java | 30 import android.widget.RelativeLayout; 48 private RelativeLayout mRelativeLayout;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/car/ |
D | CarQSFooter.java | 24 import android.widget.RelativeLayout; 40 public class CarQSFooter extends RelativeLayout implements QSFooter,
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
D | TextListItemTest.java | 48 import android.widget.RelativeLayout; 717 RelativeLayout.LayoutParams titleLayoutParams = in testNoCarriedOverLayoutParamsForTextView() 718 (RelativeLayout.LayoutParams) viewHolder.getTitle().getLayoutParams(); in testNoCarriedOverLayoutParamsForTextView() 719 RelativeLayout.LayoutParams bodyLayoutParams = in testNoCarriedOverLayoutParamsForTextView() 720 (RelativeLayout.LayoutParams) viewHolder.getTitle().getLayoutParams(); in testNoCarriedOverLayoutParamsForTextView() 721 assertThat(titleLayoutParams.getRule(RelativeLayout.CENTER_VERTICAL), is(equalTo(0))); in testNoCarriedOverLayoutParamsForTextView() 722 assertThat(bodyLayoutParams.getRule(RelativeLayout.CENTER_VERTICAL), is(equalTo(0))); in testNoCarriedOverLayoutParamsForTextView() 738 RelativeLayout.LayoutParams iconLayoutParams = in testNoCarriedOverLayoutParamsForPrimaryIcon() 739 (RelativeLayout.LayoutParams) viewHolder.getPrimaryIcon().getLayoutParams(); in testNoCarriedOverLayoutParamsForPrimaryIcon() 740 assertThat(iconLayoutParams.getRule(RelativeLayout.CENTER_VERTICAL), in testNoCarriedOverLayoutParamsForPrimaryIcon() [all …]
|