/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
BigEditTextActivityNonScrollablePanScan.java | 37 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN); 41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, 43 ViewGroup.LayoutParams.MATCH_PARENT));
|
BigEditTextActivityNonScrollableResize.java | 37 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); 41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, 43 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/ |
TestActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/compat/tests/java/android/support/v4/app/ |
TestSupportActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
TestActivity.java | 33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
OrientationHelper.java | 273 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 281 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 289 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 296 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 371 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/ |
PrivateLayoutManager.java | 31 public RecyclerView.LayoutParams generateDefaultLayoutParams() {
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
TestActivity.java | 54 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON | 55 WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 56 WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED | 57 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
OverlayTouchActivity.java | 18 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
SpacePreference.java | 24 import android.view.ViewGroup.LayoutParams; 63 LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, mHeight);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
EmptyTextSettings.java | 25 import android.view.ViewGroup.LayoutParams; 43 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
WpsScanningFragment.java | 24 import android.view.ViewGroup.LayoutParams; 47 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
InstrumentClusterPresentation.java | 30 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
|
/developers/build/prebuilts/gradle/MultiWindowPlayground/Application/src/main/java/com/example/android/common/logger/ |
LogFragment.java | 45 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( 46 ViewGroup.LayoutParams.MATCH_PARENT, 47 ViewGroup.LayoutParams.MATCH_PARENT); 51 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); 52 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT;
|
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/com/example/android/common/logger/ |
LogFragment.java | 45 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( 46 ViewGroup.LayoutParams.MATCH_PARENT, 47 ViewGroup.LayoutParams.MATCH_PARENT); 51 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); 52 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT;
|
/development/samples/browseable/MultiWindowPlayground/src/com/example.android.common.logger/ |
LogFragment.java | 45 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( 46 ViewGroup.LayoutParams.MATCH_PARENT, 47 ViewGroup.LayoutParams.MATCH_PARENT); 51 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); 52 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT;
|
/frameworks/base/core/java/com/android/internal/app/ |
MicroAlertController.java | 63 FrameLayout.LayoutParams topParams = 64 new FrameLayout.LayoutParams(topPanel.getLayoutParams()); 71 FrameLayout.LayoutParams buttonParams = 72 new FrameLayout.LayoutParams(buttonPanel.getLayoutParams()); 83 new ViewGroup.LayoutParams( 84 ViewGroup.LayoutParams.MATCH_PARENT, 85 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
RevealActivity.java | 32 import android.widget.LinearLayout.LayoutParams; 73 layout.addView(spinner, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); 76 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
|
VideoViewCaptureActivity.java | 79 layout.addView(button, LinearLayout.LayoutParams.MATCH_PARENT, 80 LinearLayout.LayoutParams.WRAP_CONTENT); 81 layout.addView(mVideoView, LinearLayout.LayoutParams.MATCH_PARENT, 82 LinearLayout.LayoutParams.MATCH_PARENT); 84 content.addView(layout, new FrameLayout.LayoutParams( 85 FrameLayout.LayoutParams.MATCH_PARENT, 86 FrameLayout.LayoutParams.MATCH_PARENT));
|
/packages/apps/Camera2/src/com/android/camera/ |
OnScreenHint.java | 50 private final WindowManager.LayoutParams mParams = 51 new WindowManager.LayoutParams(); 67 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; 68 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; 69 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 70 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; 73 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
|
/frameworks/base/core/java/android/preference/ |
PreferenceFrameLayout.java | 83 public LayoutParams generateLayoutParams(AttributeSet attrs) { 84 return new LayoutParams(getContext(), attrs); 94 android.view.ViewGroup.LayoutParams params = child.getLayoutParams(); 95 LayoutParams layoutParams = params instanceof PreferenceFrameLayout.LayoutParams 96 ? (PreferenceFrameLayout.LayoutParams) child.getLayoutParams() : null; 98 if (layoutParams != null && layoutParams.removeBorders) { 130 public static class LayoutParams extends FrameLayout.LayoutParams [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 179 final LinearLayout.LayoutParams lp = 180 new LinearLayout.LayoutParams( 181 ViewGroup.LayoutParams.MATCH_PARENT, 0, 1f); 253 int height = ViewGroup.LayoutParams.WRAP_CONTENT; 257 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 258 ViewGroup.LayoutParams.MATCH_PARENT, height); 264 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( 265 ViewGroup.LayoutParams.MATCH_PARENT, 266 ViewGroup.LayoutParams.MATCH_PARENT)) [all...] |
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeApp.java | 111 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY); 117 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 118 WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, 119 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 120 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE 121 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); 123 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; 125 lp.width = ViewGroup.LayoutParams.MATCH_PARENT; 126 lp.height = ViewGroup.LayoutParams.MATCH_PARENT [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
GlobalActionsImpl.java | 73 window.getAttributes().width = ViewGroup.LayoutParams.MATCH_PARENT; 74 window.getAttributes().height = ViewGroup.LayoutParams.MATCH_PARENT; 75 window.setType(WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY); 77 window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND 78 | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR); 80 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 81 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL 82 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 83 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH 84 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
TimeoutResetActivity.java | 45 private static long getUserActivityTimeout(WindowManager.LayoutParams params) { 54 private static Field getUserActivityTimeoutField(WindowManager.LayoutParams params) 59 private static void setUserActivityTimeout(WindowManager.LayoutParams params, long timeout) { 73 WindowManager.LayoutParams params = activity.getWindow().getAttributes(); 106 WindowManager.LayoutParams params = getWindow().getAttributes();
|