/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
H A D | SpinnerProgressDialog.java | 23 import android.view.ViewGroup.LayoutParams; 75 addContentView(new ProgressBar(toolbar.getContext()), new LayoutParams( 76 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | SlideView.java | 110 addView(mImageView, new LayoutParams( 111 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 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/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...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayout.java | 118 PagedViewCellLayout.LayoutParams params) { 119 final PagedViewCellLayout.LayoutParams lp = params; 325 PagedViewCellLayout.LayoutParams lp = (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 390 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { 391 return new PagedViewCellLayout.LayoutParams(getContext(), attrs); 395 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 396 return p instanceof PagedViewCellLayout.LayoutParams; 400 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams 404 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:PagedViewCellLayout 444 public LayoutParams() { method in class:PagedViewCellLayout.LayoutParams 450 public LayoutParams(Context c, AttributeSet attrs) { method in class:PagedViewCellLayout.LayoutParams 456 public LayoutParams(ViewGroup.LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 462 public LayoutParams(LayoutParams source) { method in class:PagedViewCellLayout.LayoutParams 470 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { method in class:PagedViewCellLayout.LayoutParams [all...] |
H A D | AppWidgetResizeFrame.java | 90 LayoutParams lp; 93 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 99 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 105 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams [all...] |
H A D | CellLayoutChildren.java | 60 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 82 public void setupLp(CellLayout.LayoutParams lp) { 89 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 104 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
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 | 135 public static class LayoutParams extends FrameLayout.LayoutParams { class in class:PagedViewGridLayout 136 public LayoutParams(int width, int height) { method in class:PagedViewGridLayout.LayoutParams
|
/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/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | FrameLayoutCompatUtils.java | 43 return new FrameLayout.LayoutParams(width, height); 45 return new RelativeLayout.LayoutParams(width, height); 55 final ViewGroup.LayoutParams lp = view.getLayoutParams();
|
H A D | InputMethodServiceCompatWrapper.java | 53 final WindowManager.LayoutParams lp = window.getAttributes(); 55 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 57 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertDialog.java | 124 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 125 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 126 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 127 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 128 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON);
|
/packages/apps/Camera/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/Gallery2/src/com/android/gallery3d/app/ |
H A D | ActivityState.java | 43 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 44 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON 45 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 113 final WindowManager.LayoutParams params = win.getAttributes(); 121 void setScreenOnFlags(WindowManager.LayoutParams params) { 155 final WindowManager.LayoutParams params = win.getAttributes();
|
H A D | MovieControllerOverlay.java | 86 LayoutParams wrapContent = 87 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 88 LayoutParams matchParent = 89 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 133 RelativeLayout.LayoutParams params = 134 new RelativeLayout.LayoutParams(LayoutParam [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | PieControlBase.java | 26 import android.view.ViewGroup.LayoutParams; 60 LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, 61 LayoutParams.MATCH_PARENT); 101 LayoutParams lp = new LayoutParams(mItemSize, mItemSize); 113 LayoutParams lp = new LayoutParams(mItemSize, mItemSize);
|
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/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/Music/src/com/android/music/ |
H A D | DeleteItems.java | 41 getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT, 42 WindowManager.LayoutParams.WRAP_CONTENT);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClock.java | 179 saver_view.setLayoutParams(new AbsoluteLayout.LayoutParams( 180 ViewGroup.LayoutParams.WRAP_CONTENT, 181 ViewGroup.LayoutParams.WRAP_CONTENT, 194 WindowManager.LayoutParams winParams = win.getAttributes(); 195 winParams.flags |= (WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 196 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 197 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON 198 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); 200 winParams.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; 202 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/Settings/src/com/android/settings/nfc/ |
H A D | AndroidBeam.java | 58 activity.getActionBar().setCustomView(mActionBarSwitch, new ActionBar.LayoutParams( 59 ActionBar.LayoutParams.WRAP_CONTENT, 60 ActionBar.LayoutParams.WRAP_CONTENT,
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | CorpusSelectionDialog.java | 92 WindowManager.LayoutParams lp = window.getAttributes(); 93 lp.width = WindowManager.LayoutParams.MATCH_PARENT; 94 lp.height = WindowManager.LayoutParams.MATCH_PARENT; 96 lp.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | RecordUtils.java | 33 import android.view.ViewGroup.LayoutParams; 81 container.setLayoutParams(new LayoutParams( 82 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
|