HomeSort by relevance Sort by last modified time
    Searched refs:LayoutParams (Results 201 - 225 of 885) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 147 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT,
148 ScrollView.LayoutParams.MATCH_PARENT));
155 root.addView(label, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,
156 LinearLayout.LayoutParams.WRAP_CONTENT));
160 root.addView(layout, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,
161 LinearLayout.LayoutParams.WRAP_CONTENT));
174 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth()
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ScrollingTabContainerView.java 82 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
83 ViewGroup.LayoutParams.MATCH_PARENT));
151 addView(mTabSpinner, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
152 ViewGroup.LayoutParams.MATCH_PARENT));
167 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
168 ViewGroup.LayoutParams.MATCH_PARENT));
199 tabLayout.setLayoutParams(new LinearLayout.LayoutParams(
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
DrawerLayout.java 398 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity;
455 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams();
473 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams();
484 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams();
501 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams();
511 return ((LayoutParams) drawerView.getLayoutParams()).onScreen
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TwoLineListItemTest.java 29 import android.widget.RelativeLayout.LayoutParams;
97 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT,
98 LayoutParams.WRAP_CONTENT);
TextSwitcherTest.java 65 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
66 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
105 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
106 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
139 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
145 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
153 new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
160 new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
168 textSwitcher.addView(tv3, 2, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
178 textSwitcher.addView(lv, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT))
    [all...]
GridLayoutTest.java 148 gridLayout.addView(new TextView(mContext), new AbsoluteLayout.LayoutParams(0, 0, 0, 0));
150 gridLayout.addView(new TextView(mContext), new GridLayout.LayoutParams(
158 ViewGroup.LayoutParams lp = gridLayout.generateLayoutParams(null);
160 assertTrue(lp instanceof GridLayout.LayoutParams);
161 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.width);
162 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.height);
174 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(0));
182 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(0))
    [all...]
LinearLayoutTest.java 28 import android.widget.LinearLayout.LayoutParams;
175 ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(320, 240);
177 LayoutParams layoutParams1 = mockLinearLayout.generateLayoutParams(lp);
185 // LayoutParams layoutParams2 = linearLayout.generateLayoutParams(attrs);
186 // assertEquals(LayoutParams.MATCH_PARENT, layoutParams2.width);
187 // assertEquals(LayoutParams.WRAP_CONTENT, layoutParams2.height);
193 ViewGroup.LayoutParams params = new AbsoluteLayout.LayoutParams(240, 320, 0, 0);
196 params = new LinearLayout.LayoutParams(240, 320)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerAlertFullScreen.java 51 win.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
52 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
55 win.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
56 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
57 | WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON);
  /frameworks/base/core/java/android/widget/
