/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
DrawableStubActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 30 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/percent/tests/java/android/support/percent/ |
BaseTestActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
HvacUiService.java | 94 WindowManager.LayoutParams params = new WindowManager.LayoutParams( 95 WindowManager.LayoutParams.WRAP_CONTENT, 96 WindowManager.LayoutParams.WRAP_CONTENT, 97 WindowManager.LayoutParams.TYPE_DISPLAY_OVERLAY, 98 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 99 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE 100 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, 177 private WindowManager.LayoutParams createClickableOverlayLayoutParam() { 178 return new WindowManager.LayoutParams( [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/test/ |
FragmentTestActivity.java | 40 window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 41 WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiLayoutParams.java | 64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); 71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); 81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); 87 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams();
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
LogPane.java | 58 LinearLayout.LayoutParams titleTextLayoutParams = 59 new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 65 LinearLayout.LayoutParams logTextLayoutParams = 66 new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 40 * we can emulate {@link WindowManager.LayoutParams#FLAG_SLIPPERY} within a view hierarchy. 176 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 177 return p instanceof LayoutParams; 181 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { 182 return p instanceof LayoutParams ? new LayoutParams((LayoutParams) p) : new LayoutParams(p); 186 public LayoutParams generateLayoutParams(AttributeSet attrs) [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
ShadowOverlayContainerTest.java | 26 import android.view.ViewGroup.LayoutParams; 48 textView.setLayoutParams(new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT, 49 LayoutParams.WRAP_CONTENT)); 66 textView.setLayoutParams(new FrameLayout.LayoutParams(123, 123)); 80 textView.setLayoutParams(new FrameLayout.LayoutParams(200, LayoutParams.WRAP_CONTENT)); 96 textView.setLayoutParams(new FrameLayout.LayoutParams(123, 123)); 110 textView.setLayoutParams(new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT [all...] |
/frameworks/base/core/java/android/widget/ |
RadioGroup.java | 51 * {@link android.widget.LinearLayout.LayoutParams LinearLayout.LayoutParams} 142 public void addView(View child, int index, ViewGroup.LayoutParams params) { 245 public LayoutParams generateLayoutParams(AttributeSet attrs) { 246 return new RadioGroup.LayoutParams(getContext(), attrs); 253 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 254 return p instanceof RadioGroup.LayoutParams; 258 protected LinearLayout.LayoutParams generateDefaultLayoutParams() { 259 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT) [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
AppBarLayout.java | 58 * {@link LayoutParams#setScrollFlags(int)} and the associated layout xml attribute: 247 final LayoutParams childLp = (LayoutParams) child.getLayoutParams(); 262 if (((LayoutParams) getChildAt(i).getLayoutParams()).isCollapsible()) { 326 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 327 return p instanceof LayoutParams; 331 protected LayoutParams generateDefaultLayoutParams() { 332 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT) [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
DismissKeyguardActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
ShowWhenLockedActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
ShowWhenLockedDialogActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
ShowWhenLockedTranslucentActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
ShowWhenLockedWithDialogActivity.java | 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
Gallery_LayoutParamsTest.java | 35 * Test {@link Gallery.LayoutParams}. 45 new Gallery.LayoutParams(context, p); 47 Gallery.LayoutParams params = new Gallery.LayoutParams(320, 480); 48 new Gallery.LayoutParams(params);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SoftInputModes.java | 27 WindowManager.LayoutParams.SOFT_INPUT_ADJUST_UNSPECIFIED, 28 WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE, 29 WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN, 30 WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING,
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
Anticipation.java | 22 import android.view.ViewGroup.LayoutParams;
|
/development/samples/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/ |
BitmapScaling.java | 25 import android.widget.LinearLayout.LayoutParams; 70 scaledImageView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 71 LayoutParams.WRAP_CONTENT));
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
NetworkImageViewTest.java | 21 import android.view.ViewGroup.LayoutParams; 43 mNIV.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|
/frameworks/base/core/java/com/android/internal/widget/ |
OrientationHelper.java | 274 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 282 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 290 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 297 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 372 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewAttachTest.java | 74 final WindowManager.LayoutParams params = 75 new WindowManager.LayoutParams( 80 WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY, 81 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN,
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemsExpandOnSelection.java | 46 final AbsListView.LayoutParams lp = new AbsListView.LayoutParams( 47 ViewGroup.LayoutParams.MATCH_PARENT, 48 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabels.java | 72 LinearLayout.LayoutParams p = new LinearLayout.LayoutParams( 73 LinearLayout.LayoutParams.MATCH_PARENT, 74 LinearLayout.LayoutParams.WRAP_CONTENT
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
TestResultActivity.java | 24 import android.view.ViewGroup.LayoutParams; 55 mTextView, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|