Searched refs:LayoutParams (Results 126 - 150 of 430) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/policy/
H A DPolicyControl.java27 import android.view.WindowManager.LayoutParams;
65 public static int getSystemUiVisibility(WindowState win, LayoutParams attrs) {
85 public static int getWindowFlags(WindowState win, LayoutParams attrs) {
89 flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
90 flags &= ~(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS
91 | WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
94 flags &= ~WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION;
100 final LayoutParams attrs = win != null ? win.getAttrs() : null;
195 boolean matches(LayoutParams attrs) {
197 boolean isApp = attrs.type >= WindowManager.LayoutParams
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java597 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity;
696 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams();
714 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams();
736 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams();
778 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams();
788 return ((LayoutParams) drawerVie
1967 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:DrawerLayout
1974 public LayoutParams(Context c, AttributeSet attrs) { method in class:DrawerLayout.LayoutParams
1982 public LayoutParams(int width, int height) { method in class:DrawerLayout.LayoutParams
1986 public LayoutParams(int width, int height, int gravity) { method in class:DrawerLayout.LayoutParams
1991 public LayoutParams(LayoutParams source) { method in class:DrawerLayout.LayoutParams
1996 public LayoutParams(ViewGroup.LayoutParams source) { method in class:DrawerLayout.LayoutParams
2000 public LayoutParams(ViewGroup.MarginLayoutParams source) { method in class:DrawerLayout.LayoutParams
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DAddColumn.java47 newRow.addView(view, new TableRow.LayoutParams());
49 table.addView(newRow, new TableLayout.LayoutParams());
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java65 WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
66 WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY,
67 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
68 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED
69 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
70 | WindowManager.LayoutParams.FLAG_FULLSCREEN
71 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED,
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DGridLayoutTest.java41 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(rowSpec, colSpec);
42 //GridLayout.LayoutParams lp = new GridLayout.LayoutParams();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMaxBitmapSizeActivity.java36 layout.addView(view, new LinearLayout.LayoutParams(200, 200));
40 layout.addView(view, new LinearLayout.LayoutParams(200, 200));
H A DSmallCircleActivity.java38 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE));
41 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE));
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DVoiceInteractionMain.java62 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
64 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DWindowCallback.java20 import android.view.WindowManager.LayoutParams;
83 public void onWindowAttributesChanged(LayoutParams attrs) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
H A DWindowManagerImpl.java47 public void addView(View arg0, android.view.ViewGroup.LayoutParams arg1) {
57 public void updateViewLayout(View arg0, android.view.ViewGroup.LayoutParams arg1) {
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DEditTextPreferenceDialogFragment.java78 container.addView(editText, ViewGroup.LayoutParams.FILL_PARENT,
79 ViewGroup.LayoutParams.WRAP_CONTENT);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DEditTextPreferenceDialogFragmentCompat.java77 container.addView(editText, ViewGroup.LayoutParams.FILL_PARENT,
78 ViewGroup.LayoutParams.WRAP_CONTENT);
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java40 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}, then the
82 public void addView(View child, int index, ViewGroup.LayoutParams params) {
91 mChronometerFollow = (params.width == ViewGroup.LayoutParams.WRAP_CONTENT);
150 RelativeLayout.LayoutParams params;
153 params = (RelativeLayout.LayoutParams) mProgressBar.getLayoutParams();
176 params = (RelativeLayout.LayoutParams) mChronometer.getLayoutParams();
H A DResolverDrawerLayout.java435 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
732 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
744 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
789 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
804 final LayoutParams lp = (LayoutParams) chil
861 public static class LayoutParams extends MarginLayoutParams { class in class:ResolverDrawerLayout
865 public LayoutParams(Context c, AttributeSet attrs) { method in class:ResolverDrawerLayout.LayoutParams
879 public LayoutParams(int width, int height) { method in class:ResolverDrawerLayout.LayoutParams
883 public LayoutParams(LayoutParams source) { method in class:ResolverDrawerLayout.LayoutParams
889 public LayoutParams(MarginLayoutParams source) { method in class:ResolverDrawerLayout.LayoutParams
893 public LayoutParams(ViewGroup.LayoutParams source) { method in class:ResolverDrawerLayout.LayoutParams
[all...]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DCrossfadeMultiple.java32 import static android.widget.LinearLayout.LayoutParams;
97 LayoutParams params = null;
100 params = new LayoutParams(200, 200);
106 params = new LayoutParams(400, 200);
112 params = new LayoutParams(200, 400);
/frameworks/base/core/java/android/app/
H A DActionBar.java240 public abstract void setCustomView(View view, LayoutParams layoutParams);
1314 public static class LayoutParams extends ViewGroup.MarginLayoutParams { class in class:ActionBar
1316 * Gravity for the view associated with these LayoutParams.
1338 public LayoutParams(@NonNull Context c, AttributeSet attrs) { method in class:ActionBar.LayoutParams
1349 public LayoutParams(int width, int height) { method in class:ActionBar.LayoutParams
1354 public LayoutParams(int width, int height, int gravity) { method in class:ActionBar.LayoutParams
1360 public LayoutParams(int gravity) { method in class:ActionBar.LayoutParams
1364 public LayoutParams(LayoutParams source) { method in class:ActionBar.LayoutParams
1369 public LayoutParams(ViewGrou method in class:ActionBar.LayoutParams
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowSession.aidl38 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs,
41 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs,
44 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
46 int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
92 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs,
/frameworks/base/core/java/android/widget/
H A DToast.java241 * Gets the LayoutParams for the Toast window.
244 public WindowManager.LayoutParams getWindowParams() {
344 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams();
361 final WindowManager.LayoutParams params = mParams;
362 params.height = WindowManager.LayoutParams.WRAP_CONTENT;
363 params.width = WindowManager.LayoutParams.WRAP_CONTENT;
366 params.type = WindowManager.LayoutParams.TYPE_TOAST;
368 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
369 | WindowManager.LayoutParams
[all...]
H A DListPopupWindow.java77 private int mDropDownHeight = ViewGroup.LayoutParams.WRAP_CONTENT;
78 private int mDropDownWidth = ViewGroup.LayoutParams.WRAP_CONTENT;
81 private int mDropDownWindowLayoutType = WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL;
135 * Alias for {@link ViewGroup.LayoutParams#MATCH_PARENT}.
139 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT;
142 * Alias for {@link ViewGroup.LayoutParams#WRAP_CONTENT}.
145 public static final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT;
342 * {@link android.view.WindowManager.LayoutParams#softInputMode}
345 * @see android.view.WindowManager.LayoutParams#softInputMode
356 * @see android.view.WindowManager.LayoutParams#softInputMod
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java50 import android.view.WindowManager.LayoutParams;
306 public void onWindowAttributesChanged(LayoutParams attrs) {
400 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
409 * including using {@link ViewGroup.LayoutParams#MATCH_PARENT} as the layout height and width of the view.
416 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
425 * {@link android.app.Activity#setContentView(android.view.View, android.view.ViewGroup.LayoutParams)}
438 public void setContentView(View view, ViewGroup.LayoutParams params) {
450 public void addContentView(View view, ViewGroup.LayoutParams params) {
516 * Controls {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}
525 int flag = WindowManager.LayoutParams
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java92 private int mDropDownHeight = ViewGroup.LayoutParams.WRAP_CONTENT;
93 private int mDropDownWidth = ViewGroup.LayoutParams.WRAP_CONTENT;
149 * Alias for {@link ViewGroup.LayoutParams#MATCH_PARENT}.
153 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT;
156 * Alias for {@link ViewGroup.LayoutParams#WRAP_CONTENT}.
159 public static final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT;
356 * {@link android.view.WindowManager.LayoutParams#softInputMode}
359 * @see android.view.WindowManager.LayoutParams#softInputMode
370 * @see android.view.WindowManager.LayoutParams#softInputMode
592 if (mDropDownWidth == ViewGroup.LayoutParams
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DGridScenario.java244 mGridView.setLayoutParams(new ViewGroup.LayoutParams(
245 ViewGroup.LayoutParams.MATCH_PARENT,
246 ViewGroup.LayoutParams.MATCH_PARENT));
332 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams(
333 ViewGroup.LayoutParams.MATCH_PARENT,
334 ViewGroup.LayoutParams.WRAP_CONTENT);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DSystemBarHelper.java106 WindowManager.LayoutParams attrs = window.getAttributes();
129 WindowManager.LayoutParams attrs = window.getAttributes();
188 WindowManager.LayoutParams attrs = window.getAttributes();
203 window.setFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
204 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
208 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION);
212 window.clearFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java50 * <p>Item views may span multiple columns as specified by their {@link LayoutParams}.
514 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
759 LayoutParams lp = (LayoutParams) child.getLayoutParams();
771 lp = (LayoutParams) child.getLayoutParams(); // Might have changed
781 if (lp.height == LayoutParams.WRAP_CONTENT) {
843 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
894 LayoutParams l
1383 public static class LayoutParams extends ViewGroup.LayoutParams { class in class:StaggeredGridView
1415 public LayoutParams(int height) { method in class:StaggeredGridView.LayoutParams
1425 public LayoutParams(Context c, AttributeSet attrs) { method in class:StaggeredGridView.LayoutParams
1444 public LayoutParams(ViewGroup.LayoutParams other) { method in class:StaggeredGridView.LayoutParams
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentTabHost.java146 addView(ll, new FrameLayout.LayoutParams(
147 ViewGroup.LayoutParams.FILL_PARENT,
148 ViewGroup.LayoutParams.FILL_PARENT));
153 ll.addView(tw, new LinearLayout.LayoutParams(
154 ViewGroup.LayoutParams.FILL_PARENT,
155 ViewGroup.LayoutParams.WRAP_CONTENT, 0));
159 ll.addView(fl, new LinearLayout.LayoutParams(0, 0, 0));
163 ll.addView(fl, new LinearLayout.LayoutParams(
164 LinearLayout.LayoutParams.FILL_PARENT, 0, 1));

Completed in 5558 milliseconds

1234567891011>>