/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 | 110 addView(mImageView, new LayoutParams( 111 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, 0, 0)); 131 mImageView.setLayoutParams(new LayoutParams(width, height, left, top)); 142 addView(mVideoView, new LayoutParams( 143 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0)); 166 mViewPort.addView(mAudioInfoView, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 169 addView(mAudioInfoView, new LayoutParams( [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | ViewLayoutUtils.java | 32 return new FrameLayout.LayoutParams(width, height); 34 return new RelativeLayout.LayoutParams(width, height); 44 final ViewGroup.LayoutParams lp = view.getLayoutParams();
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ViewUtil.java | 29 * Returns the width as specified in the LayoutParams 34 // We haven't been layed out yet, so get the size from the LayoutParams 35 final ViewGroup.LayoutParams p = view.getLayoutParams();
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
H A D | SpinnerProgressDialog.java | 24 import android.view.ViewGroup.LayoutParams; 51 addContentView(new ProgressBar(context), new LayoutParams( 52 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|
/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 | 113 PagedViewCellLayout.LayoutParams params) { 114 final PagedViewCellLayout.LayoutParams lp = params; 320 PagedViewCellLayout.LayoutParams lp = (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 385 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { 386 return new PagedViewCellLayout.LayoutParams(getContext(), attrs); 390 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 391 return p instanceof PagedViewCellLayout.LayoutParams; 395 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams 399 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:PagedViewCellLayout 439 public LayoutParams() { method in class:PagedViewCellLayout.LayoutParams 445 public LayoutParams(Context c, AttributeSet attrs) { method in class:PagedViewCellLayout.LayoutParams 451 public LayoutParams(ViewGroup.LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 457 public LayoutParams(LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 465 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();
|
H A D | PagedViewGridLayout.java | 136 public static class LayoutParams extends FrameLayout.LayoutParams { class in class:PagedViewGridLayout 137 public LayoutParams(int width, int height) { method in class:PagedViewGridLayout.LayoutParams
|
H A D | ShortcutAndWidgetContainer.java | 62 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 82 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 102 public void setupLp(CellLayout.LayoutParams lp) { 109 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 124 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
H A D | AppWidgetResizeFrame.java | 89 LayoutParams lp; 92 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 98 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 104 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams [all...] |
/packages/apps/Phone/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);
|
H A D | CdmaDisplayInfo.java | 61 WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); 63 WindowManager.LayoutParams.FLAG_DIM_BEHIND);
|
/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/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/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/Calendar/src/com/android/calendar/ |
H A D | StickyHeaderListView.java | 246 ViewGroup.LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, 331 FrameLayout.LayoutParams params = 332 new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, 387 ViewGroup.LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT,
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BreadCrumbView.java | 178 mBackButton.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 179 LayoutParams.MATCH_PARENT)); 208 private LayoutParams makeDividerLayoutParams() { 209 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, 210 LayoutParams.MATCH_PARENT); 369 tv.setLayoutParams(new LayoutParams(LayoutParams [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | DeleteItems.java | 41 getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, 42 WindowManager.LayoutParams.WRAP_CONTENT);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertFullScreen.java | 104 win.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN 105 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 106 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); 111 win.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 112 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClock.java | 176 saver_view.setLayoutParams(new AbsoluteLayout.LayoutParams( 177 ViewGroup.LayoutParams.WRAP_CONTENT, 178 ViewGroup.LayoutParams.WRAP_CONTENT, 191 WindowManager.LayoutParams winParams = win.getAttributes(); 192 winParams.flags |= (WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 193 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 194 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON 195 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); 197 winParams.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; 199 winParams.flags &= (~WindowManager.LayoutParams [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
H A D | ActivityHelper.java | 129 WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); 132 activity.getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, 133 WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | MovieControllerOverlay.java | 84 LayoutParams wrapContent = 85 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 86 LayoutParams matchParent = 87 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 129 RelativeLayout.LayoutParams params = 130 new RelativeLayout.LayoutParams(LayoutParam [all...] |