/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 | 72 AbsoluteLayout.LayoutParams lp in onMeasure() 73 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); in onMeasure() 102 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 103 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0); in generateDefaultLayoutParams() 115 AbsoluteLayout.LayoutParams lp = in onLayout() 116 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); in onLayout() 129 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 130 return new AbsoluteLayout.LayoutParams(getContext(), attrs); in generateLayoutParams() 135 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams() 136 return p instanceof AbsoluteLayout.LayoutParams; in checkLayoutParams() [all …]
|
D | RadioGroup.java | 128 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() 226 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 227 return new RadioGroup.LayoutParams(getContext(), attrs); in generateLayoutParams() 234 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams() 235 return p instanceof RadioGroup.LayoutParams; in checkLayoutParams() 239 protected LinearLayout.LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 240 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams() 265 public static class LayoutParams extends LinearLayout.LayoutParams { class in RadioGroup 269 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() method in RadioGroup.LayoutParams 276 public LayoutParams(int w, int h) { in LayoutParams() method in RadioGroup.LayoutParams [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | SizeAdaptiveLayoutTest.java | 81 SizeAdaptiveLayout.LayoutParams lp = in testOpenLarge() 82 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams(); in testOpenLarge() 98 SizeAdaptiveLayout.LayoutParams lp = in testOpenSmall() 99 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams(); in testOpenSmall() 115 SizeAdaptiveLayout.LayoutParams lp = in testOpenTooSmall() 116 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams(); in testOpenTooSmall() 132 SizeAdaptiveLayout.LayoutParams lp = in testOpenTooBig() 133 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams(); in testOpenTooBig() 151 SizeAdaptiveLayout.LayoutParams lp = in testOpenWrapContent() 152 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams(); in testOpenWrapContent() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuView.java | 117 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 178 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 222 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 252 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 284 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() 290 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 306 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 342 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 377 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() 435 LayoutParams p = (LayoutParams) v.getLayoutParams(); in onLayout() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuView.java | 117 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 176 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 214 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 240 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 270 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() 274 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 286 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 322 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() 355 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() 410 LayoutParams p = (LayoutParams) v.getLayoutParams(); in onLayout() [all …]
|
/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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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()
|
D | TextGammaActivity.java | 41 layout.addView(gamma, new LinearLayout.LayoutParams( in onCreate() 42 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT in onCreate() 58 layout.addView(image, new LinearLayout.LayoutParams( in onCreate() 59 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate() 60 LinearLayout.LayoutParams.WRAP_CONTENT in onCreate() 92 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( in onCreate() 93 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 24 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/ |
D | ListOfEditTexts.java | 47 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 …]
|
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 | 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 | 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/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeBackgroundService.java | 77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 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/core/java/com/android/internal/widget/ |
D | SizeAdaptiveLayout.java | 110 SizeAdaptiveLayout.LayoutParams layout = in initialize() 111 new SizeAdaptiveLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in initialize() 112 ViewGroup.LayoutParams.MATCH_PARENT); in initialize() 154 SizeAdaptiveLayout.LayoutParams lp = in onMeasure() 155 (SizeAdaptiveLayout.LayoutParams) model.getLayoutParams(); in onMeasure() 171 SizeAdaptiveLayout.LayoutParams lp = in clampSizeToBounds() 172 (SizeAdaptiveLayout.LayoutParams) child.getLayoutParams(); in clampSizeToBounds() 175 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) { in clampSizeToBounds() 201 SizeAdaptiveLayout.LayoutParams lp = in selectActiveChild() 202 (SizeAdaptiveLayout.LayoutParams) child.getLayoutParams(); in selectActiveChild() [all …]
|
D | ActionBarOverlayLayout.java | 147 LayoutParams lp = (LayoutParams)view.getLayoutParams(); in applyInsets() 199 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 200 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams() 204 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 205 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 209 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() 210 return new LayoutParams(p); in generateLayoutParams() 214 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams() 215 return p instanceof LayoutParams; in checkLayoutParams() 230 LayoutParams lp = (LayoutParams) mActionBarTop.getLayoutParams(); in onMeasure() [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | MultiPaneChallengeLayout.java | 183 private int getVirtualHeight(LayoutParams lp, int height, int heightUsed) { in getVirtualHeight() 192 if (lp.childType == LayoutParams.CHILD_TYPE_WIDGET || in getVirtualHeight() 193 lp.childType == LayoutParams.CHILD_TYPE_USER_SWITCHER) { in getVirtualHeight() 198 } else if (lp.childType == LayoutParams.CHILD_TYPE_PAGE_DELETE_DROP_TARGET) { in getVirtualHeight() 226 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 228 if (lp.childType == LayoutParams.CHILD_TYPE_CHALLENGE) { in onMeasure() 238 } else if (lp.childType == LayoutParams.CHILD_TYPE_USER_SWITCHER) { in onMeasure() 267 } else if (lp.childType == LayoutParams.CHILD_TYPE_SCRIM) { in onMeasure() 276 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 278 if (lp.childType == LayoutParams.CHILD_TYPE_USER_SWITCHER || in onMeasure() [all …]
|
D | KeyguardSecurityViewFlipper.java | 163 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams() 164 return p instanceof LayoutParams; in checkLayoutParams() 168 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() 169 return p instanceof LayoutParams ? new LayoutParams((LayoutParams) p) : new LayoutParams(p); in generateLayoutParams() 173 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 174 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 197 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 216 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 233 case LayoutParams.WRAP_CONTENT: in makeChildMeasureSpec() 237 case LayoutParams.MATCH_PARENT: in makeChildMeasureSpec() [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/core/java/android/view/ |
D | Window.java | 156 private final WindowManager.LayoutParams mWindowAttributes = 157 new WindowManager.LayoutParams(); 307 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); in onWindowAttributesChanged() 489 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { in adjustLayoutParamsForSubWindow() 491 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in adjustLayoutParamsForSubWindow() 492 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { in adjustLayoutParamsForSubWindow() 501 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) { in adjustLayoutParamsForSubWindow() 503 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY) { in adjustLayoutParamsForSubWindow() 505 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { in adjustLayoutParamsForSubWindow() 507 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL) { in adjustLayoutParamsForSubWindow() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | TabletStatusBar.java | 53 import android.view.ViewGroup.LayoutParams; 141 WindowManager.LayoutParams mNotificationPanelParams; 219 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in addStatusBarWindow() 220 ViewGroup.LayoutParams.MATCH_PARENT, in addStatusBarWindow() 221 ViewGroup.LayoutParams.MATCH_PARENT, in addStatusBarWindow() 222 WindowManager.LayoutParams.TYPE_NAVIGATION_BAR, in addStatusBarWindow() 223 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in addStatusBarWindow() 224 | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING in addStatusBarWindow() 225 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH, in addStatusBarWindow() 284 WindowManager.LayoutParams lp = mNotificationPanelParams = new WindowManager.LayoutParams( in addPanelWindows() [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | ListFragment.java | 105 pframe.addView(progress, new FrameLayout.LayoutParams( in onCreateView() 106 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreateView() 108 root.addView(pframe, new FrameLayout.LayoutParams( in onCreateView() 109 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView() 119 lframe.addView(tv, new FrameLayout.LayoutParams( in onCreateView() 120 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView() 125 lframe.addView(lv, new FrameLayout.LayoutParams( in onCreateView() 126 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView() 128 root.addView(lframe, new FrameLayout.LayoutParams( in onCreateView() 129 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | SoftInputWindow.java | 39 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken() 95 WindowManager.LayoutParams lp = getWindow().getAttributes(); in getSize() 114 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setSize() 135 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity() 152 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow() 154 lp.type = WindowManager.LayoutParams.TYPE_INPUT_METHOD; in initDockWindow() 165 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | in initDockWindow() 166 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, in initDockWindow() 167 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | in initDockWindow() 168 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | in initDockWindow() [all …]
|