Home
last modified time | relevance | path

Searched refs:LayoutParams (Results 1 – 25 of 635) sorted by relevance

12345678910>>...26

/frameworks/base/core/java/android/widget/
DTableRow.java164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns()
195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildBeforeLayout()
227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth; in measureChildBeforeLayout()
236 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT]; in measureChildBeforeLayout()
239 … lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] / 2; in measureChildBeforeLayout()
243 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] = 0; in measureChildBeforeLayout()
257 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getChildrenSkipCount()
268 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION]; in getLocationOffset()
276 … return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT]; in getNextLocationOffset()
299 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getColumnsWidths()
[all …]
DAbsoluteLayout.java76 AbsoluteLayout.LayoutParams lp in onMeasure()
77 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); in onMeasure()
106 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
107 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0); in generateDefaultLayoutParams()
119 AbsoluteLayout.LayoutParams lp = in onLayout()
120 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); in onLayout()
133 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
134 return new AbsoluteLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
139 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
140 return p instanceof AbsoluteLayout.LayoutParams; in checkLayoutParams()
[all …]
DActionMenuView.java166 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
183 ViewGroup.LayoutParams.WRAP_CONTENT); in onMeasureExactFormat()
223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
261 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
287 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
317 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
333 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
[all …]
DFrameLayout.java154 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
155 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams()
195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
202 if (lp.width == LayoutParams.MATCH_PARENT || in onMeasure()
203 lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
236 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure()
250 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
285 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in layoutChildren()
379 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
380 return new FrameLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java19 import static android.view.WindowManager.LayoutParams.FIRST_APPLICATION_WINDOW;
20 import static android.view.WindowManager.LayoutParams.LAST_APPLICATION_WINDOW;
21 import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY;
22 import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY;
23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL;
24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG;
25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA;
26 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY;
27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
28 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DSystemUIOverlayWindowController.java19 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
49 private WindowManager.LayoutParams mLp;
50 private WindowManager.LayoutParams mLpChanged;
64 mLpChanged = new WindowManager.LayoutParams(); in SystemUIOverlayWindowController()
90 mLp = new WindowManager.LayoutParams( in attach()
91 ViewGroup.LayoutParams.MATCH_PARENT, in attach()
92 ViewGroup.LayoutParams.MATCH_PARENT, in attach()
93 WindowManager.LayoutParams.TYPE_NOTIFICATION_SHADE, in attach()
94 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in attach()
95 | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING in attach()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDelayedTransition.java25 import static android.widget.LinearLayout.LayoutParams;
49 button1.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
50 LayoutParams.WRAP_CONTENT)); in onCreate()
52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
53 LayoutParams.MATCH_PARENT)); in onCreate()
56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
57 LayoutParams.WRAP_CONTENT)); in onCreate()
59 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
60 LayoutParams.WRAP_CONTENT)); in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java51 final LinearLayout.LayoutParams buttonLp = in twoButtonsSeparatedByFiller()
52 new LinearLayout.LayoutParams( in twoButtonsSeparatedByFiller()
53 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller()
63 middleFiller.setLayoutParams(new LinearLayout.LayoutParams( in twoButtonsSeparatedByFiller()
64 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller()
96 final LinearLayout.LayoutParams lp in horizontalButtonSlots()
97 = new LinearLayout.LayoutParams(0, desiredHeight); in horizontalButtonSlots()
159 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in button()
160 ViewGroup.LayoutParams.MATCH_PARENT, in button()
161 ViewGroup.LayoutParams.WRAP_CONTENT); in button()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java26 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
28 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ALERT;
29 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
71 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutFullscreen()
81 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutInScreen()
91 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutHideNavigation()
101 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_TOAST); in adjustLayoutParamsForCompatibility_toast()
109 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_SYSTEM_ALERT); in adjustLayoutParamsForCompatibility_systemAlert()
117 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBars()
[all …]
DCreateViewTest.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
49 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout2()
57 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
60 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
63 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
66 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
69 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
72 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
87 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMultiLayersActivity.java38 grid.addView(row1, new LinearLayout.LayoutParams( in onCreate()
39 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); in onCreate()
43 grid.addView(row2, new LinearLayout.LayoutParams( in onCreate()
44 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); in onCreate()
46 row1.addView(new LayerView(this, 0xffff0000), new LinearLayout.LayoutParams( in onCreate()
47 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
48 row1.addView(new LayerView(this, 0x0f00ff00), new LinearLayout.LayoutParams( in onCreate()
49 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
51 row2.addView(new LayerView(this, 0x0f0000ff), new LinearLayout.LayoutParams( in onCreate()
52 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
[all …]
DPictureCaptureDemo.java35 import android.widget.LinearLayout.LayoutParams;
57 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
59 inner.addView(new View(this), new LayoutParams(50, 1)); in onCreate()
72 inner.addView(iv1, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
74 inner.addView(new View(this), new LayoutParams(50, 1)); in onCreate()
78 inner.addView(iv2, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
81 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in onCreate()
87 layout.addView(wv, new LayoutParams(LayoutParams.MATCH_PARENT, 400)); in onCreate()
91 new LayoutParams(LayoutParams.MATCH_PARENT, 600)); in onCreate()
DGlyphCacheActivity.java27 import static android.widget.LinearLayout.LayoutParams;
40 scrollView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
41 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
45 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in createTextView()
60 ViewGroup.LayoutParams.WRAP_CONTENT)); in createTextView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfEditTexts.java52 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
53 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
54 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
59 new LinearLayout.LayoutParams( in onCreate()
60 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
61 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
67 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
72 mListView.setLayoutParams((new LinearLayout.LayoutParams( in onCreate()
[all …]
DVerticalFocusSearch.java70 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
71 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
72 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
104 button.setLayoutParams(new LinearLayout.LayoutParams( in makeWide()
105 ViewGroup.LayoutParams.MATCH_PARENT, in makeWide()
106 ViewGroup.LayoutParams.WRAP_CONTENT)); in makeWide()
121 button.setLayoutParams(new LinearLayout.LayoutParams( in addSkinny()
123 ViewGroup.LayoutParams.WRAP_CONTENT, in addSkinny()
128 filler.setLayoutParams(new LinearLayout.LayoutParams( in addSkinny()
130 ViewGroup.LayoutParams.WRAP_CONTENT, in addSkinny()
[all …]
DHorizontalFocusSearch.java63 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
64 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
65 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
96 button.setLayoutParams(new LinearLayout.LayoutParams( in makeTall()
97 ViewGroup.LayoutParams.WRAP_CONTENT, in makeTall()
98 ViewGroup.LayoutParams.MATCH_PARENT)); in makeTall()
105 button.setLayoutParams(new LinearLayout.LayoutParams( in addShort()
106 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort()
112 filler.setLayoutParams(new LinearLayout.LayoutParams( in addShort()
113 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java63 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in onMeasure()
90 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
92 return new LayoutParams(spacing, spacing); in generateDefaultLayoutParams()
96 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) { in generateLayoutParams()
98 return new LayoutParams(spacing, spacing, layoutParams); in generateLayoutParams()
102 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
103 return (p instanceof LayoutParams); in checkLayoutParams()
123 LayoutParams lp = (LayoutParams) currentChild.getLayoutParams(); in onLayout()
170 LayoutParams lp = (LayoutParams) currentChild.getLayoutParams(); in layoutChildrenOnRow()
198 public static class LayoutParams extends ViewGroup.LayoutParams {
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java84 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
108 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure()
203 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
244 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawChild()
255 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
256 return new LayoutParams(mContext, attrs); in generateLayoutParams()
260 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
261 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams()
266 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { in generateLayoutParams()
267 LayoutParams copy = new LayoutParams(lp.width, lp.height); in generateLayoutParams()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodDebug.java22 import android.view.WindowManager.LayoutParams.SoftInputModeFlags;
107 final int state = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_STATE; in softInputModeToString()
108 final int adjust = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST; in softInputModeToString()
110 (softInputMode & WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION) != 0; in softInputModeToString()
113 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED: in softInputModeToString()
116 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED: in softInputModeToString()
119 case WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN: in softInputModeToString()
122 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN: in softInputModeToString()
125 case WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE: in softInputModeToString()
128 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE: in softInputModeToString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java184 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
185 return p instanceof LayoutParams; in checkLayoutParams()
189 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams()
190 return p instanceof LayoutParams ? new LayoutParams((LayoutParams) p) : new LayoutParams(p); in generateLayoutParams()
194 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
195 return new LayoutParams(getContext(), attrs); in generateLayoutParams()
218 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
237 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
254 case LayoutParams.WRAP_CONTENT: in makeChildMeasureSpec()
258 case LayoutParams.MATCH_PARENT: in makeChildMeasureSpec()
[all …]
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
86 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
87 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
88 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
89 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
90 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
91 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
92 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
93 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED in onCreate()
94 | WindowManager.LayoutParams.FLAG_DIM_BEHIND); in onCreate()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java183 addView(tv, new LinearLayout.LayoutParams( in set()
184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
187 addView(tv, new LinearLayout.LayoutParams( in set()
188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
191 addView(tv, new LinearLayout.LayoutParams( in set()
192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
195 addView(tv, new LinearLayout.LayoutParams( in set()
196 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
199 addView(tv, new LinearLayout.LayoutParams( in set()
200 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerWindowManager.java19 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
20 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
21 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL;
22 import static android.view.WindowManager.LayoutParams.FLAG_SLIPPERY;
23 import static android.view.WindowManager.LayoutParams.FLAG_SPLIT_TOUCH;
24 import static android.view.WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH;
25 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
26 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION;
27 import static android.view.WindowManager.LayoutParams.TYPE_DOCK_DIVIDER;
45 private WindowManager.LayoutParams mLp;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java19 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
20 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC;
21 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_STATUS_BAR;
54 private WindowManager.LayoutParams mLp;
55 private final WindowManager.LayoutParams mLpChanged;
65 mLpChanged = new WindowManager.LayoutParams(); in StatusBarWindowController()
101 mLp = new WindowManager.LayoutParams( in attach()
102 ViewGroup.LayoutParams.MATCH_PARENT, in attach()
104 WindowManager.LayoutParams.TYPE_STATUS_BAR, in attach()
105 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in attach()
[all …]
DNotificationShadeWindowController.java20 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
21 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_BEHAVIOR_CONTROLLED;
41 import android.view.WindowManager.LayoutParams;
83 private final LayoutParams mLpChanged;
90 private LayoutParams mLp;
117 mLpChanged = new LayoutParams(); in NotificationShadeWindowController()
181 mLp = new LayoutParams( in attach()
182 ViewGroup.LayoutParams.MATCH_PARENT, in attach()
183 ViewGroup.LayoutParams.MATCH_PARENT, in attach()
184 LayoutParams.TYPE_NOTIFICATION_SHADE, in attach()
[all …]

12345678910>>...26