Home
last modified time | relevance | path

Searched refs:inflater (Results 1 – 25 of 211) sorted by relevance

123456789

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java137 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate() local
138 final View templateRoot = onInflateTemplate(inflater, templateResource); in inflateTemplate()
166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate() argument
171 inflater = in inflateTemplate()
172 LayoutInflater.from(new FallbackThemeWrapper(inflater.getContext(), fallbackTheme)); in inflateTemplate()
174 return inflater.inflate(template, this, false); in inflateTemplate()
187 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate() argument
188 return inflateTemplate(inflater, 0, template); in onInflateTemplate()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DGlifPreferenceLayout.java94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument
99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument
103 return super.onInflateTemplate(inflater, template); in onInflateTemplate()
110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local
112 (RecyclerView) inflater.inflate(R.layout.suw_glif_preference_recycler_view, this, false); in onTemplateInflated()
DSetupWizardPreferenceLayout.java93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument
98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument
102 return super.onInflateTemplate(inflater, template); in onInflateTemplate()
109 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local
111 (RecyclerView) inflater.inflate(R.layout.suw_preference_recycler_view, this, false); in onTemplateInflated()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DReflectionInflaterTest.java42 TestInflater inflater = new TestInflater(context); in testInflateXml() local
43 final Animation result = inflater.inflate(R.xml.reflection_inflater_test); in testInflateXml()
55 TestInflater inflater = new TestInflater(context); in testDefaultPackage() local
56 inflater.setDefaultPackage("android.view.animation."); in testDefaultPackage()
57 final Animation result = inflater.inflate(R.xml.reflection_inflater_test_with_default_package); in testDefaultPackage()
DItemInflaterTest.java38 ItemInflater inflater = new ItemInflater(InstrumentationRegistry.getContext()); in testDefaultPackage() local
42 inflater.getDefaultPackage()); in testDefaultPackage()
47 ItemInflater inflater = new ItemInflater(InstrumentationRegistry.getContext()); in testInflate() local
48 ItemHierarchy item = inflater.inflate(R.xml.test_items); in testInflate()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDemo0.java47 LayoutInflater inflater = (LayoutInflater) in sendMessage() local
49 inflater.inflate(R.layout.search_screen, mSceneRoot); in sendMessage()
53 LayoutInflater inflater = (LayoutInflater) in sendMessage() local
55 inflater.inflate(R.layout.results_screen, mSceneRoot); in sendMessage()
DDemo1.java52 LayoutInflater inflater = (LayoutInflater) in onCreate()
54 inflater.inflate(R.layout.results_screen, mSceneRoot); in onCreate()
61 LayoutInflater inflater = (LayoutInflater) in onCreate()
63 inflater.inflate(R.layout.search_screen, mSceneRoot); in onCreate()
DResourceLoadingTest.java53 TransitionInflater inflater = TransitionInflater.from(this); in sendMessage() local
55 inflater.inflateTransitionManager(R.transition.my_transition_mgr, in sendMessage()
59 … Transition loadedTransition = inflater.inflateTransition(R.transition.my_transition); in sendMessage()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java41 LayoutInflater inflater = LayoutInflater.from(context); in testSimpleViewInflate() local
44 inflater.inflate(R.layout.test_simple_view, root, false); in testSimpleViewInflate()
52 LayoutInflater inflater = LayoutInflater.from(context); in testTwelveKeyInflate() local
55 inflater.inflate(R.layout.twelve_key_entry, root, false); in testTwelveKeyInflate()
/frameworks/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java137 private void setFactoryIfNeeded(LayoutInflater inflater) { in setFactoryIfNeeded() argument
141 inflater.setFactory( in setFactoryIfNeeded()
148 return inflater.createView(replacingClassName, null, attrs); in setFactoryIfNeeded()
160 private void setFilterIfNeeded(LayoutInflater inflater) { in setFilterIfNeeded() argument
164 inflater.setFilter( in setFilterIfNeeded()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java42 LayoutInflater inflater = (LayoutInflater)context.getSystemService( in getPermissionItemView() local
46 return getPermissionItemViewOld(context, inflater, grpName, in getPermissionItemView()
50 private static View getPermissionItemViewOld(Context context, LayoutInflater inflater, in getPermissionItemViewOld() argument
52 View permView = inflater.inflate(R.layout.app_permission_item_old, null); in getPermissionItemViewOld()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewFlipperActivity.java35 final LayoutInflater inflater = getLayoutInflater(); in onCreate() local
36 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.java76 final LayoutInflater inflater = LayoutInflater.from(c); in GammaTextView() local
77 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/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java59 PreferenceInflater inflater = new BridgePreferenceInflater(context, pm); in inflatePreference() local
60 PreferenceScreen ps = (PreferenceScreen) inflater.inflate(parser, null, true); in inflatePreference()
74 LayoutInflater inflater = in createContainerView() local
76 inflater.inflate(mLayoutResId, root, true); in createContainerView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java299 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton() local
300 View v = createView(buttonSpec, parent, inflater); in inflateButton()
371 private View createView(String buttonSpec, ViewGroup parent, LayoutInflater inflater) { in createView() argument
380 v = inflater.inflate(R.layout.home, parent, false); in createView()
382 v = inflater.inflate(R.layout.back, parent, false); in createView()
384 v = inflater.inflate(R.layout.recent_apps, parent, false); in createView()
386 v = inflater.inflate(R.layout.menu_ime, parent, false); in createView()
388 v = inflater.inflate(R.layout.nav_key_space, parent, false); in createView()
390 v = inflater.inflate(R.layout.clipboard, parent, false); in createView()
392 v = inflater.inflate(R.layout.contextual, parent, false); in createView()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java89 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() argument
90 mLifecycle.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
91 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestTableLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.table_layout_rtl, container, false); in onCreateView()
DBiDiTestGridLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.grid_layout_rtl, container, false); in onCreateView()
DBiDiTestFrameLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.frame_layout_rtl, container, false); in onCreateView()
DBiDiTestFrameLayoutLtr.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.frame_layout_ltr, container, false); in onCreateView()
DBiDiTestTableLayoutLocale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.table_layout_locale, container, false); in onCreateView()
DBiDiTestRelativeLayout2Rtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.relative_layout_2_rtl, container, false); in onCreateView()
DBiDiTestGridLayoutLocale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.grid_layout_locale, container, false); in onCreateView()
DBiDiTestRelativeLayoutRtl.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.relative_layout_rtl, container, false); in onCreateView()
DBiDiTestRelativeLayout2Locale.java28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
30 return inflater.inflate(R.layout.relative_layout_2_locale, container, false); in onCreateView()

123456789