PopupWindow.java 88 private int mSoftInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED;
120 private int mWindowLayoutType = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
137 WindowManager.LayoutParams p = (WindowManager.LayoutParams)
480 * {@link android.view.WindowManager.LayoutParams#softInputMode}
483 * @see android.view.WindowManager.LayoutParams#softInputMode
494 * @see android.view.WindowManager.LayoutParams#softInputMode
657 * {@link WindowManager.LayoutParams#FLAG_LAYOUT_IN_SCREEN}, overriding default behavior.
669 * {@link WindowManager.LayoutParams#FLAG_LAYOUT_INSET_DECOR}, overriding default behavior.
685 * {@link WindowManager.LayoutParams}
    [all...]
  /development/apps/Development/src/com/android/development/
Details.java 76 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams(
77 ViewGroup.LayoutParams.MATCH_PARENT,
78 ViewGroup.LayoutParams.MATCH_PARENT));
109 LinearLayout.LayoutParams lazy()
111 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
112 ViewGroup.LayoutParams.WRAP_CONTENT, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
MenuInflateFromXml.java 103 new LinearLayout.LayoutParams(
104 LinearLayout.LayoutParams.MATCH_PARENT,
105 LinearLayout.LayoutParams.WRAP_CONTENT));
113 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(
114 LinearLayout.LayoutParams.MATCH_PARENT,
115 LinearLayout.LayoutParams.WRAP_CONTENT);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ImageSwitcher1.java 31 import android.widget.Gallery.LayoutParams;
70 i.setLayoutParams(new ImageSwitcher.LayoutParams(LayoutParams.MATCH_PARENT,
71 LayoutParams.MATCH_PARENT));
99 i.setLayoutParams(new Gallery.LayoutParams(
100 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TextureViewActivity.java 91 mContent.addView(mTextureView, new FrameLayout.LayoutParams(
92 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT,
94 mContent.addView(button, new FrameLayout.LayoutParams(
95 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT,
106 mTextureView.setLayoutParams(new FrameLayout.LayoutParams(
  /packages/apps/Camera/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;
  /packages/apps/Camera2/src/com/android/camera/
OnScreenHint.java 52 private final WindowManager.LayoutParams mParams =
53 new WindowManager.LayoutParams();
69 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
70 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT;
71 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
72 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
75 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
ReorderHelper.java 11 import com.android.deskclock.widget.sgv.StaggeredGridView.LayoutParams;
74 final LayoutParams lp = (LayoutParams) reorderTarget.getLayoutParams();
135 final LayoutParams lp = (LayoutParams) reorderTarget.getLayoutParams();
231 final LayoutParams childLayoutParam = (LayoutParams) child.getLayoutParams();
  /packages/apps/LegacyCamera/src/com/android/camera/
OnScreenHint.java 52 private final WindowManager.LayoutParams mParams =
53 new WindowManager.LayoutParams();
70 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
71 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT;
72 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
73 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
76 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
  /frameworks/base/policy/src/com/android/internal/policy/impl/
ImmersiveModeConfirmation.java 170 public WindowManager.LayoutParams getClingWindowLayoutParams() {
171 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
172 ViewGroup.LayoutParams.MATCH_PARENT,
173 ViewGroup.LayoutParams.MATCH_PARENT,
174 WindowManager.LayoutParams.TYPE_TOAST,
176 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
177 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
178 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED
181 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
SlidingChallengeLayout.java 66 // Initialized during measurement from child layoutparams
796 case LayoutParams.WRAP_CONTENT:
800 case LayoutParams.MATCH_PARENT:
837 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
838 if (lp.childType == LayoutParams.CHILD_TYPE_CHALLENGE) {
857 } else if (lp.childType == LayoutParams.CHILD_TYPE_EXPAND_CHALLENGE_HANDLE) {
    [all...]
  /frameworks/base/core/java/android/service/dreams/
DreamService.java 41 import android.view.WindowManager.LayoutParams;
269 public void onWindowAttributesChanged(LayoutParams attrs) {
350 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
359 * including using {@link ViewGroup.LayoutParams#MATCH_PARENT} as the layout height and width of the view.
366 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
375 * {@link android.app.Activity#setContentView(android.view.View, android.view.ViewGroup.LayoutParams)}
388 public void setContentView(View view, ViewGroup.LayoutParams params) {
400 public void addContentView(View view, ViewGroup.LayoutParams params) {
463 * Controls {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}
471 int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN
    [all...]
  /frameworks/base/core/java/android/app/
ActionBar.java 168 * @param layoutParams How this custom view should layout in the bar.
172 public abstract void setCustomView(View view, LayoutParams layoutParams);
    [all...]
  /frameworks/base/core/java/android/view/
IWindowSession.aidl 38 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,
89 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs,
WindowManagerPolicy.java 260 * Retrieve the current LayoutParams of the window.
262 * @return WindowManager.LayoutParams The window's internal LayoutParams
265 public WindowManager.LayoutParams getAttrs();
502 * @param attrs The window's LayoutParams.
510 public int checkAddPermission(WindowManager.LayoutParams attrs, int[] outAppOp);
515 * @param attrs The window's LayoutParams.
520 public boolean checkShowToOwnerOnly(WindowManager.LayoutParams attrs);
530 public void adjustWindowParamsLw(WindowManager.LayoutParams attrs);
621 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs)
    [all...]
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
SurfaceAndTextureViews.java 37 import static android.widget.LinearLayout.LayoutParams;
56 mView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
61 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
66 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
81 mView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE));
82 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE));
83 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE * 2, SMALL_SIZE));
88 mView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
89 mSurfaceView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE));
90 mTextureView.setLayoutParams(new LayoutParams(SMALL_SIZE, SMALL_SIZE))
    [all...]
  /frameworks/base/tools/layoutlib/create/tests/data/
mock_android.jar 

Completed in 2667 milliseconds

1 2 3 4 5 6 7 891011>>