/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ComposeMessageActivityNoLockScreen.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 29 WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
H A D | SlideView.java | 111 addView(mImageView, new LayoutParams( 112 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, 0, 0)); 132 mImageView.setLayoutParams(new LayoutParams(width, height, left, top)); 143 addView(mVideoView, new LayoutParams( 144 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0)); 167 mViewPort.addView(mAudioInfoView, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 170 addView(mAudioInfoView, new LayoutParams( [all...] |
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
H A D | Bummer.java | 40 mFrame.setLayoutParams(new ViewGroup.LayoutParams( 41 ViewGroup.LayoutParams.MATCH_PARENT, 42 ViewGroup.LayoutParams.MATCH_PARENT 54 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( 55 ViewGroup.LayoutParams.WRAP_CONTENT, 56 ViewGroup.LayoutParams.WRAP_CONTENT
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | ViewLayoutUtils.java | 36 return new FrameLayout.LayoutParams(width, height); 38 return new RelativeLayout.LayoutParams(width, height); 49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); 59 final WindowManager.LayoutParams params = window.getAttributes(); 67 final ViewGroup.LayoutParams params = view.getLayoutParams(); 75 final ViewGroup.LayoutParams lp = view.getLayoutParams(); 76 if (lp instanceof LinearLayout.LayoutParams) { 77 final LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)lp; 82 } else if (lp instanceof FrameLayout.LayoutParams) { [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/ |
H A D | FragmentTestActivity.java | 40 window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 41 WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | EmojiLayoutParams.java | 64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); 71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); 81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); 87 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams();
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | CalculatorPadLayout.java | 102 public LayoutParams generateLayoutParams(AttributeSet attrs) { 107 protected LayoutParams generateDefaultLayoutParams() { 108 return new MarginLayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 112 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { 117 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | InterpolatingLayout.java | 56 public final static class LayoutParams extends LinearLayout.LayoutParams { class in class:InterpolatingLayout 81 public LayoutParams(Context c, AttributeSet attrs) { method in class:InterpolatingLayout.LayoutParams 147 public LayoutParams(int width, int height) { method in class:InterpolatingLayout.LayoutParams 151 public LayoutParams(MarginLayoutParams source) { method in class:InterpolatingLayout.LayoutParams 194 public LayoutParams generateLayoutParams(AttributeSet attrs) { 195 return new LayoutParams(getContext(), attrs); 199 protected LayoutParams generateDefaultLayoutParams() { 200 return new LayoutParams(LayoutParams [all...] |
H A D | TransitionAnimationView.java | 50 mMaskingView.setLayoutParams(new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, 51 LayoutParams.MATCH_PARENT));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayout.java | 102 PagedViewCellLayout.LayoutParams params) { 103 final PagedViewCellLayout.LayoutParams lp = params; 309 PagedViewCellLayout.LayoutParams lp = (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 374 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { 375 return new PagedViewCellLayout.LayoutParams(getContext(), attrs); 379 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 380 return p instanceof PagedViewCellLayout.LayoutParams; 384 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams 388 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:PagedViewCellLayout 428 public LayoutParams() { method in class:PagedViewCellLayout.LayoutParams 434 public LayoutParams(Context c, AttributeSet attrs) { method in class:PagedViewCellLayout.LayoutParams 440 public LayoutParams(ViewGroup.LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 446 public LayoutParams(LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 454 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { method in class:PagedViewCellLayout.LayoutParams [all...] |
H A D | PagedViewCellLayoutChildren.java | 92 PagedViewCellLayout.LayoutParams lp = 93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 121 PagedViewCellLayout.LayoutParams lp = 122 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 134 PagedViewCellLayout.LayoutParams lp = 135 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PagedViewCellLayout.java | 96 PagedViewCellLayout.LayoutParams params) { 97 final PagedViewCellLayout.LayoutParams lp = params; 303 PagedViewCellLayout.LayoutParams lp = (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 368 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { 369 return new PagedViewCellLayout.LayoutParams(getContext(), attrs); 373 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 374 return p instanceof PagedViewCellLayout.LayoutParams; 378 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams 382 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:PagedViewCellLayout 422 public LayoutParams() { method in class:PagedViewCellLayout.LayoutParams 428 public LayoutParams(Context c, AttributeSet attrs) { method in class:PagedViewCellLayout.LayoutParams 434 public LayoutParams(ViewGroup.LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 440 public LayoutParams(LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 448 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { method in class:PagedViewCellLayout.LayoutParams [all...] |
H A D | PagedViewCellLayoutChildren.java | 92 PagedViewCellLayout.LayoutParams lp = 93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 122 PagedViewCellLayout.LayoutParams lp = 123 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 135 PagedViewCellLayout.LayoutParams lp = 136 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | PreviewSurfaceView.java | 39 setLayoutSize(ViewGroup.LayoutParams.MATCH_PARENT); 43 ViewGroup.LayoutParams p = getLayoutParams();
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | BaseInputView.java | 72 WindowManager.LayoutParams dialogLayoutParams = window.getAttributes(); 74 dialogLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 76 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
H A D | CandidateTextView.java | 78 setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 79 ViewGroup.LayoutParams.MATCH_PARENT, 166 WindowManager.LayoutParams lp = window.getAttributes(); 168 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 170 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | IccPanel.java | 44 winP.setType(WindowManager.LayoutParams.TYPE_PRIORITY_PHONE); 45 winP.setLayout(WindowManager.LayoutParams.MATCH_PARENT, 46 WindowManager.LayoutParams.MATCH_PARENT);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerAlertFullScreen.java | 51 win.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 52 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); 55 win.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 56 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 57 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON);
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
H A D | OverlappingPaneLayout.java | 411 // First pass. Measure based on child LayoutParams width/height. 415 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 431 if (lp.height == LayoutParams.WRAP_CONTENT) { 434 } else if (lp.height == LayoutParams.MATCH_PARENT) { 442 if (lp.width == LayoutParams.WRAP_CONTENT) { 444 } else if (lp.width == LayoutParams.MATCH_PARENT) { 476 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 492 if (lp.width == LayoutParams 1194 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:OverlappingPaneLayout 1210 public LayoutParams() { method in class:OverlappingPaneLayout.LayoutParams 1214 public LayoutParams(int width, int height) { method in class:OverlappingPaneLayout.LayoutParams 1218 public LayoutParams(android.view.ViewGroup.LayoutParams source) { method in class:OverlappingPaneLayout.LayoutParams 1222 public LayoutParams(MarginLayoutParams source) { method in class:OverlappingPaneLayout.LayoutParams 1226 public LayoutParams(LayoutParams source) { method in class:OverlappingPaneLayout.LayoutParams 1231 public LayoutParams(Context c, AttributeSet attrs) { method in class:OverlappingPaneLayout.LayoutParams [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | OnScreenHint.java | 50 private final WindowManager.LayoutParams mParams = 51 new WindowManager.LayoutParams(); 67 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; 68 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; 69 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 70 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 73 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | OnScreenHint.java | 54 private final WindowManager.LayoutParams mParams = 55 new WindowManager.LayoutParams(); 71 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; 72 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; 73 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 74 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 77 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
H A D | ReorderHelper.java | 11 import com.android.deskclock.widget.sgv.StaggeredGridView.LayoutParams; 74 final LayoutParams lp = (LayoutParams) reorderTarget.getLayoutParams(); 135 final LayoutParams lp = (LayoutParams) reorderTarget.getLayoutParams(); 231 final LayoutParams childLayoutParam = (LayoutParams) child.getLayoutParams();
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | OnScreenHint.java | 52 private final WindowManager.LayoutParams mParams = 53 new WindowManager.LayoutParams(); 70 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; 71 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; 72 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 73 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 76 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | ModeOptionsOverlay.java | 157 FrameLayout.LayoutParams modeOptionsParams 158 = (FrameLayout.LayoutParams) mModeOptions.getLayoutParams(); 159 FrameLayout.LayoutParams modeOptionsToggleParams 160 = (FrameLayout.LayoutParams) mModeOptionsToggle.getLayoutParams(); 164 modeOptionsParams.width = ViewGroup.LayoutParams.MATCH_PARENT; 172 modeOptionsParams.height = ViewGroup.LayoutParams.MATCH_PARENT;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListPinnedHeaderView.java | 27 import android.widget.LinearLayout.LayoutParams; 55 setLayoutParams(new LayoutParams(widthIncludingPadding, LayoutParams.WRAP_CONTENT));
|