/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
BasePermissionActivity.java | 49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 50 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 51 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/cts/tests/app/app/src/android/app/stubs/ |
LauncherActivityStub.java | 58 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 59 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 60 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/tests/app/src/android/app/cts/ |
ApplyOverrideConfigurationActivity.java | 36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 37 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 38 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
EglConfigCtsActivity.java | 49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 50 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 51 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
GetResultActivity.java | 46 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 47 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 48 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/developers/build/prebuilts/gradle/DoneBar/Application/src/main/java/com/example/android/donebar/ |
DoneBarActivity.java | 64 new ActionBar.LayoutParams( 65 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT));
|
/developers/samples/android/ui/actionbar/DoneBar/Application/src/main/java/com/example/android/donebar/ |
DoneBarActivity.java | 64 new ActionBar.LayoutParams( 65 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT));
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TableLayout8.java | 66 row.addView(label, new TableRow.LayoutParams(1)); 67 row.addView(shortcut, new TableRow.LayoutParams()); 69 table.addView(row, new TableLayout.LayoutParams());
|
/development/samples/browseable/DoneBar/src/com.example.android.donebar/ |
DoneBarActivity.java | 64 new ActionBar.LayoutParams( 65 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertActivity.java | 78 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); 79 boolean isFullScreen = (params.width == ViewGroup.LayoutParams.MATCH_PARENT) && 80 (params.height == ViewGroup.LayoutParams.MATCH_PARENT);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
PreDrawListener.java | 63 addView(b, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 64 LayoutParams.WRAP_CONTENT));
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpActivity.java | 72 mainLayout.addView(mVideoView, new LinearLayout.LayoutParams( 73 LinearLayout.LayoutParams.MATCH_PARENT, 74 LinearLayout.LayoutParams.MATCH_PARENT));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
AppWindowTokenTests.java | 32 import static android.view.WindowManager.LayoutParams.FIRST_SUB_WINDOW; 33 import static android.view.WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD; 34 import static android.view.WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED; 35 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 36 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_STARTING; 37 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 111 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams( 147 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams( [all...] |
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
LayoutInsetsTest.java | 13 import static android.widget.GridLayout.LayoutParams; 43 LayoutParams lp = new LayoutParams();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Animated3dActivity.java | 41 setContentView(view, new FrameLayout.LayoutParams( 42 FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
InstanceTargets.java | 28 import static android.widget.RelativeLayout.LayoutParams; 48 LayoutParams params = (LayoutParams) button.getLayoutParams();
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
InvalidateTreeActivity.java | 51 parent.addView(child, new LinearLayout.LayoutParams( 52 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0), 53 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT),
|
ResizeHWLayerActivity.java | 25 import android.view.ViewGroup.LayoutParams; 41 child.setLayoutParams(new FrameLayout.LayoutParams(width, height)); 45 final LayoutParams params = child.getLayoutParams();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListPinnedHeaderView.java | 25 import android.widget.LinearLayout.LayoutParams; 55 setLayoutParams(new LayoutParams(widthIncludingPadding, LayoutParams.WRAP_CONTENT));
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TransitionAnimationView.java | 50 mMaskingView.setLayoutParams(new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, 51 LayoutParams.MATCH_PARENT));
|
/packages/apps/TV/src/com/android/tv/ui/ |
ViewUtils.java | 23 import android.view.ViewGroup.LayoutParams; 79 LayoutParams layoutParams = view.getLayoutParams(); 80 return layoutParams.height; 87 LayoutParams layoutParams = view.getLayoutParams(); 88 if (height != layoutParams.height) { 89 layoutParams.height = height; 90 view.setLayoutParams(layoutParams);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
BaseInputView.java | 72 WindowManager.LayoutParams dialogLayoutParams = window.getAttributes(); 74 dialogLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 76 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
/packages/services/Telephony/src/com/android/phone/ |
IccPanel.java | 44 winP.setType(WindowManager.LayoutParams.TYPE_PRIORITY_PHONE); 45 winP.setLayout(WindowManager.LayoutParams.MATCH_PARENT, 46 WindowManager.LayoutParams.MATCH_PARENT);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
GridLayoutManager.java | 145 ViewGroup.LayoutParams lp = host.getLayoutParams(); 146 if (!(lp instanceof LayoutParams)) { 150 LayoutParams glp = (LayoutParams) lp; 191 final LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); 225 public RecyclerView.LayoutParams generateDefaultLayoutParams() { 227 return new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 228 ViewGroup.LayoutParams.MATCH_PARENT) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayout_LayoutParamsTest.java | 44 * Test {@link RelativeLayout.LayoutParams}. 62 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(200, 300); 63 assertEquals(200, layoutParams.width); 64 assertEquals(300, layoutParams.height); 66 RelativeLayout.LayoutParams tempLayoutParams = layoutParams; 67 layoutParams = new RelativeLayout.LayoutParams(tempLayoutParams) [all...] |