/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 206 FrameLayout.LayoutParams params = new FrameLayout.LayoutParams( 207 FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT); 270 FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarDisplayOptions.java | 28 import android.view.ViewGroup.LayoutParams; 61 new ActionBar.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); 102 ActionBar.LayoutParams lp = (ActionBar.LayoutParams) mCustomView.getLayoutParams();
|
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
AdapterTransitionFragment.java | 206 FrameLayout.LayoutParams params = new FrameLayout.LayoutParams( 207 FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT); 270 FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DisplayActivity.java | 76 fullscreen ? WindowManager.LayoutParams.FLAG_FULLSCREEN : 0, 77 WindowManager.LayoutParams.FLAG_FULLSCREEN); 159 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 160 | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR, 161 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 162 | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InsertionHandleController.java | 16 import android.view.ViewGroup.LayoutParams; 212 mContainer.setWidth(ViewGroup.LayoutParams.WRAP_CONTENT); 213 mContainer.setHeight(ViewGroup.LayoutParams.WRAP_CONTENT); 253 view.setLayoutParams(new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 254 ViewGroup.LayoutParams.WRAP_CONTENT));
|
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/ |
Shell.java | 79 new FrameLayout.LayoutParams( 80 FrameLayout.LayoutParams.MATCH_PARENT, 81 FrameLayout.LayoutParams.MATCH_PARENT)); 263 new FrameLayout.LayoutParams( 264 FrameLayout.LayoutParams.MATCH_PARENT, 265 FrameLayout.LayoutParams.MATCH_PARENT));
|
/frameworks/base/core/java/android/view/ |
WindowManager.java | 54 * {@link LayoutParams} {@link LayoutParams#token} 108 public static class LayoutParams extends ViewGroup.LayoutParams 128 * to the view associated with these LayoutParams. Specify 0 if the view 137 * to the view associated with these LayoutParams. Specify 0 if the view [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 259 IconMenuView.LayoutParams getTextAppropriateLayoutParams() { 260 IconMenuView.LayoutParams lp = (IconMenuView.LayoutParams) getLayoutParams(); 263 lp = new IconMenuView.LayoutParams( 264 IconMenuView.LayoutParams.MATCH_PARENT, IconMenuView.LayoutParams.MATCH_PARENT);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ViewPagerTabs.java | 131 new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT)); 178 mTabStrip.addView(textView, new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, 179 LayoutParams.MATCH_PARENT, 1));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ScreensaverActivity.java | 53 private final int mFlags = (WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 54 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 55 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON 56 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 166 WindowManager.LayoutParams winParams = win.getAttributes(); 167 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
GridLayoutAnimationControllerTest.java | 28 import android.view.ViewGroup.LayoutParams; 275 final AbsListView.LayoutParams layoutParams1 = setAnimationParameters(0); 277 final AbsListView.LayoutParams layoutParams2 = setAnimationParameters(1); 279 final AbsListView.LayoutParams layoutParams3 = setAnimationParameters(2); 281 final AbsListView.LayoutParams layoutParams4 = setAnimationParameters(3); 283 final AbsListView.LayoutParams layoutParams5 = setAnimationParameters(4); 285 final AbsListView.LayoutParams layoutParams6 = setAnimationParameters(5); 287 final AbsListView.LayoutParams layoutParams7 = setAnimationParameters(6); 289 final AbsListView.LayoutParams layoutParams8 = setAnimationParameters(7); 291 final AbsListView.LayoutParams layoutParams9 = setAnimationParameters(8) [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
StaggeredGridLayoutManager.java | 298 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 332 LayoutParams nextLp = (LayoutParams) nextChild.getLayoutParams(); [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
RecyclerViewActivity.java | 48 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 49 ViewGroup.LayoutParams.MATCH_PARENT)); 131 public RecyclerView.LayoutParams generateDefaultLayoutParams() { 132 return new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 133 ViewGroup.LayoutParams.WRAP_CONTENT);
|
AnimatedRecyclerView.java | 63 mRecyclerView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 64 ViewGroup.LayoutParams.MATCH_PARENT)); 221 RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) v.getLayoutParams(); 241 RecyclerView.LayoutParams lastParams = 242 (RecyclerView.LayoutParams) lastVisibleView.getLayoutParams(); 248 RecyclerView.LayoutParams params = 249 (RecyclerView.LayoutParams) view.getLayoutParams(); 268 public RecyclerView.LayoutParams generateDefaultLayoutParams() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 290 WindowManager.LayoutParams params = new WindowManager.LayoutParams( 291 WindowManager.LayoutParams.MATCH_PARENT, 292 WindowManager.LayoutParams.WRAP_CONTENT, 293 WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY, 294 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE| 295 WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsDialog.java | 97 window.setType(WindowManager.LayoutParams.TYPE_RECENTS_OVERLAY); 98 window.setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, 99 WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); 104 final WindowManager.LayoutParams params = window.getAttributes(); 105 params.width = WindowManager.LayoutParams.MATCH_PARENT; 106 params.height = WindowManager.LayoutParams.MATCH_PARENT; 108 window.setFlags(0, WindowManager.LayoutParams.FLAG_DIM_BEHIND);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientsActivity.java | 69 layout.addView(gradientView, new FrameLayout.LayoutParams( 72 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 76 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 80 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 84 layout.addView(rotateView, new FrameLayout.LayoutParams( 85 300, FrameLayout.LayoutParams.WRAP_CONTENT,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContainer.java | 217 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); 218 lp.width = LayoutParams.MATCH_PARENT; 219 lp.height = LayoutParams.WRAP_CONTENT; 245 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); 288 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams();
|
ToolbarWidgetWrapper.java | 140 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); 474 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 475 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 476 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 536 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 537 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 538 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 551 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertFullScreen.java | 201 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 202 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 207 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 208 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 253 win.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN 254 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 255 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableLayoutTest.java | 458 tableLayout.addView(child1, new ViewGroup.LayoutParams(100, 200)); 468 tableLayout.addView(child2, new TableRow.LayoutParams(200, 300, 1)); 479 tableLayout.addView(null, new TableLayout.LayoutParams(200, 300)); 496 tableLayout.addView(child1, 0, new ViewGroup.LayoutParams(100, 200)); 506 tableLayout.addView(child2, 0, new TableRow.LayoutParams(200, 300, 1)); 520 tableLayout.addView(child3, -1, new ListView.LayoutParams(300, 400)); 536 new TableLayout.LayoutParams(200, 300)); 542 tableLayout.addView(null, -1, new TableLayout.LayoutParams(200, 300)); 569 assertTrue(mockTableLayout.checkLayoutParams(new TableLayout.LayoutParams(200, 300))); 571 assertFalse(mockTableLayout.checkLayoutParams(new ViewGroup.LayoutParams(200, 300))) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 86 import android.view.ViewGroup.LayoutParams; 315 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( 316 topLayoutWidth, LayoutParams.MATCH_PARENT); 317 topLayout.setLayoutParams(layoutParams); 347 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( 348 LayoutParams.MATCH_PARENT, 0) [all...] |
/frameworks/base/core/java/android/widget/ |
MediaController.java | 81 private WindowManager.LayoutParams mDecorLayoutParams; 153 mDecorLayoutParams = new WindowManager.LayoutParams(); 154 WindowManager.LayoutParams p = mDecorLayoutParams; 156 p.height = LayoutParams.WRAP_CONTENT; 159 p.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; 160 p.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM 161 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL 162 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH; 178 WindowManager.LayoutParams p = mDecorLayoutParams; 229 FrameLayout.LayoutParams frameParams = new FrameLayout.LayoutParams [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ToolbarWidgetWrapper.java | 138 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); 447 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 448 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 449 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 509 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); 510 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 511 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 524 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT [all...] |
/packages/apps/Browser/src/com/android/browser/ |
NavTabScroller.java | 96 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT)); 123 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT)); 126 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 201 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams [all...] |