/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
BottomActivity.java | 64 WindowManager.LayoutParams params = new WindowManager.LayoutParams(); 65 params.height = WindowManager.LayoutParams.WRAP_CONTENT; 66 params.width = WindowManager.LayoutParams.WRAP_CONTENT; 67 params.type = WindowManager.LayoutParams.TYPE_BASE_APPLICATION;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
MarqueeActivity.java | 42 linearLayout.addView(text1, new LinearLayout.LayoutParams( 43 100, LinearLayout.LayoutParams.WRAP_CONTENT)); 50 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams( 51 100, LinearLayout.LayoutParams.WRAP_CONTENT);
|
TimeDialogActivity.java | 35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, 36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ListEmptyView.java | 23 import android.widget.LinearLayout.LayoutParams; 66 ((LinearLayout.LayoutParams) mEmptyImageHint.getLayoutParams()).gravity = gravity; 67 ((LinearLayout.LayoutParams) mEmptyTextHint.getLayoutParams()).gravity = gravity; 69 isVerticallyCentered ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
ProjectedPresentation.java | 34 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); 37 getWindow().addFlags(WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE); 38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyActivity.java | 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 35 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 36 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/cts/tests/admin/app/src/android/admin/app/ |
CtsDeviceAdminActivationTestActivity.java | 45 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 46 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 47 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/app/app/src/android/app/stubs/ |
ActivityMonitorTestActivity.java | 30 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 31 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 32 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTestFirstActivity.java | 36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 37 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 38 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
UiAutomationTestSecondActivity.java | 35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 36 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 37 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSetSelection.java | 53 getListViewContainer().addView(mButton, new LinearLayout.LayoutParams( 54 LinearLayout.LayoutParams.MATCH_PARENT, 55 LinearLayout.LayoutParams.WRAP_CONTENT
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipDismissViewController.java | 31 import android.view.WindowManager.LayoutParams; 83 FrameLayout.LayoutParams tlp = (FrameLayout.LayoutParams) text.getLayoutParams(); 87 LayoutParams lp = new LayoutParams( 88 LayoutParams.MATCH_PARENT, gradientHeight, 90 LayoutParams.TYPE_NAVIGATION_BAR_PANEL, 91 LayoutParams.FLAG_LAYOUT_IN_SCREEN 92 | LayoutParams.FLAG_NOT_TOUCHABLE 93 | LayoutParams.FLAG_NOT_FOCUSABL [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QuickTileLayout.java | 22 public void addView(View child, int index, ViewGroup.LayoutParams params) { 24 params = new LayoutParams(params.height, params.height); 25 ((LinearLayout.LayoutParams) params).weight = 1;
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroup_LayoutParamsTest.java | 28 import android.view.ViewGroup.LayoutParams; 55 new ViewGroup.LayoutParams(mContext, parser); 57 LayoutParams temp = new ViewGroup.LayoutParams(320, 480); 59 new ViewGroup.LayoutParams(temp); 78 private class MockLayoutParams extends LayoutParams {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List4.java | 128 addView(mTitle, new LinearLayout.LayoutParams( 129 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 133 addView(mDialogue, new LinearLayout.LayoutParams( 134 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
|
List9.java | 29 import android.view.WindowManager.LayoutParams; 80 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 81 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 82 WindowManager.LayoutParams.TYPE_APPLICATION, 83 WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE 84 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
LayoutParamsTest.java | 15 Gallery.LayoutParams layoutParams = new Gallery.LayoutParams(123, 456); 16 assertThat(layoutParams.width, equalTo(123)); 17 assertThat(layoutParams.height, equalTo(456));
|
/frameworks/base/core/java/android/view/autofill/ |
IAutofillWindowPresenter.aidl | 29 void show(in WindowManager.LayoutParams p, in Rect transitionEpicenter,
|
/frameworks/base/core/java/android/widget/ |
FrameLayout.java | 45 * <a href="FrameLayout.LayoutParams.html#attr_android:layout_gravity">{@code 141 * {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}, 142 * and a height of {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}. 145 protected LayoutParams generateDefaultLayoutParams() { 146 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 186 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 193 if (lp.width == LayoutParams.MATCH_PARENT | [all...] |
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
EffectsTest.java | 183 addView(tv, new LinearLayout.LayoutParams( 184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 187 addView(tv, new LinearLayout.LayoutParams( 188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 191 addView(tv, new LinearLayout.LayoutParams( 192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 195 addView(tv, new LinearLayout.LayoutParams( [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcutKeysLayout.java | 63 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 68 child.getMeasuredHeight() + layoutParams.mVerticalSpacing); 74 xPos += childWidth + layoutParams.mHorizontalSpacing; 90 protected LayoutParams generateDefaultLayoutParams() { 92 return new LayoutParams(spacing, spacing); 96 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowManager.java | 55 private WindowManager.LayoutParams mLp; 56 private WindowManager.LayoutParams mLpChanged; 91 mLp = new WindowManager.LayoutParams( 92 ViewGroup.LayoutParams.MATCH_PARENT, 94 WindowManager.LayoutParams.TYPE_STATUS_BAR, 95 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 96 | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING 97 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH 98 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH 99 | WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS [all...] |
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
GLPerfActivity.java | 33 getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
BaseTestActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/fragment/java/android/support/v4/app/ |
ListFragment.java | 107 pframe.addView(progress, new FrameLayout.LayoutParams( 108 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); 110 root.addView(pframe, new FrameLayout.LayoutParams( 111 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 121 lframe.addView(tv, new FrameLayout.LayoutParams( 122 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 127 lframe.addView(lv, new FrameLayout.LayoutParams( [all...] |