Home
last modified time | relevance | path

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

12345678910>>...29

/frameworks/support/percent/src/android/support/percent/
DPercentFrameLayout.java147 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
148 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams()
152 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
153 return new LayoutParams(getContext(), attrs); in generateLayoutParams()
175 public static class LayoutParams extends FrameLayout.LayoutParams class in PercentFrameLayout
179 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() method in PercentFrameLayout.LayoutParams
184 public LayoutParams(int width, int height) { in LayoutParams() method in PercentFrameLayout.LayoutParams
188 public LayoutParams(int width, int height, int gravity) { in LayoutParams() method in PercentFrameLayout.LayoutParams
192 public LayoutParams(ViewGroup.LayoutParams source) { in LayoutParams() method in PercentFrameLayout.LayoutParams
196 public LayoutParams(MarginLayoutParams source) { in LayoutParams() method in PercentFrameLayout.LayoutParams
[all …]
DPercentRelativeLayout.java146 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
147 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams()
151 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
152 return new LayoutParams(getContext(), attrs); in generateLayoutParams()
174 public static class LayoutParams extends RelativeLayout.LayoutParams class in PercentRelativeLayout
178 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() method in PercentRelativeLayout.LayoutParams
183 public LayoutParams(int width, int height) { in LayoutParams() method in PercentRelativeLayout.LayoutParams
187 public LayoutParams(ViewGroup.LayoutParams source) { in LayoutParams() method in PercentRelativeLayout.LayoutParams
191 public LayoutParams(MarginLayoutParams source) { in LayoutParams() method in PercentRelativeLayout.LayoutParams
/frameworks/base/core/java/android/widget/
DTableRow.java163 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns()
194 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildBeforeLayout()
226 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth; in measureChildBeforeLayout()
235 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT]; in measureChildBeforeLayout()
238 … lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] / 2; in measureChildBeforeLayout()
242 lp.mOffset[LayoutParams.LOCATION] = lp.mOffset[LayoutParams.LOCATION_NEXT] = 0; in measureChildBeforeLayout()
256 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getChildrenSkipCount()
267 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION]; in getLocationOffset()
275 … return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT]; in getNextLocationOffset()
298 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getColumnsWidths()
[all …]
DAbsoluteLayout.java75 AbsoluteLayout.LayoutParams lp in onMeasure()
76 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); in onMeasure()
105 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
106 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0); in generateDefaultLayoutParams()
118 AbsoluteLayout.LayoutParams lp = in onLayout()
119 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); in onLayout()
132 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
133 return new AbsoluteLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
138 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
139 return p instanceof AbsoluteLayout.LayoutParams; in checkLayoutParams()
[all …]
DActionMenuView.java165 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
182 ViewGroup.LayoutParams.WRAP_CONTENT); in onMeasureExactFormat()
222 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
260 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
286 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
316 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
320 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
332 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
368 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
400 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
[all …]
DFrameLayout.java145 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams()
146 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams()
186 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
193 if (lp.width == LayoutParams.MATCH_PARENT || in onMeasure()
194 lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
227 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure()
241 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
276 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in layoutChildren()
369 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
370 return new FrameLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
[all …]
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java21 import static android.view.WindowManager.LayoutParams.FIRST_APPLICATION_WINDOW;
22 import static android.view.WindowManager.LayoutParams.LAST_APPLICATION_WINDOW;
23 import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY;
24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL;
25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG;
26 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA;
27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY;
28 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
30 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL;
[all …]
/frameworks/support/percent/api/
D26.0.0.txt7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara…
8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android…
11 …ic static deprecated class PercentFrameLayout.LayoutParams extends android.widget.FrameLayout.Layo…
12 ctor public PercentFrameLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
13 ctor public PercentFrameLayout.LayoutParams(int, int);
14 ctor public PercentFrameLayout.LayoutParams(int, int, int);
15 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
16 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
17 ctor public PercentFrameLayout.LayoutParams(android.widget.FrameLayout.LayoutParams);
18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam…
[all …]
Dcurrent.txt7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara…
8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android…
11 …ic static deprecated class PercentFrameLayout.LayoutParams extends android.widget.FrameLayout.Layo…
12 ctor public PercentFrameLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
13 ctor public PercentFrameLayout.LayoutParams(int, int);
14 ctor public PercentFrameLayout.LayoutParams(int, int, int);
15 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
16 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
17 ctor public PercentFrameLayout.LayoutParams(android.widget.FrameLayout.LayoutParams);
18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam…
[all …]
/frameworks/support/wear/src/android/support/wear/widget/
DBoxInsetLayout.java141 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams()
142 return new BoxInsetLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
168 LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); in onMeasure()
175 if ((lp.boxedEdges & LayoutParams.BOX_LEFT) == 0) { in onMeasure()
178 if ((lp.boxedEdges & LayoutParams.BOX_RIGHT) == 0) { in onMeasure()
181 if ((lp.boxedEdges & LayoutParams.BOX_TOP) == 0) { in onMeasure()
184 if ((lp.boxedEdges & LayoutParams.BOX_BOTTOM) == 0) { in onMeasure()
243 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
266 if (lp.width == LayoutParams.MATCH_PARENT) { in onLayout()
287 if (lp.height == LayoutParams.MATCH_PARENT) { in onLayout()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DInputMethodClient.java20 import android.view.WindowManager.LayoutParams;
21 import android.view.WindowManager.LayoutParams.SoftInputModeFlags;
111 final int state = softInputMode & LayoutParams.SOFT_INPUT_MASK_STATE; in softInputModeToString()
112 final int adjust = softInputMode & LayoutParams.SOFT_INPUT_MASK_ADJUST; in softInputModeToString()
114 (softInputMode & LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION) != 0; in softInputModeToString()
117 case LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED: in softInputModeToString()
120 case LayoutParams.SOFT_INPUT_STATE_UNCHANGED: in softInputModeToString()
123 case LayoutParams.SOFT_INPUT_STATE_HIDDEN: in softInputModeToString()
126 case LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN: in softInputModeToString()
129 case LayoutParams.SOFT_INPUT_STATE_VISIBLE: in softInputModeToString()
[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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DPagerSnapHelperTest.java66 new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in snapOnScrollSameView()
67 ViewGroup.LayoutParams.MATCH_PARENT), in snapOnScrollSameView()
68 new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in snapOnScrollSameView()
69 ViewGroup.LayoutParams.MATCH_PARENT)); in snapOnScrollSameView()
92 new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in snapOnScrollNextView()
93 ViewGroup.LayoutParams.MATCH_PARENT), in snapOnScrollNextView()
94 new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in snapOnScrollNextView()
95 ViewGroup.LayoutParams.MATCH_PARENT)); in snapOnScrollNextView()
122 new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in snapOnFlingSameView()
123 ViewGroup.LayoutParams.MATCH_PARENT), in snapOnFlingSameView()
[all …]
/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/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuView.java168 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
185 ViewGroup.LayoutParams.WRAP_CONTENT); in onMeasureExactFormat()
225 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
263 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
289 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
319 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
323 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
335 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
371 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
403 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
[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 …]
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/view/
DCreateViewTest.java24 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
25 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
48 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout2()
56 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
59 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
62 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
65 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
68 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
71 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
86 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfEditTexts.java47 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
48 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
49 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
54 new LinearLayout.LayoutParams( in onCreate()
55 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
56 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
62 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
63 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
64 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
67 mListView.setLayoutParams((new LinearLayout.LayoutParams( in onCreate()
[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 …]
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 …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java106 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
121 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure()
162 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
227 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
259 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
267 public LayoutParams generateLayoutParams(AttributeSet attrs) {
268 return new LayoutParams(mContext, attrs);
272 protected LayoutParams generateDefaultLayoutParams() {
273 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
278 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowManager.java33 import android.view.WindowManager.LayoutParams;
56 private WindowManager.LayoutParams mLp;
57 private WindowManager.LayoutParams mLpChanged;
92 mLp = new WindowManager.LayoutParams( in add()
93 ViewGroup.LayoutParams.MATCH_PARENT, in add()
95 WindowManager.LayoutParams.TYPE_STATUS_BAR, in add()
96 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in add()
97 | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING in add()
98 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH in add()
99 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH in add()
[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/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY); in onCreate()
79 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
80 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
81 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
82 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
83 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
84 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
85 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
86 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED in onCreate()
87 | WindowManager.LayoutParams.FLAG_DIM_BEHIND); in onCreate()
[all …]

12345678910>>...29