HomeSort by relevance Sort by last modified time
    Searched refs:LayoutParams (Results 526 - 550 of 1555) sorted by null

<<21222324252627282930>>

  /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,
94 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs,
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
ActionBar.java 232 * @param layoutParams How this custom view should layout in the bar.
236 public abstract void setCustomView(View view, LayoutParams layoutParams);
    [all...]
  /frameworks/support/design/src/android/support/design/widget/
CollapsingToolbarLayout.java 82 * See {@link LayoutParams#COLLAPSE_MODE_PARALLAX} and
83 * {@link LayoutParams#setParallaxMultiplier(float)}.
88 * moving. See {@link LayoutParams#COLLAPSE_MODE_PIN}.
402 mToolbar.addView(mDummyView, LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
501 final ViewGroup.LayoutParams lp = view.getLayoutParams();
    [all...]
  /frameworks/base/core/java/android/service/dreams/
DreamService.java 47 import android.view.WindowManager.LayoutParams;
308 public void onWindowAttributesChanged(LayoutParams attrs) {
402 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
411 * including using {@link ViewGroup.LayoutParams#MATCH_PARENT} as the layout height and width of the view.
418 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
427 * {@link android.app.Activity#setContentView(android.view.View, android.view.ViewGroup.LayoutParams)}
440 public void setContentView(View view, ViewGroup.LayoutParams params) {
452 public void addContentView(View view, ViewGroup.LayoutParams params) {
518 * Controls {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}
527 int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java 95 LayoutParams lp;
98 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
104 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
110 lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ResolverDrawerLayout.java 453 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
771 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
783 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
815 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
856 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) {
857 return new LayoutParams(getContext(), attrs)
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
PasswordTransformationMethodTest.java 46 import android.widget.LinearLayout.LayoutParams;
102 layout.addView(editText, new LayoutParams(LayoutParams.MATCH_PARENT,
103 LayoutParams.WRAP_CONTENT));
104 layout.addView(button, new LayoutParams(LayoutParams.MATCH_PARENT,
105 LayoutParams.WRAP_CONTENT));
  /frameworks/base/core/tests/coretests/src/android/util/
GridScenario.java 244 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/base/core/tests/coretests/src/android/widget/
EditorCursorTest.java 60 ViewGroup.LayoutParams editTextLayoutParams = new ViewGroup.LayoutParams(200,
61 ViewGroup.LayoutParams.WRAP_CONTENT);
66 ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(
67 ViewGroup.LayoutParams.MATCH_PARENT,
68 ViewGroup.LayoutParams.MATCH_PARENT);
69 layout.setLayoutParams(layoutParams);
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
WrapContentBasicTest.java 166 v.setLayoutParams(new RecyclerView.LayoutParams(1, 1));
182 public RecyclerView.LayoutParams generateDefaultLayoutParams() {
183 return new RecyclerView.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
184 ViewGroup.LayoutParams.WRAP_CONTENT);
222 RecyclerView.LayoutParams lp) {
228 RecyclerView.LayoutParams lp) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
ActivityState.java 150 final WindowManager.LayoutParams params = win.getAttributes();
153 params.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
155 params.flags &= ~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
158 params.flags |= WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON;
160 params.flags &= ~WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON;
163 params.flags |= WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
165 params.flags &= ~WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
LayoutParamsParserTest.java 69 mTopLayoutParamsClass = new ClassWrapper(mock_android.view.ViewGroup.LayoutParams.class);
91 assertEquals(mock_android.view.ViewGroup.LayoutParams.class,
94 assertEquals(mock_android.widget.LinearLayout.LayoutParams.class,
97 assertEquals(mock_android.widget.TableLayout.LayoutParams.class,
103 mock_android.view.ViewGroup.LayoutParams.class);
109 mock_android.widget.LinearLayout.LayoutParams.class);
111 // LinearLayout.LayoutData links to ViewGroup.LayoutParams
115 mock_android.widget.TableLayout.LayoutParams.class);
117 // TableLayout.LayoutData does not link to ViewGroup.LayoutParams nor
118 // LinearLayout.LayoutParams
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageGridFragment.java 33 import android.view.ViewGroup.LayoutParams;
221 private GridView.LayoutParams mImageViewLayoutParams;
226 mImageViewLayoutParams = new GridView.LayoutParams(
227 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
284 convertView.setLayoutParams(new AbsListView.LayoutParams(
285 LayoutParams.MATCH_PARENT, mActionBarHeight));
323 new GridView.LayoutParams(LayoutParams.MATCH_PARENT, mItemHeight);
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageGridFragment.java 33 import android.view.ViewGroup.LayoutParams;
221 private GridView.LayoutParams mImageViewLayoutParams;
226 mImageViewLayoutParams = new GridView.LayoutParams(
227 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
284 convertView.setLayoutParams(new AbsListView.LayoutParams(
285 LayoutParams.MATCH_PARENT, mActionBarHeight));
323 new GridView.LayoutParams(LayoutParams.MATCH_PARENT, mItemHeight);
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
ImageGridFragment.java 33 import android.view.ViewGroup.LayoutParams;
221 private GridView.LayoutParams mImageViewLayoutParams;
226 mImageViewLayoutParams = new GridView.LayoutParams(
227 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
284 convertView.setLayoutParams(new AbsListView.LayoutParams(
285 LayoutParams.MATCH_PARENT, mActionBarHeight));
323 new GridView.LayoutParams(LayoutParams.MATCH_PARENT, mItemHeight);
  /frameworks/base/services/autofill/java/com/android/server/autofill/ui/
SaveUi.java 189 window.setType(WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY);
190 window.addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
191 | WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM
192 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
193 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH);
194 window.addPrivateFlags(WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS);
195 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
198 final WindowManager.LayoutParams params = window.getAttributes();
199 params.width = WindowManager.LayoutParams.MATCH_PARENT;
  /frameworks/base/services/core/java/com/android/server/wm/
AccessibilityController.java 379 case WindowManager.LayoutParams.TYPE_APPLICATION:
380 case WindowManager.LayoutParams.TYPE_DRAWN_APPLICATION:
381 case WindowManager.LayoutParams.TYPE_APPLICATION_PANEL:
382 case WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA:
383 case WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL:
384 case WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL:
385 case WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG:
386 case WindowManager.LayoutParams.TYPE_SEARCH_BAR:
387 case WindowManager.LayoutParams.TYPE_PHONE:
388 case WindowManager.LayoutParams.TYPE_SYSTEM_ALERT
    [all...]
  /frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java 50 * <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();
    [all...]
  /frameworks/support/fragment/java/android/support/v4/app/
FragmentTabHost.java 159 addView(ll, new FrameLayout.LayoutParams(
160 ViewGroup.LayoutParams.MATCH_PARENT,
161 ViewGroup.LayoutParams.MATCH_PARENT));
166 ll.addView(tw, new LinearLayout.LayoutParams(
167 ViewGroup.LayoutParams.MATCH_PARENT,
168 ViewGroup.LayoutParams.WRAP_CONTENT, 0));
172 ll.addView(fl, new LinearLayout.LayoutParams(0, 0, 0));
176 ll.addView(fl, new LinearLayout.LayoutParams(
177 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1));
  /frameworks/support/v13/java/android/support/v13/app/
FragmentTabHost.java 147 addView(ll, new FrameLayout.LayoutParams(
148 ViewGroup.LayoutParams.MATCH_PARENT,
149 ViewGroup.LayoutParams.MATCH_PARENT));
154 ll.addView(tw, new LinearLayout.LayoutParams(
155 ViewGroup.LayoutParams.MATCH_PARENT,
156 ViewGroup.LayoutParams.WRAP_CONTENT, 0));
160 ll.addView(fl, new LinearLayout.LayoutParams(0, 0, 0));
164 ll.addView(fl, new LinearLayout.LayoutParams(
165 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1));
  /development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
CurvedMotion.java 27 import android.widget.RelativeLayout.LayoutParams;
96 LayoutParams params = (LayoutParams) mButton.getLayoutParams();
  /development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson3/
ClickFunActivityTest.java 84 final ViewGroup.LayoutParams layoutParams = mClickMeButton.getLayoutParams();
85 assertNotNull(layoutParams);
86 assertEquals(layoutParams.width, WindowManager.LayoutParams.MATCH_PARENT);
87 assertEquals(layoutParams.height, WindowManager.LayoutParams.WRAP_CONTENT);
  /external/volley/src/main/java/com/android/volley/toolbox/
NetworkImageView.java 21 import android.view.ViewGroup.LayoutParams;
110 wrapWidth = getLayoutParams().width == LayoutParams.WRAP_CONTENT;
111 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT;
  /frameworks/base/apct-tests/perftests/core/src/android/widget/
EditTextCursorMovementPerfTest.java 98 editText.setLayoutParams(new ViewGroup.LayoutParams(
99 ViewGroup.LayoutParams.WRAP_CONTENT,
100 ViewGroup.LayoutParams.WRAP_CONTENT));
  /frameworks/base/core/java/android/app/
MediaRouteActionProvider.java 124 mButton.setLayoutParams(new ViewGroup.LayoutParams(
125 ViewGroup.LayoutParams.WRAP_CONTENT,
126 ViewGroup.LayoutParams.MATCH_PARENT));

Completed in 1149 milliseconds

<<21222324252627282930>>