Searched defs:setContentView (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTest.java33 private void setContentView(final int layoutId) throws Throwable { method in class:RecyclerViewTest
38 activity.setContentView(layoutId);
44 setContentView(R.layout.inflation_test);
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/test/
H A DGridLayoutTest.java39 private void setContentView(final int layoutId) throws Throwable { method in class:GridLayoutTest
44 activity.setContentView(layoutId);
50 setContentView(R.layout.use_default_margin_test);
63 setContentView(R.layout.fill_horizontal_test);
76 setContentView(R.layout.make_view_gone_test);
99 setContentView(R.layout.height_wrap_content_test);
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DDataBindingUtil.java271 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId) { method in class:DataBindingUtil
272 return setContentView(activity, layoutId, sDefaultComponent);
285 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId, method in class:DataBindingUtil
292 activity.setContentView(binding.getRoot(), binding.getRoot().getLayoutParams());
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDialog.java75 public void setContentView(@LayoutRes int layoutResID) { method in class:AppCompatDialog
76 getDelegate().setContentView(layoutResID);
80 public void setContentView(View view) { method in class:AppCompatDialog
81 getDelegate().setContentView(view);
85 public void setContentView(View view, ViewGroup.LayoutParams params) { method in class:AppCompatDialog
86 getDelegate().setContentView(view, params);
H A DAppCompatActivity.java108 public void setContentView(@LayoutRes int layoutResID) { method in class:AppCompatActivity
109 getDelegate().setContentView(layoutResID);
113 public void setContentView(View view) { method in class:AppCompatActivity
114 getDelegate().setContentView(view);
118 public void setContentView(View view, ViewGroup.LayoutParams params) { method in class:AppCompatActivity
119 getDelegate().setContentView(view, params);
H A DAppCompatDelegate.java50 * <li>{@link #setContentView(int)}</li>
51 * <li>{@link #setContentView(android.view.View)}</li>
52 * <li>{@link #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)}</li>
204 * Should be called instead of {@link Activity#setContentView(android.view.View)}}
206 public abstract void setContentView(View v); method in class:AppCompatDelegate
209 * Should be called instead of {@link Activity#setContentView(int)}}
211 public abstract void setContentView(@LayoutRes int resId); method in class:AppCompatDelegate
215 * {@link Activity#setContentView(android.view.View, android.view.ViewGroup.LayoutParams)}}
217 public abstract void setContentView(View v, ViewGroup.LayoutParams lp); method in class:AppCompatDelegate
H A DAppCompatDelegateImplV7.java242 public void setContentView(View v) { method in class:AppCompatDelegateImplV7
251 public void setContentView(int resId) { method in class:AppCompatDelegateImplV7
260 public void setContentView(View v, ViewGroup.LayoutParams lp) { method in class:AppCompatDelegateImplV7
451 mWindow.setContentView(subDecor);
700 mActionModePopup.setContentView(mActionModeView);
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DSystemBarHelperTest.java195 public void setContentView(int i) { method in class:SystemBarHelperTest.TestWindow
200 public void setContentView(View view) { method in class:SystemBarHelperTest.TestWindow
205 public void setContentView(View view, LayoutParams layoutParams) { method in class:SystemBarHelperTest.TestWindow
/frameworks/base/core/java/android/app/
H A DDialog.java401 * in this method, including calling {@link #setContentView}.
511 public void setContentView(@LayoutRes int layoutResID) { method in class:Dialog
512 mWindow.setContentView(layoutResID);
522 public void setContentView(View view) { method in class:Dialog
523 mWindow.setContentView(view);
534 public void setContentView(View view, ViewGroup.LayoutParams params) { method in class:Dialog
535 mWindow.setContentView(view, params);
H A DActivity.java119 * {@link #setContentView}. While activities are often presented to the user
128 * importantly, here you will usually call {@link #setContentView(int)}
874 * should go: calling {@link #setContentView(int)} to inflate the
2162 * @see #setContentView(android.view.View)
2163 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
2165 public void setContentView(@LayoutRes int layoutResID) { method in class:Activity
2166 getWindow().setContentView(layoutResID);
2177 * {@link #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)}
2182 * @see #setContentView(int)
2183 * @see #setContentView(androi
2185 public void setContentView(View view) { method in class:Activity
2201 public void setContentView(View view, ViewGroup.LayoutParams params) { method in class:Activity
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java67 * <p>Use this for initial setup, such as calling {@link #setContentView setContentView()}.</li>
116 * <p>To specify your dream layout, call {@link #setContentView}, typically during the
130 * setContentView(R.layout.dream);
393 * Behaves similarly to {@link android.app.Activity#setContentView(int)}.
399 * @see #setContentView(android.view.View)
400 * @see #setContentView(android.view.View, android.view.ViewGroup.LayoutParams)
402 public void setContentView(@LayoutRes int layoutResID) { method in class:DreamService
403 getWindow().setContentView(layoutResID);
408 * Behaves similarly to {@link android.app.Activity#setContentView(androi
418 public void setContentView(View view) { method in class:DreamService
438 public void setContentView(View view, ViewGroup.LayoutParams params) { method in class:DreamService
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java978 setContentView(v);
1039 mWindow.setContentView(mRootView);
1298 public void setContentView(View view) { method in class:VoiceInteractionSession
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java330 setContentView(contentView);
486 * @see #setContentView(android.view.View)
503 public void setContentView(View contentView) { method in class:PopupWindow
1159 + "calling setContentView() before attempting to show the popup.");
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java78 public void setContentView(int resId); method in interface:PhotoViewController.ActivityInterface
295 mActivity.setContentView(R.layout.photo_activity_view);
/frameworks/base/core/java/android/view/
H A DWindow.java115 * @see #setContentView
366 * {@link Window#setContentView(View, android.view.ViewGroup.LayoutParams)
367 * Window.setContentView} or
826 * {@link #setContentView(View, android.view.ViewGroup.LayoutParams)} or
970 * setContentView(). May be called as many times as desired as long as it
971 * is before setContentView(). If not called, no extended features
1025 * {@link #setContentView(View, android.view.ViewGroup.LayoutParams)}
1030 * @see #setContentView(View, android.view.ViewGroup.LayoutParams)
1032 public abstract void setContentView(@LayoutRes int layoutResID); method in class:Window
1036 * {@link #setContentView(Vie
1044 public abstract void setContentView(View view); method in class:Window
1065 public abstract void setContentView(View view, ViewGroup.LayoutParams params); method in class:Window
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java378 public void setContentView(int layoutResID) { method in class:PhoneWindow
403 public void setContentView(View view) { method in class:PhoneWindow
404 setContentView(view, new ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT));
408 public void setContentView(View view, ViewGroup.LayoutParams params) { method in class:PhoneWindow
3388 mPrimaryActionModePopup.setContentView(mPrimaryActionModeView);

Completed in 303 milliseconds