Home
last modified time | relevance | path

Searched refs:setContentView (Results 1 – 25 of 823) sorted by relevance

12345678910>>...33

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DAppCompatPreferenceActivity.java69 public void setContentView(@LayoutRes int layoutResID) { in setContentView() method in AppCompatPreferenceActivity
70 getDelegate().setContentView(layoutResID); in setContentView()
74 public void setContentView(View view) { in setContentView() method in AppCompatPreferenceActivity
75 getDelegate().setContentView(view); in setContentView()
79 public void setContentView(View view, ViewGroup.LayoutParams params) { in setContentView() method in AppCompatPreferenceActivity
80 getDelegate().setContentView(view, params); in setContentView()
DAppCompatNightModeDialog.java42 setContentView(R.layout.appcompat_night_mode); in onCreate()
49 dialog.setContentView(R.layout.dialog_content); in setModeNightNo()
57 dialog.setContentView(R.layout.dialog_content); in setModeNightYes()
65 dialog.setContentView(R.layout.dialog_content); in setModeNightAuto()
DDialogUsage.java42 setContentView(R.layout.dialog_usage); in onCreate()
69 dialog.setContentView(R.layout.dialog_content); in showSimpleDialog()
76 dialog.setContentView(R.layout.dialog_content_buttons); in showButtonBarDialog()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDialog.java79 public void setContentView(@LayoutRes int layoutResID) { in setContentView() method in AppCompatDialog
80 getDelegate().setContentView(layoutResID); in setContentView()
84 public void setContentView(View view) { in setContentView() method in AppCompatDialog
85 getDelegate().setContentView(view); in setContentView()
89 public void setContentView(View view, ViewGroup.LayoutParams params) { in setContentView() method in AppCompatDialog
90 getDelegate().setContentView(view, params); in setContentView()
DAppCompatActivity.java139 public void setContentView(@LayoutRes int layoutResID) { in setContentView() method in AppCompatActivity
140 getDelegate().setContentView(layoutResID); in setContentView()
144 public void setContentView(View view) { in setContentView() method in AppCompatActivity
145 getDelegate().setContentView(view); in setContentView()
149 public void setContentView(View view, ViewGroup.LayoutParams params) { in setContentView() method in AppCompatActivity
150 getDelegate().setContentView(view, params); in setContentView()
DAppCompatDelegate.java296 public abstract void setContentView(View v); in setContentView() method in AppCompatDelegate
301 public abstract void setContentView(@LayoutRes int resId); in setContentView() method in AppCompatDelegate
307 public abstract void setContentView(View v, ViewGroup.LayoutParams lp); in setContentView() method in AppCompatDelegate
/frameworks/support/design/src/android/support/design/widget/
DBottomSheetDialog.java64 public void setContentView(@LayoutRes int layoutResId) { in setContentView() method in BottomSheetDialog
65 super.setContentView(wrapInBottomSheet(layoutResId, null, null)); in setContentView()
76 public void setContentView(View view) { in setContentView() method in BottomSheetDialog
77 super.setContentView(wrapInBottomSheet(0, view, null)); in setContentView()
81 public void setContentView(View view, ViewGroup.LayoutParams params) { in setContentView() method in BottomSheetDialog
82 super.setContentView(wrapInBottomSheet(0, view, params)); in setContentView()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DLeakTest.java41 getActivity().setContentView(binding.getRoot()); in setUp()
62 getActivity().setContentView(new FrameLayout(getActivity())); in testBindingLeak()
83 getActivity().setContentView(new FrameLayout(getActivity())); in testNoChangeWhenDetached()
95 getActivity().setContentView(binding.getRoot()); in testNoChangeWhenDetached()
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/
DGridLayoutTest.java51 private void setContentView(final int layoutId) { in setContentView() method in GridLayoutTest
57 activity.setContentView(layoutId); in setContentView()
69 setContentView(R.layout.use_default_margin_test); in testUseDefaultMargin()
82 setContentView(R.layout.fill_horizontal_test); in testImplicitFillHorizontal()
95 setContentView(R.layout.make_view_gone_test); in testMakeViewGone()
120 setContentView(R.layout.height_wrap_content_test); in testWrapContentInOtherDirection()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DDataBindingUtil.java260 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId) { in setContentView() method in DataBindingUtil
261 return setContentView(activity, layoutId, sDefaultComponent); in setContentView()
274 public static <T extends ViewDataBinding> T setContentView(Activity activity, int layoutId, in setContentView() method in DataBindingUtil
276 activity.setContentView(layoutId); in setContentView()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/util/
DMockWindow.java39 public void setContentView(int i) { in setContentView() method in MockWindow
44 public void setContentView(View view) { in setContentView() method in MockWindow
49 public void setContentView(View view, ViewGroup.LayoutParams layoutParams) { in setContentView() method in MockWindow
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestActivity.java50 setContentView(mContainer); in onCreate()
64 setContentView(mContainer); in resetContent()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DDialogActivity.java77 setContentView(mLayout); in onCreate()
110 d.setContentView(layout); in createDialog()
DEditTextActivityDialog.java73 setContentView(mLayout); in onCreate()
107 d.setContentView(layout); in createDialog()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
DRecyclerViewTest.java52 private void setContentView(final int layoutId) throws Throwable { in setContentView() method in RecyclerViewTest
57 activity.setContentView(layoutId); in setContentView()
73 setContentView(R.layout.inflation_test); in inflation()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java403 public void setContentView(@LayoutRes int layoutResID) { in setContentView() method in DreamService
404 getWindow().setContentView(layoutResID); in setContentView()
419 public void setContentView(View view) { in setContentView() method in DreamService
420 getWindow().setContentView(view); in setContentView()
439 public void setContentView(View view, ViewGroup.LayoutParams params) { in setContentView() method in DreamService
440 getWindow().setContentView(view, params); in setContentView()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextGammaActivity.java45 setContentView(layout); in onCreate()
98 setContentView(layout); in onCreate()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java47 setContentView(R.layout.flowlayout); in onCreate()
84 setContentView(mLayout); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DSettingsDrawerActivity.java89 super.setContentView(R.layout.settings_with_drawer); in onCreate()
195 public void setContentView(@LayoutRes int layoutResID) { in setContentView() method in SettingsDrawerActivity
204 public void setContentView(View view) { in setContentView() method in SettingsDrawerActivity
209 public void setContentView(View view, ViewGroup.LayoutParams params) { in setContentView() method in SettingsDrawerActivity
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DActivity4.java25 setContentView(R.layout.grid4); in onCreate()
DActivity0.java25 setContentView(R.layout.grid0); in onCreate()
DActivity6.java25 setContentView(R.layout.grid6); in onCreate()
DActivity7.java25 setContentView(R.layout.grid7); in onCreate()
DActivity5.java25 setContentView(R.layout.grid5); in onCreate()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DBrowseAnimationActivity.java26 setContentView(R.layout.browse_animation); in onCreate()

12345678910>>...33