/frameworks/base/core/java/android/widget/ |
D | TableRow.java | 164 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 …]
|
D | AbsoluteLayout.java | 76 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 …]
|
D | ActionMenuView.java | 166 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 …]
|
D | FrameLayout.java | 154 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/ |
D | WindowManagerPolicy.java | 19 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_OVERLAY; 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL; 23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA; 25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY; 26 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; 28 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL; [all …]
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | DelayedTransition.java | 25 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/ |
D | ListItemFactory.java | 51 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/java/com/android/internal/inputmethod/ |
D | InputMethodDebug.java | 20 import android.view.WindowManager.LayoutParams.SoftInputModeFlags; 102 final int state = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_STATE; in softInputModeToString() 103 final int adjust = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST; in softInputModeToString() 105 (softInputMode & WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION) != 0; in softInputModeToString() 108 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED: in softInputModeToString() 111 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED: in softInputModeToString() 114 case WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN: in softInputModeToString() 117 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN: in softInputModeToString() 120 case WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE: in softInputModeToString() 123 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE: in softInputModeToString() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 85 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 99 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure() 167 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() 208 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawChild() 219 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 220 return new LayoutParams(mContext, attrs); in generateLayoutParams() 224 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 225 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams() 230 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { in generateLayoutParams() 231 LayoutParams copy = new LayoutParams(lp.width, lp.height); in generateLayoutParams() [all …]
|
D | OrientationHelper.java | 274 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) in createHorizontalHelper() 282 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) in createHorizontalHelper() 290 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) in createHorizontalHelper() 297 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) in createHorizontalHelper() 372 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 380 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 388 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 395 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams)
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PictureCaptureDemo.java | 35 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()
|
D | MultiLayersActivity.java | 38 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 …]
|
D | GlyphCacheActivity.java | 27 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/ |
D | CreateViewTest.java | 19 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/core/tests/coretests/src/android/widget/focus/ |
D | ListOfEditTexts.java | 52 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 …]
|
D | VerticalFocusSearch.java | 70 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 …]
|
D | HorizontalFocusSearch.java | 63 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 …]
|
D | GoneParentFocusedChild.java | 60 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 61 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 62 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 67 mGoneGroup.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 72 mButton.setLayoutParams(new LinearLayout.LayoutParams( in onCreate() 73 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate() 74 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 63 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/ |
D | FakeBackgroundService.java | 77 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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 184 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/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowController.java | 19 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; 39 import android.view.WindowManager.LayoutParams; 79 private final LayoutParams mLpChanged; 85 private LayoutParams mLp; 120 mLpChanged = new LayoutParams(); in StatusBarWindowController() 174 mLp = new LayoutParams( in add() 175 ViewGroup.LayoutParams.MATCH_PARENT, in add() 177 LayoutParams.TYPE_STATUS_BAR, in add() 178 LayoutParams.FLAG_NOT_FOCUSABLE in add() 179 | LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING in add() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerWindowManager.java | 19 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; 43 private WindowManager.LayoutParams mLp; [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 183 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/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTests.java | 20 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 21 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 22 import static android.view.WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 23 import static android.view.WindowManager.LayoutParams.FLAG_DIM_BEHIND; 24 import static android.view.WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS; 25 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; 26 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR; 27 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 28 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; 29 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; [all …]
|