/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeWindowSession.java | 32 import android.view.WindowManager.LayoutParams; 41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, Rect arg4, 49 public int addToDisplay(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, 57 public int addWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, 65 public int addToDisplayWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, 90 public int relayout(IWindow iWindow, int i, LayoutParams layoutParams, int i2,
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarDisplayOptions.java | 26 import android.view.ViewGroup.LayoutParams; 37 private ActionBar.LayoutParams mCustomViewLayoutParams; 54 mCustomViewLayoutParams = new ActionBar.LayoutParams( 55 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 100 ActionBar.LayoutParams lp = mCustomViewLayoutParams;
|
ToolbarDisplayOptions.java | 28 import android.view.ViewGroup.LayoutParams; 38 private ActionBar.LayoutParams mCustomViewLayoutParams; 58 mCustomViewLayoutParams = new ActionBar.LayoutParams( 59 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 96 ActionBar.LayoutParams lp = mCustomViewLayoutParams;
|
ToolbarFragmentPagerMenu.java | 110 textView.setLayoutParams(new ViewGroup.LayoutParams( 111 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 152 textView.setLayoutParams(new ViewGroup.LayoutParams( 153 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 84 RecyclerView.LayoutParams lp = getLayoutParams(); 99 * Returns LayoutParams to be used for each item in this adapter. It can be overridden 100 * to provide different LayoutParams. 101 * @return LayoutParams to be used for each item in this adapter. 103 public RecyclerView.LayoutParams getLayoutParams() { 104 RecyclerView.LayoutParams lp = new RecyclerView.LayoutParams( 105 ViewGroup.LayoutParams.WRAP_CONTENT, 106 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionBarOverlayLayout.java | 264 LayoutParams lp = (LayoutParams)view.getLayoutParams(); 318 protected LayoutParams generateDefaultLayoutParams() { 319 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 323 public LayoutParams generateLayoutParams(AttributeSet attrs) { 324 return new LayoutParams(getContext(), attrs); 328 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
FirstRunDialog.java | 190 mAspectRatioPreferenceDialog.setContentView(dialogLayout, new ViewGroup.LayoutParams( 191 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 238 mLocationPreferenceDialog.setContentView(dialogLayout, new ViewGroup.LayoutParams( 239 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
ModeOptionsOverlay.java | 190 FrameLayout.LayoutParams modeOptionsParams 191 = (FrameLayout.LayoutParams) mModeOptions.getLayoutParams(); 192 FrameLayout.LayoutParams modeOptionsToggleParams 193 = (FrameLayout.LayoutParams) mModeOptionsToggle.getLayoutParams(); 197 modeOptionsParams.width = ViewGroup.LayoutParams.MATCH_PARENT; 205 modeOptionsParams.height = ViewGroup.LayoutParams.MATCH_PARENT;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayoutChildren.java | 92 PagedViewCellLayout.LayoutParams lp = 93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 121 PagedViewCellLayout.LayoutParams lp = 122 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); 134 PagedViewCellLayout.LayoutParams lp = 135 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 78 setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 79 ViewGroup.LayoutParams.MATCH_PARENT, 166 WindowManager.LayoutParams lp = window.getAttributes(); 168 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 170 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IconEditor.java | 86 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(iconSize, iconSize); 90 FrameLayout.LayoutParams flp = new FrameLayout.LayoutParams( 91 ViewGroup.LayoutParams.MATCH_PARENT, 92 ViewGroup.LayoutParams.MATCH_PARENT);
|
/frameworks/base/core/java/android/widget/ |
RelativeLayout.java | 53 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT WRAP_CONTENT} and a child set to 76 * Also see {@link android.widget.RelativeLayout.LayoutParams RelativeLayout.LayoutParams} for 457 LayoutParams params = (LayoutParams) child.getLayoutParams(); 476 final LayoutParams params = (LayoutParams) child.getLayoutParams(); 523 LayoutParams baselineParams = null; 527 final LayoutParams childParams = (LayoutParams) child.getLayoutParams() [all...] |
/frameworks/base/core/java/android/view/ |
Window.java | 19 import static android.view.WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; 309 private final WindowManager.LayoutParams mWindowAttributes = 310 new WindowManager.LayoutParams(); 461 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); 466 * {@link Window#setContentView(View, android.view.ViewGroup.LayoutParams) 468 * {@link Window#addContentView(View, android.view.ViewGroup.LayoutParams) 772 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { 774 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && 775 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { 784 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlPlanetsActivity.java | 74 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 75 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 76 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/tests/view/src/android/view/cts/ |
TouchDelegateTest.java | 61 mButton, new LinearLayout.LayoutParams( 62 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)));
|
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/ |
SystemUiHiderHoneycomb.java | 121 WindowManager.LayoutParams.FLAG_FULLSCREEN, 122 WindowManager.LayoutParams.FLAG_FULLSCREEN); 138 WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TableLayout7.java | 75 row.addView(label, new TableRow.LayoutParams(1)); 76 row.addView(shortcut, new TableRow.LayoutParams()); 78 table.addView(row, new TableLayout.LayoutParams());
|
/development/samples/devbytes/ui/RequestDuringLayout/src/com/example/android/requestduringlayout/ |
RequestDuringLayout.java | 123 button.setLayoutParams(new LayoutParams( 124 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
Ocquarium.java | 43 bg.addView(mImageView, new FrameLayout.LayoutParams( 44 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
AssistManager.java | 132 WindowManager.LayoutParams lp = getLayoutParams(); 163 private WindowManager.LayoutParams getLayoutParams() { 164 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 165 ViewGroup.LayoutParams.MATCH_PARENT, 167 WindowManager.LayoutParams.TYPE_VOICE_INTERACTION_STARTING, 168 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 169 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE 170 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, 174 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
LaunchWarningWindow.java | 34 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 36 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
|
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/ |
UserInactivityCountdownDialog.java | 40 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); 41 WindowManager.LayoutParams attrs = getWindow().getAttributes(); 42 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
MoreNinePatchesActivity.java | 37 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, 38 FrameLayout.LayoutParams.MATCH_PARENT, Gravity.CENTER));
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
DialogActivity.java | 48 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 49 ViewGroup.LayoutParams.MATCH_PARENT, 50 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
GlTextureViewActivity.java | 43 setContentView(mTextureView, new FrameLayout.LayoutParams( 44 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT,
|