Searched refs:inflater (Results 51 - 75 of 435) sorted by relevance

1234567891011>>

/frameworks/support/transition/src/androidTest/java/androidx/transition/
H A DTransitionInflaterTest.java46 TransitionInflater inflater = TransitionInflater.from(rule.getActivity());
47 Transition transition = inflater.inflateTransition(R.transition.transition_constructors);
55 TransitionInflater inflater = TransitionInflater.from(rule.getActivity());
56 verifyFadeProperties(inflater.inflateTransition(R.transition.fade));
57 verifyChangeBoundsProperties(inflater.inflateTransition(R.transition.change_bounds));
58 verifySlideProperties(inflater.inflateTransition(R.transition.slide));
59 verifyExplodeProperties(inflater.inflateTransition(R.transition.explode));
61 inflater.inflateTransition(R.transition.change_image_transform));
62 verifyChangeTransformProperties(inflater.inflateTransition(R.transition.change_transform));
64 inflater
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DKeyguardPresentationTest.java38 LayoutInflater inflater = LayoutInflater.from(getContext());
39 inflater.inflate(R.layout.keyguard_presentation, null);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestTextViewDrawablesLtr.java32 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
34 currentView = inflater.inflate(R.layout.textview_drawables_ltr, container, false);
H A DBiDiTestTextViewDrawablesRtl.java32 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
34 currentView = inflater.inflate(R.layout.textview_drawables_rtl, container, false);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
H A DTestFragment.java35 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
37 BasicBindingBinding binding = BasicBindingBinding.inflate(inflater, container, false);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DTemplateLayout.java139 final LayoutInflater inflater = LayoutInflater.from(getContext());
140 final View templateRoot = onInflateTemplate(inflater, templateResource);
155 * @param inflater A LayoutInflater to inflate the template.
160 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { argument
161 return inflateTemplate(inflater, 0, template);
165 * Inflate the template using the given inflater and theme. The fallback theme will be applied
173 * @param inflater A LayoutInflater to inflate the template.
182 protected final View inflateTemplate(LayoutInflater inflater, @StyleRes int fallbackTheme, argument
188 inflater = LayoutInflater.from(
189 new FallbackThemeWrapper(inflater
[all...]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DCountCallsFragment.java37 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
40 return super.onCreateView(inflater, container, savedInstanceState);
H A DNestedInflatedFragmentTest.java93 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, argument
95 return inflater.inflate(R.layout.nested_inflated_fragment_parent, container, false);
120 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, argument
122 return inflater.inflate(R.layout.nested_inflated_fragment_child, container, false);
129 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, argument
131 TextView textView = new TextView(inflater.getContext());
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DMenuItemIconTinting.java46 MenuInflater inflater = getMenuInflater();
47 inflater.inflate(R.menu.menu_with_tinted_icons, menu);
H A DDialogFragmentUsage.java105 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, argument
109 return inflater.inflate(contentView, container, false);
113 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
114 inflater.inflate(R.menu.actions, menu);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DListRowView.java43 LayoutInflater inflater = LayoutInflater.from(context);
44 inflater.inflate(R.layout.lb_list_row, this);
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/
H A DBaseLeanbackPreferenceFragment.java39 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, argument
41 VerticalGridView verticalGridView = (VerticalGridView) inflater
H A DLeanbackPreferenceFragment.java50 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
52 final View view = inflater.inflate(R.layout.leanback_preference_fragment, container, false);
54 final View innerView = super.onCreateView(inflater, innerContainer, savedInstanceState);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DMenuItemIconTinting.java46 MenuInflater inflater = getMenuInflater();
47 inflater.inflate(R.menu.menu_with_tinted_icons, menu);
/frameworks/base/core/java/com/android/internal/globalactions/
H A DAction.java29 View create(Context context, View convertView, ViewGroup parent, LayoutInflater inflater); argument
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDemo1.java52 LayoutInflater inflater = (LayoutInflater)
54 inflater.inflate(R.layout.results_screen, mSceneRoot);
61 LayoutInflater inflater = (LayoutInflater)
63 inflater.inflate(R.layout.search_screen, mSceneRoot);
H A DResourceLoadingTest.java53 TransitionInflater inflater = TransitionInflater.from(this);
55 inflater.inflateTransitionManager(R.transition.my_transition_mgr,
59 Transition loadedTransition = inflater.inflateTransition(R.transition.my_transition);
H A DUniqueIds.java44 LayoutInflater inflater = getLayoutInflater();
45 Button button = (Button) inflater.inflate(R.layout.button_template, null);
49 button = (Button) inflater.inflate(R.layout.button_template, null);
/frameworks/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java59 PreferenceInflater inflater = new BridgePreferenceInflater(context, pm);
60 PreferenceScreen ps = (PreferenceScreen) inflater.inflate(parser, null, true);
74 LayoutInflater inflater =
76 inflater.inflate(mLayoutResId, root, true);
/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/
H A DUsualFragment.java34 public View onCreateView(LayoutInflater inflater, ViewGroup container, argument
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DLayoutInflaterFactoryTestCase.java69 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
70 assertThemedContext(inflater.inflate(R.layout.layout_android_theme, null));
77 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
78 assertThemedContext(inflater.inflate(R.layout.layout_app_theme, null));
86 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
87 final ViewGroup root = (ViewGroup) inflater.inflate(
102 LayoutInflater inflater = LayoutInflater.from(activity)
106 final ViewGroup root = (ViewGroup) inflater.inflate(
198 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
199 View view = inflater
[all...]
/frameworks/base/tests/testables/src/android/testing/
H A DLayoutInflaterBuilder.java137 private void setFactoryIfNeeded(LayoutInflater inflater) { argument
141 inflater.setFactory(
148 return inflater.createView(replacingClassName, null, attrs);
160 private void setFilterIfNeeded(LayoutInflater inflater) { argument
164 inflater.setFilter(
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
H A DObservableDialogFragment.java84 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { argument
85 mLifecycle.onCreateOptionsMenu(menu, inflater);
86 super.onCreateOptionsMenu(menu, inflater);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextGammaActivity.java76 final LayoutInflater inflater = LayoutInflater.from(c);
77 inflater.inflate(R.layout.text_large, this, true);
78 inflater.inflate(R.layout.text_medium, this, true);
79 inflater.inflate(R.layout.text_small, this, true);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DBottomSheetWithFragment.java69 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, argument
71 return inflater.inflate(R.layout.design_bottom_sheet_fragment, container, false);
84 public ViewHolder(LayoutInflater inflater, ViewGroup parent) { argument
85 super(inflater.inflate(android.R.layout.simple_list_item_1, parent, false));

Completed in 6156 milliseconds

1234567891011>>