Home
last modified time | relevance | path

Searched refs:inflate (Results 1 – 25 of 574) sorted by relevance

12345678910>>...23

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DDataBindingUtilTest.java36 … BasicBindingBinding binding = BasicBindingBinding.inflate(getActivity().getLayoutInflater()); in testFindBinding()
40 getActivity().getLayoutInflater().inflate(R.layout.basic_binding, root, true); in testFindBinding()
50 … BasicBindingBinding binding = BasicBindingBinding.inflate(getActivity().getLayoutInflater()); in testGetBinding()
80 BasicBindingBinding binding = DataBindingUtil.inflate(getActivity().getLayoutInflater(), in testInflate()
84 binding = DataBindingUtil.inflate(getActivity().getLayoutInflater(), in testInflate()
89 assertNull(DataBindingUtil.inflate(getActivity().getLayoutInflater(), in testInflate()
91 MergeLayoutBinding mergeBinding = DataBindingUtil.inflate(getActivity().getLayoutInflater(), in testInflate()
98 DataBindingUtil.inflate(getActivity().getLayoutInflater(), in testInflate()
DBasicBindingTest.java123 … NoExpressionsBinding binding = NoExpressionsBinding.inflate(getActivity().getLayoutInflater()); in testNoExpressionBinding()
129 … NoDataElementBinding binding = NoDataElementBinding.inflate(getActivity().getLayoutInflater()); in testNoDataElement()
135 JustIdBinding binding = JustIdBinding.inflate(getActivity().getLayoutInflater()); in testJustIds()
142 assertNull(DataBindingUtil.inflate(getActivity().getLayoutInflater(), R.layout.plain_layout, in testNoBinding()
150 BasicBindingBinding.inflate(getActivity().getLayoutInflater(), viewGroup, true); in testInflation()
158 JustIdBinding binding = JustIdBinding.inflate(getActivity().getLayoutInflater()); in testAndroidId()
DCustomBindingTest.java37 android.databinding.testapp.mypackage.CustomBinding.inflate( in testCustomBindings()
44 com.android.test.CustomBinding.inflate(getActivity().getLayoutInflater()); in testCustomBindings()
DInstanceAdapterTest.java112 InstanceAdapterBinding.inflate(getActivity().getLayoutInflater(), null); in testRequiredBinding()
124 …IncludeInstanceAdapterBinding binding = IncludeInstanceAdapterBinding.inflate(getActivity().getLay… in testInclude()
139 binding.viewStub.getViewStub().inflate(); in testViewStub()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DGenericInflater.java204 public T inflate(int resource) { in inflate() method in GenericInflater
205 return inflate(resource, null); in inflate()
220 public T inflate(int resource, T root) { in inflate() method in GenericInflater
221 return inflate(resource, root, root != null); in inflate()
240 public T inflate(XmlPullParser parser, T root) { in inflate() method in GenericInflater
241 return inflate(parser, root, root != null); in inflate()
260 public T inflate(int resource, T root, boolean attachToRoot) { in inflate() method in GenericInflater
264 return inflate(parser, root, attachToRoot); in inflate()
291 public T inflate(XmlPullParser parser, T root, boolean attachToRoot) { in inflate() method in GenericInflater
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/
DGeneratedLayoutTest.java29 View view = inflater.inflate(R.layout.library_layout, null); in testBindToGeneratedLayout()
39 View view = inflater.inflate(R.layout.library_layout, null); in testBindToDefault()
49 View view = inflater.inflate(R.layout.library_layout, null); in testBindToSw600()
/frameworks/base/core/java/android/preference/
DGenericInflater.java220 public T inflate(@XmlRes int resource, P root) { in inflate() method in GenericInflater
221 return inflate(resource, root, root != null); in inflate()
240 public T inflate(XmlPullParser parser, P root) { in inflate() method in GenericInflater
241 return inflate(parser, root, root != null); in inflate()
260 public T inflate(@XmlRes int resource, P root, boolean attachToRoot) { in inflate() method in GenericInflater
264 return inflate(parser, root, attachToRoot); in inflate()
291 public T inflate(XmlPullParser parser, P root, in inflate() method in GenericInflater
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java108 mRot0 = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout, this, false); in inflateChildren()
111 mRot90 = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout_rot90, this, in inflateChildren()
222 v = inflater.inflate(R.layout.home, parent, false); in inflateButton()
227 v = inflater.inflate(R.layout.back, parent, false); in inflateButton()
232 v = inflater.inflate(R.layout.recent_apps, parent, false); in inflateButton()
237 v = inflater.inflate(R.layout.menu_ime, parent, false); in inflateButton()
239 v = inflater.inflate(R.layout.nav_key_space, parent, false); in inflateButton()
241 v = inflater.inflate(R.layout.clipboard, parent, false); in inflateButton()
245 v = inflater.inflate(R.layout.custom_key, parent, false); in inflateButton()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DLayoutInflaterFactoryTestCase.java58 assertThemedContext(inflater.inflate(R.layout.layout_android_theme, null)); in testAndroidThemeInflation()
70 assertThemedContext(inflater.inflate(R.layout.layout_app_theme, null)); in testAppThemeInflation()
86 final ViewGroup root = (ViewGroup) inflater.inflate( in testAndroidThemeWithChildrenInflation()
162 View view = inflater.inflate(R.layout.layout_button_themed_onclick, null); in testDeclarativeOnClickWithContextWrapper()
176 View view = inflater.inflate(layout, null); in testAppCompatWidgetInflation()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewFlipperActivity.java36 final View widget = inflater.inflate(R.layout.widget, null); in onCreate()
41 View view = inflater.inflate(R.layout.flipper_item, flipper, false); in onCreate()
47 view = inflater.inflate(R.layout.flipper_item, flipper, false); in onCreate()
DTextGammaActivity.java77 inflater.inflate(R.layout.text_large, this, true); in GammaTextView()
78 inflater.inflate(R.layout.text_medium, this, true); in GammaTextView()
79 inflater.inflate(R.layout.text_small, this, true); in GammaTextView()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java46 final TabLayout tabLayout = (TabLayout) inflater.inflate( in testInflateTabLayoutWithTabItems()
82 inflater.inflate(R.layout.design_tabs_with_non_tabitems, null); in testInflateTabLayoutWithNonTabItem()
105 (TabLayout) inflater.inflate(R.layout.design_tabs, null); in testTabWithCustomLayoutSelection1()
127 (TabLayout) inflater.inflate(R.layout.design_tabs, null); in testTabWithCustomLayoutSelection2()
/frameworks/base/core/tests/coretests/src/android/view/
DViewStubTest.java52 final View swapped = stub.inflate(); in testInflated()
63 final View swapped = stub.inflate(); in testInflatedId()
76 final View swapped = stub.inflate(); in testInflatedLayoutParams()
DInflateTest.java59 mView = mInflater.inflate(resourceId, null); in inflateTest()
65 mInflater.inflate(resourceId, null); in inflateCachedTest()
67 mInflater.inflate(resourceId, null); in inflateCachedTest()
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DDrawableCompat.java58 void inflate(Drawable drawable, Resources res, XmlPullParser parser, AttributeSet attrs, in inflate() method
138 public void inflate(Drawable drawable, Resources res, XmlPullParser parser, in inflate() method in DrawableCompat.BaseDrawableImpl
141 DrawableCompatBase.inflate(drawable, res, parser, attrs, t); in inflate()
258 public void inflate(Drawable drawable, Resources res, XmlPullParser parser, in inflate() method in DrawableCompat.LollipopDrawableImpl
261 DrawableCompatLollipop.inflate(drawable, res, parser, attrs, t); in inflate()
447 public static void inflate(Drawable drawable, Resources res, XmlPullParser parser, in inflate() method in DrawableCompat
450 IMPL.inflate(drawable, res, parser, attrs, theme); in inflate()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DDataBindingUtil.java86 public static <T extends ViewDataBinding> T inflate(LayoutInflater inflater, int layoutId, in inflate() method in DataBindingUtil
88 return inflate(inflater, layoutId, parent, attachToParent, sDefaultComponent); in inflate()
111 public static <T extends ViewDataBinding> T inflate( in inflate() method in DataBindingUtil
116 final View view = inflater.inflate(layoutId, parent, attachToParent); in inflate()
/frameworks/base/docs/html/training/improving-layouts/
Dloading-ondemand.jd43 or participate in the layout. As such, it's cheap to inflate and cheap to leave in a view hierarchy.
45 specify the layout to inflate.</p>
65 {@link android.view.ViewStub#inflate()}.</p>
70 View importPanel = ((ViewStub) findViewById(R.id.stub_import)).inflate();
73 <p class="note"><strong>Note:</strong> The {@link android.view.ViewStub#inflate()} method returns
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
DTestLibraryMainActivity.java29 ActivityTestLibraryMainBinding binder = ActivityTestLibraryMainBinding.inflate( in onCreate()
39 getMenuInflater().inflate(R.menu.menu_test_library_main, menu); in onCreateOptionsMenu()
/frameworks/data-binding/integration-tests/App With Spaces/app/src/main/java/android/databinding/appwithspaces/
DMainActivity.java31 mBinder = ActivityMainBinding.inflate(getLayoutInflater()); in onCreate()
43 getMenuInflater().inflate(R.menu.menu_main, menu); in onCreateOptionsMenu()
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/main/java/android/databinding/multimoduletestapp/
DMainActivity.java31 mBinder = ActivityMainBinding.inflate(getLayoutInflater()); in onCreate()
43 getMenuInflater().inflate(R.menu.menu_main, menu); in onCreateOptionsMenu()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DViewStubCompat.java176 inflate(); in setVisibility()
188 public View inflate() { in inflate() method in ViewStubCompat
200 final View view = factory.inflate(mLayoutResource, parent, in inflate()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDemo0.java49 inflater.inflate(R.layout.search_screen, mSceneRoot); in sendMessage()
55 inflater.inflate(R.layout.results_screen, mSceneRoot); in sendMessage()
/frameworks/base/core/java/android/view/
DViewStub.java235 inflate(); in setVisibility()
247 public View inflate() { in inflate() method in ViewStub
259 final View view = factory.inflate(mLayoutResource, parent, in inflate()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DDrawableCompatBase.java59 public static void inflate(Drawable drawable, Resources res, XmlPullParser parser, in inflate() method in DrawableCompatBase
62 drawable.inflate(res, parser, attrs); in inflate()
/frameworks/base/core/java/android/widget/
DResourceCursorTreeAdapter.java100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false); in newChildView()
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()

12345678910>>...23