Home
last modified time | relevance | path

Searched refs:RelativeLayout (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java51 import android.widget.RelativeLayout;
132 private RelativeLayout mSysUiRoot;
190 mSysUiRoot = new RelativeLayout(builder.mContext); in Layout()
210 RelativeLayout.LayoutParams params = createSysUiLayoutParams(MATCH_PARENT, MATCH_PARENT); in createContentFrame()
211 int rule = mBuilder.isNavBarVertical() ? RelativeLayout.START_OF : RelativeLayout.ABOVE; in createContentFrame()
224 params.addRule(RelativeLayout.BELOW, below); in createContentFrame()
231 private RelativeLayout.LayoutParams createSysUiLayoutParams(int width, int height) { in createSysUiLayoutParams()
239 return new RelativeLayout.LayoutParams(width, height); in createSysUiLayoutParams()
268 RelativeLayout.LayoutParams params = createSysUiLayoutParams(MATCH_PARENT, mBuilder in createStatusBar()
271 params.addRule(RelativeLayout.START_OF, getId(ID_NAV_BAR)); in createStatusBar()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DHitRectBug.java29 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()
DInstanceTargets.java26 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/
DTextProgressBar.java28 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/
DAlphaOptimizedRelativeLayout.java21 import android.widget.RelativeLayout;
27 public class AlphaOptimizedRelativeLayout extends RelativeLayout {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java42 import android.widget.RelativeLayout;
145 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams( in createMenuPopup()
147 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_END); in createMenuPopup()
149 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in createMenuPopup()
152 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); in createMenuPopup()
DBridgeActionBar.java33 import android.widget.RelativeLayout;
74 mEnclosingLayout = new RelativeLayout(mBridgeContext); in BridgeActionBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DButtonRelativeLayout.java20 import android.widget.RelativeLayout;
22 public class ButtonRelativeLayout extends RelativeLayout {
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java25 import android.widget.RelativeLayout;
34 private RelativeLayout mRootLayout;
89 mRootLayout = new RelativeLayout(this); in onCreate()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java453 final RelativeLayout.LayoutParams params =
454 (RelativeLayout.LayoutParams) mAmPmLayout.getLayoutParams();
455 if (params.getRule(RelativeLayout.RIGHT_OF) != 0
456 || params.getRule(RelativeLayout.LEFT_OF) != 0) {
467 params.removeRule(RelativeLayout.RIGHT_OF);
468 params.addRule(RelativeLayout.LEFT_OF, mHourView.getId());
470 params.removeRule(RelativeLayout.LEFT_OF);
471 params.addRule(RelativeLayout.RIGHT_OF, mMinuteView.getId());
482 } else if (params.getRule(RelativeLayout.BELOW) != 0
483 || params.getRule(RelativeLayout.ABOVE) != 0) {
[all …]
DRelativeLayout.java90 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
250 public RelativeLayout(Context context, AttributeSet attrs, int defStyleAttr) { in RelativeLayout() method in RelativeLayout
254 public RelativeLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 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()
[all …]
DTwoLineListItem.java43 public class TwoLineListItem extends RelativeLayout {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java39 import android.widget.RelativeLayout;
66 public class KeyguardStatusBarView extends RelativeLayout
256 RelativeLayout.LayoutParams lp = (LayoutParams) mCarrierLabel.getLayoutParams(); in updateLayoutParamsNoCutout()
257 lp.addRule(RelativeLayout.START_OF, R.id.status_icon_area); in updateLayoutParamsNoCutout()
260 lp.removeRule(RelativeLayout.RIGHT_OF); in updateLayoutParamsNoCutout()
284 RelativeLayout.LayoutParams lp = (LayoutParams) mCutoutSpace.getLayoutParams(); in updateLayoutParamsForCutout()
289 lp.addRule(RelativeLayout.CENTER_IN_PARENT); in updateLayoutParamsForCutout()
292 lp.addRule(RelativeLayout.START_OF, R.id.cutout_space_view); in updateLayoutParamsForCutout()
295 lp.addRule(RelativeLayout.RIGHT_OF, R.id.cutout_space_view); in updateLayoutParamsForCutout()
DReverseLinearLayout.java24 import android.widget.RelativeLayout;
127 public static class ReverseRelativeLayout extends RelativeLayout implements Reversable {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutAppItemLayout.java23 import android.widget.RelativeLayout;
32 public class KeyboardShortcutAppItemLayout extends RelativeLayout {
DKeyboardShortcuts.java63 import android.widget.RelativeLayout;
643 RelativeLayout.LayoutParams lp = in populateKeyboardShortcuts()
644 (RelativeLayout.LayoutParams) shortcutKeyword.getLayoutParams(); in populateKeyboardShortcuts()
645 lp.removeRule(RelativeLayout.ALIGN_PARENT_START); in populateKeyboardShortcuts()
/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSizeTest.java26 import android.widget.RelativeLayout;
46 private RelativeLayout mRelativeLayout;
65 mRelativeLayout = (RelativeLayout) a.findViewById(R.id.relative_layout); in setUp()
DDrawableBgMinSize.java27 import android.widget.RelativeLayout;
47 private RelativeLayout mRelativeLayout;
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFooter.java25 import android.widget.RelativeLayout;
43 public class CarQSFooter extends RelativeLayout implements QSFooter,
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlButtonView.java28 import android.widget.RelativeLayout;
36 public class PipControlButtonView extends RelativeLayout {
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSliderView.java27 import android.widget.RelativeLayout;
36 public class ToggleSliderView extends RelativeLayout implements ToggleSlider {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java48 import android.widget.RelativeLayout;
81 public class QuickStatusBarHeader extends RelativeLayout implements
530 RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) v.getLayoutParams(); in setMargins()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java38 import android.widget.RelativeLayout;
159 final RelativeLayout profileView = in setShowAtTopToTrue()
160 (RelativeLayout) activity.findViewById(R.id.profile_button).getParent(); in setShowAtTopToTrue()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java42 import android.widget.RelativeLayout;
260 RelativeLayout rootLayout = new RelativeLayout(this); in onCreate()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DTimePickerDialog.java35 import android.widget.RelativeLayout;
276 RelativeLayout.LayoutParams paramsSeparator = new RelativeLayout.LayoutParams( in onCreateView()
278 paramsSeparator.addRule(RelativeLayout.CENTER_IN_PARENT); in onCreateView()

12