/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
BrowseErrorSupportActivity.java | 62 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(100, 100, 64 progressBar.setLayoutParams(layoutParams);
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/ |
VideoActivity.java | 39 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 40 WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
ArcMotionUsage.java | 58 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mTarget.getLayoutParams();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ThumbsBar.java | 73 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); 100 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); 134 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(mThumbWidth, mThumbHeight); 140 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams();
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
StringPresenter.java | 32 tv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 200));
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListPopupWindow.java | 107 private int mDropDownHeight = ViewGroup.LayoutParams.WRAP_CONTENT; 108 private int mDropDownWidth = ViewGroup.LayoutParams.WRAP_CONTENT; 111 private int mDropDownWindowLayoutType = WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL; 174 * Alias for {@link ViewGroup.LayoutParams#MATCH_PARENT}. 178 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT; 181 * Alias for {@link ViewGroup.LayoutParams#WRAP_CONTENT}. 184 public static final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT; 383 * {@link android.view.WindowManager.LayoutParams#softInputMode} 386 * @see android.view.WindowManager.LayoutParams#softInputMode 397 * @see android.view.WindowManager.LayoutParams#softInputMod [all...] |
TooltipPopup.java | 51 private final WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams(); 64 mLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL; 65 mLayoutParams.width = WindowManager.LayoutParams.WRAP_CONTENT; 66 mLayoutParams.height = WindowManager.LayoutParams.WRAP_CONTENT; 69 mLayoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 70 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 105 WindowManager.LayoutParams outParams) {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ProgressOverlay.java | 59 FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) getLayoutParams();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoPageProgressBar.java | 22 import android.view.ViewGroup.LayoutParams; 42 LayoutParams layoutParams = mProgress.getLayoutParams(); 43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; 44 mProgress.setLayoutParams(layoutParams);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 62 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 89 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 110 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 147 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
/packages/apps/Music/src/com/android/music/ |
DeleteItems.java | 41 WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.WRAP_CONTENT);
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
CheckBoxItem.java | 49 LinearLayout.LayoutParams lp = 50 (LinearLayout.LayoutParams) checkBox.getLayoutParams();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
ImmersiveModeConfirmation.java | 188 public WindowManager.LayoutParams getClingWindowLayoutParams() { 189 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 190 ViewGroup.LayoutParams.MATCH_PARENT, 191 ViewGroup.LayoutParams.MATCH_PARENT, 192 WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL, 194 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 195 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED 196 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL 199 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TwoLineListItemTest.java | 32 import android.widget.RelativeLayout.LayoutParams; 111 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, 112 LayoutParams.WRAP_CONTENT);
|
TableLayoutTest.java | 455 mTableEmpty.addView(child1, new ViewGroup.LayoutParams(100, 200)); 457 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, 466 mTableEmpty.addView(child2, new TableRow.LayoutParams(200, 300, 1)); 469 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, 472 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, 482 mTableEmpty.addView(null, new TableLayout.LayoutParams(200, 300)); 496 mTableEmpty.addView(child1, 0, new ViewGroup.LayoutParams(100, 200)); 498 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, 507 mTableEmpty.addView(child2, 0, new TableRow.LayoutParams(200, 300, 1)); 510 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT [all...] |
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoActivity.java | 111 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 112 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 113 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 117 w.setFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED, 118 WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 40 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}, then the 82 public void addView(View child, int index, ViewGroup.LayoutParams params) { 91 mChronometerFollow = (params.width == ViewGroup.LayoutParams.WRAP_CONTENT); 150 RelativeLayout.LayoutParams params; 153 params = (RelativeLayout.LayoutParams) mProgressBar.getLayoutParams(); 176 params = (RelativeLayout.LayoutParams) mChronometer.getLayoutParams();
|
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskSnapshotSurface.java | 22 import static android.view.WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 23 import static android.view.WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; 24 import static android.view.WindowManager.LayoutParams.FLAG_IGNORE_CHEEK_PRESSES; 25 import static android.view.WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE; 26 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; 27 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 28 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL; 29 import static android.view.WindowManager.LayoutParams.FLAG_SCALED; 30 import static android.view.WindowManager.LayoutParams.FLAG_SECURE; 31 import static android.view.WindowManager.LayoutParams.FLAG_SLIPPERY [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
CrossfadeMultiple.java | 32 import static android.widget.LinearLayout.LayoutParams; 97 LayoutParams params = null; 100 params = new LayoutParams(200, 200); 106 params = new LayoutParams(400, 200); 112 params = new LayoutParams(200, 400);
|
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
MainActivity.java | 31 import android.view.WindowManager.LayoutParams; 46 private final LayoutParams mLayoutParams = new LayoutParams(); 126 final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(); 127 layoutParams.token = getActivityToken(); 132 final int res = session.addToDisplayWithoutInputChannel(window, window.mSeq, layoutParams,
|
/frameworks/support/design/src/android/support/design/widget/ |
HeaderScrollingViewBehavior.java | 56 if (childLpHeight == ViewGroup.LayoutParams.MATCH_PARENT 57 || childLpHeight == ViewGroup.LayoutParams.WRAP_CONTENT) { 86 childLpHeight == ViewGroup.LayoutParams.MATCH_PARENT 107 final CoordinatorLayout.LayoutParams lp = 108 (CoordinatorLayout.LayoutParams) child.getLayoutParams();
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
BaseTestingActivity.java | 28 import android.widget.LinearLayout.LayoutParams; 77 LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
GrantPermissionsViewHandlerImpl.java | 72 public void updateWindowAttributes(WindowManager.LayoutParams outLayoutParams) { 73 outLayoutParams.width = WindowManager.LayoutParams.MATCH_PARENT; 74 outLayoutParams.height = WindowManager.LayoutParams.WRAP_CONTENT; 77 outLayoutParams.type = WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG; 78 outLayoutParams.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
CoordinatorLayoutTest.java | 104 final CoordinatorLayout.LayoutParams lp = col.generateDefaultLayoutParams(); 173 final CoordinatorLayout.LayoutParams lp = 174 (CoordinatorLayout.LayoutParams) view.getLayoutParams(); 194 final CoordinatorLayout.LayoutParams lpInsetLeft = col.generateDefaultLayoutParams(); 197 final CoordinatorLayout.LayoutParams lpInsetRight = col.generateDefaultLayoutParams(); 200 final CoordinatorLayout.LayoutParams lpInsetTop = col.generateDefaultLayoutParams(); 203 final CoordinatorLayout.LayoutParams lpInsetBottom = col.generateDefaultLayoutParams(); 206 final CoordinatorLayout.LayoutParams lpDodgeLeft = col.generateDefaultLayoutParams(); 209 final CoordinatorLayout.LayoutParams lpDodgeLeftAndTop = col.generateDefaultLayoutParams(); 212 final CoordinatorLayout.LayoutParams lpDodgeAll = col.generateDefaultLayoutParams() [all...] |
/frameworks/base/core/java/android/app/ |
ActionBar.java | 240 * @param layoutParams How this custom view should layout in the bar. 244 public abstract void setCustomView(View view, LayoutParams layoutParams); [all...] |