/cts/hostsidetests/ui/appB/src/android/taskswitching/appb/ |
AppBActivity.java | 42 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
Camera2MultiViewCtsActivity.java | 43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseMovementMethodTest.java | 19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 191 layout.addView(textView, new ViewGroup.LayoutParams(textWidth, WRAP_CONTENT)); 194 activity.setContentView(layout, new ViewGroup.LayoutParams(MATCH_PARENT,
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
SurfaceViewTests.java | 106 root.addView(surfaceViewA, new FrameLayout.LayoutParams( 149 root.addView(mSurfaceView, new FrameLayout.LayoutParams( 150 FrameLayout.LayoutParams.MATCH_PARENT, 151 FrameLayout.LayoutParams.MATCH_PARENT));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ScrollViewTest.java | 191 mScrollViewRegular.addView(child0, new ViewGroup.LayoutParams(200, 100)); 199 mScrollViewRegular.addView(child1, new ViewGroup.LayoutParams(200, 100)); 211 fail("The LayoutParams should not be null!"); 221 mScrollViewRegular.addView(child0, 0, new ViewGroup.LayoutParams(200, 100)); 229 mScrollViewRegular.addView(child1, 0, new ViewGroup.LayoutParams(200, 100)); 240 fail("The LayoutParams should not be null!"); 246 mScrollViewRegular.addView(child0, -1, new ViewGroup.LayoutParams(300, 150)); 254 mScrollViewRegular.addView(child1, -1, new ViewGroup.LayoutParams(200, 100)); 263 mScrollViewRegular.addView(child0, 1, new ViewGroup.LayoutParams(200, 100)); 328 child.setLayoutParams(new ViewGroup.LayoutParams(100, 100)) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/util/ |
ExpandableListScenario.java | 260 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( 261 ViewGroup.LayoutParams.MATCH_PARENT, 262 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/presenter/ |
GridItemPresenter.java | 41 view.setLayoutParams(new ViewGroup.LayoutParams(GRID_ITEM_WIDTH, GRID_ITEM_HEIGHT));
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
TerminalView.java | 29 import android.view.ViewGroup.LayoutParams; 70 setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
|
/frameworks/base/core/java/android/preference/ |
PreferenceGroupAdapter.java | 99 private static ViewGroup.LayoutParams sWrapperLayoutParams = new ViewGroup.LayoutParams( 100 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
/frameworks/base/core/java/android/widget/ |
YearPickerView.java | 51 final LayoutParams frame = new LayoutParams( 52 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
/frameworks/base/core/java/com/android/internal/widget/ |
LinearSmoothScroller.java | 306 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) 331 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams)
|
/frameworks/base/services/core/java/com/android/server/am/ |
AppErrorDialog.java | 91 WindowManager.LayoutParams attrs = getWindow().getAttributes(); 93 attrs.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR 94 | WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; 97 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR);
|
AppNotRespondingDialog.java | 95 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); 97 WindowManager.LayoutParams attrs = getWindow().getAttributes(); 99 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR | 100 WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
|
AppWaitingForDebuggerDialog.java | 56 WindowManager.LayoutParams attrs = getWindow().getAttributes();
|
UnsupportedDisplaySizeDialog.java | 52 window.setType(WindowManager.LayoutParams.TYPE_PHONE);
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerTestActivity.java | 33 import android.widget.LinearLayout.LayoutParams; 84 contentView.addView(webView, new LayoutParams( 85 ViewGroup.LayoutParams.MATCH_PARENT, 86 ViewGroup.LayoutParams.MATCH_PARENT, 0.0f));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Bitmaps3dActivity.java | 38 layout.addView(view, new FrameLayout.LayoutParams(800, 400, Gravity.CENTER));
|
ViewFlipperActivity.java | 37 widget.setLayoutParams(new FrameLayout.LayoutParams(180, 180, Gravity.CENTER));
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
BottomEditTextActivityPanScan.java | 52 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
BottomEditTextActivityResize.java | 52 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
|
ManyEditTextActivityNoScrollPanScan.java | 59 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
ManyEditTextActivityScrollPanScan.java | 62 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
OneEditTextActivitySelected.java | 61 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
AppWidgetHostActivity.java | 139 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( 140 LinearLayout.LayoutParams.MATCH_PARENT, 141 LinearLayout.LayoutParams.WRAP_CONTENT); 142 mAppWidgetContainer.addView(view, layoutParams);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
FrameworkActionBar.java | 38 import android.view.ViewGroup.LayoutParams; 147 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams( 148 measureContentWidth(adapter), LayoutParams.WRAP_CONTENT); 149 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_END); 151 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); 152 layoutParams.bottomMargin = getActionBarHeight() + mActionBar.getMenuPopupMargin(); 154 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); 155 layoutParams.topMargin = getActionBarHeight() + mActionBar.getMenuPopupMargin() [all...] |