/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
ReparentImageUsage.java | 67 FrameLayout.LayoutParams.MATCH_PARENT); 78 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(size, size);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
TestActivity.java | 48 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); 51 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactListPinnedHeaderView.java | 26 import android.widget.LinearLayout.LayoutParams; 52 setLayoutParams(new LayoutParams(textWidth, LayoutParams.WRAP_CONTENT));
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorScrollView.java | 26 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 27 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 59 final ViewGroup.LayoutParams lp = child.getLayoutParams();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CommonControllerOverlay.java | 78 LayoutParams wrapContent = 79 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 80 LayoutParams matchParent = 81 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 118 RelativeLayout.LayoutParams params = 119 new RelativeLayout.LayoutParams( [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewGridLayout.java | 128 public static class LayoutParams extends FrameLayout.LayoutParams { 129 public LayoutParams(int width, int height) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
TestingUtils.java | 50 new FrameLayout.LayoutParams( 51 FrameLayout.LayoutParams.MATCH_PARENT, 52 FrameLayout.LayoutParams.WRAP_CONTENT,
|
/packages/apps/TV/src/com/android/tv/dialog/ |
WebDialogFragment.java | 27 import android.view.ViewGroup.LayoutParams; 89 getDialog().getWindow().setLayout(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
MaxWidthLayout.java | 78 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 79 if (lp.width == LayoutParams.MATCH_PARENT) {
|
/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultActivity.java | 35 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentReceiveResult.java | 40 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( 41 ViewGroup.LayoutParams.MATCH_PARENT, 42 ViewGroup.LayoutParams.MATCH_PARENT);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List8.java | 26 import android.view.ViewGroup.LayoutParams; 111 i.setLayoutParams(new AbsListView.LayoutParams(LayoutParams.WRAP_CONTENT, 112 LayoutParams.WRAP_CONTENT));
|
/development/samples/Home/src/com/example/android/home/ |
Wallpaper.java | 31 import android.widget.Gallery.LayoutParams; 141 i.setLayoutParams(new Gallery.LayoutParams( 142 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|
/frameworks/base/core/java/android/content/ |
SyncActivityTooManyDeletes.java | 86 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 87 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT, 0);
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
VirtualDisplayTest.java | 38 import android.view.ViewGroup.LayoutParams; 124 WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION, 0); 148 WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION, 0); 180 WindowManager.LayoutParams.TYPE_TOAST, 0); 187 WindowManager.LayoutParams.TYPE_TOAST, 188 WindowManager.LayoutParams.FLAG_SECURE); 194 WindowManager.LayoutParams.TYPE_TOAST, 0); 200 WindowManager.LayoutParams.TYPE_TOAST, 201 WindowManager.LayoutParams.FLAG_SECURE); 234 WindowManager.LayoutParams.TYPE_TOAST [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListScenario.java | 317 mListView.setLayoutParams(new ViewGroup.LayoutParams( 318 ViewGroup.LayoutParams.MATCH_PARENT, 319 ViewGroup.LayoutParams.MATCH_PARENT)); 377 mHeaderTextView.setLayoutParams(new LinearLayout.LayoutParams( 378 ViewGroup.LayoutParams.MATCH_PARENT, 379 ViewGroup.LayoutParams.WRAP_CONTENT)); 383 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( 384 ViewGroup.LayoutParams.MATCH_PARENT, 385 ViewGroup.LayoutParams.MATCH_PARENT)); 386 mListView.setLayoutParams((new LinearLayout.LayoutParams( [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QuickQSPanel.java | 164 setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); 187 private LayoutParams generateSpaceParams() { 189 LayoutParams lp = new LayoutParams(0, size); 195 private LayoutParams generateLayoutParams() { 197 LayoutParams lp = new LayoutParams(size, size);
|
/frameworks/base/services/core/java/com/android/server/am/ |
UserSwitchingDialog.java | 84 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); 86 WindowManager.LayoutParams attrs = getWindow().getAttributes(); 87 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR | 88 WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
|
/frameworks/base/tests/CameraPrewarmTest/src/com/google/android/test/cameraprewarm/ |
SecureCameraActivity.java | 33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SimplePathsActivity.java | 33 layout.addView(text, new FrameLayout.LayoutParams(600, 350, Gravity.CENTER));
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvBoxAdapter.java | 67 RecyclerView.LayoutParams lp = new RecyclerView.LayoutParams( 68 ViewGroup.LayoutParams.WRAP_CONTENT, 69 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
BottomSheetBehaviorTouchTest.java | 74 CoordinatorLayout.LayoutParams params = new CoordinatorLayout.LayoutParams( 75 CoordinatorLayout.LayoutParams.MATCH_PARENT, 76 CoordinatorLayout.LayoutParams.MATCH_PARENT);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
DetailsOverviewLogoPresenter.java | 95 ViewGroup.LayoutParams lp = view.getLayoutParams(); 96 vh.setSizeFromDrawableIntrinsic(lp.width == ViewGroup.LayoutParams.WRAP_CONTENT 97 && lp.height == ViewGroup.LayoutParams.WRAP_CONTENT); 142 ViewGroup.LayoutParams lp = imageView.getLayoutParams();
|
InvisibleRowPresenter.java | 35 root.setLayoutParams(new RelativeLayout.LayoutParams(0, 0));
|
ShadowOverlayContainer.java | 282 ViewGroup.LayoutParams lp = view.getLayoutParams(); 285 // Wrapped view is assigned a FrameLayout.LayoutParams with width and height only. 287 ViewGroup.LayoutParams wrapped_lp = new FrameLayout.LayoutParams(lp.width, lp.height); 290 lp.width = lp.width == LayoutParams.MATCH_PARENT 291 ? LayoutParams.MATCH_PARENT : LayoutParams.WRAP_CONTENT; 292 lp.height = lp.height == LayoutParams.MATCH_PARENT 293 ? LayoutParams.MATCH_PARENT : LayoutParams.WRAP_CONTENT [all...] |