Home
last modified time | relevance | path

Searched refs:LayoutInflater (Results 1 – 25 of 1398) sorted by relevance

12345678910>>...56

/aosp12/frameworks/base/tests/testables/src/android/testing/
H A DLayoutInflaterBuilder.java23 import android.view.LayoutInflater;
43 private LayoutInflater mBuiltInflater;
122 public LayoutInflater build() { in build()
125 LayoutInflater.from(mFromContext).cloneInContext(mTargetContext); in build()
137 private void setFactoryIfNeeded(LayoutInflater inflater) { in setFactoryIfNeeded()
142 new LayoutInflater.Factory() { in setFactoryIfNeeded()
160 private void setFilterIfNeeded(LayoutInflater inflater) { in setFilterIfNeeded()
165 new LayoutInflater.Filter() { in setFilterIfNeeded()
/aosp12/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java23 import android.view.LayoutInflater;
37 private LayoutInflater mInflater;
38 private LayoutInflater mDropDownInflater;
57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
123 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
H A DAppSecurityPermissions.java21 import android.view.LayoutInflater;
42 LayoutInflater inflater = (LayoutInflater)context.getSystemService( in getPermissionItemView()
50 private static View getPermissionItemViewOld(Context context, LayoutInflater inflater, in getPermissionItemViewOld()
H A DSimpleAdapter.java27 import android.view.LayoutInflater;
57 private final LayoutInflater mInflater;
70 private LayoutInflater mDropDownInflater;
96 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in SimpleAdapter()
127 private View createViewFromResource(LayoutInflater inflater, int position, View convertView, in createViewFromResource()
170 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
181 final LayoutInflater inflater = mDropDownInflater == null ? mInflater : mDropDownInflater; in getDropDownView()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/rotary/
H A DNumberPickerUtilsTest.java22 import android.view.LayoutInflater;
47 LayoutInflater inflater = LayoutInflater.from(mContext); in getNumberPickerDescendants_fromTimePicker_has3NumberPickers()
59 LayoutInflater inflater = LayoutInflater.from(mContext); in getNumberPickerDescendants_fromDatePicker_has3NumberPickers()
103 LayoutInflater inflater = LayoutInflater.from(mContext); in hasCommonNumberPickerParent_fromTimePicker_returnsTrue()
126 LayoutInflater inflater = LayoutInflater.from(mContext); in getNumberPickerParent_validParent_returnsNull()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
H A DPrimaryCheckBoxPreferenceTest.java25 import android.view.LayoutInflater;
62 LayoutInflater.from(mContext).inflate( in setChecked_shouldUpdateCheckBoxCheckedState()
77 LayoutInflater.from(mContext).inflate( in setEnabled_shouldUpdateCheckBoxEnabledState()
92 LayoutInflater.from(mContext).inflate( in setCheckboxEnabled_shouldOnlyUpdateCheckBoxEnabledState()
109 LayoutInflater.from(mContext).inflate( in onBindViewHolder_shouldSetCheckboxEnabledState()
126 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleCheckBox()
145 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
163 LayoutInflater.from(mContext).inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotifyPreferenceChanged()
181 LayoutInflater.from(mContext).inflate(R.layout.preference_widget_primary_checkbox, in onBindViewHolder_checkBoxShouldHaveContentDescription()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DImportancePreferenceTest.java31 import android.view.LayoutInflater;
67 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_nonConfigurable()
99 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_selectButtonAndText()
122 final LayoutInflater inflater = LayoutInflater.from(mContext); in onClick_changesUICallsListener()
147 final LayoutInflater inflater = LayoutInflater.from(mContext); in setImportanceSummary()
169 final LayoutInflater inflater = LayoutInflater.from(mContext); in setImportanceSummary_default()
H A DConversationPriorityPreferenceTest.java32 import android.view.LayoutInflater;
68 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_nonConfigurable()
86 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_selectButtonAndText()
105 final LayoutInflater inflater = LayoutInflater.from(mContext); in onClick_changesUICallsListener()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/appstyledview/
H A DAppStyledDialogControllerTest.java30 import android.view.LayoutInflater;
74 LayoutInflater inflator = LayoutInflater.from(mActivityRule.getActivity()); in show_shouldDisplayDialog()
94 LayoutInflater inflator = LayoutInflater.from(mActivityRule.getActivity()); in setNavIcon_showCloseIcon()
114 LayoutInflater inflator = LayoutInflater.from(mActivityRule.getActivity()); in setOnCloseClickListener_shouldInvokeCallback()
139 LayoutInflater inflator = LayoutInflater.from(mActivityRule.getActivity()); in setOnDismissListener_shouldInvokeCallback()
/aosp12/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDemo0.java21 import android.view.LayoutInflater;
47 LayoutInflater inflater = (LayoutInflater) in sendMessage()
53 LayoutInflater inflater = (LayoutInflater) in sendMessage()
H A DDemo1.java21 import android.view.LayoutInflater;
52 LayoutInflater inflater = (LayoutInflater) in onCreate()
61 LayoutInflater inflater = (LayoutInflater) in onCreate()
/aosp12/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
H A DGlifPreferenceLayout.java23 import android.view.LayoutInflater;
94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
H A DSetupWizardPreferenceLayout.java23 import android.view.LayoutInflater;
93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
109 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneLayoutInflater.java21 import android.view.LayoutInflater;
27 public class PhoneLayoutInflater extends LayoutInflater {
47 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { in PhoneLayoutInflater()
71 public LayoutInflater cloneInContext(Context newContext) { in cloneInContext()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DViewPool.java20 import android.view.LayoutInflater;
38 private final LayoutInflater mInflater;
48 mInflater = LayoutInflater.from(context); in ViewPool()
63 LayoutInflater inflater = mInflater.cloneInContext(mInflater.getContext()); in initPool()
105 private T inflateNewView(LayoutInflater inflater) { in inflateNewView()
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java59 /* package */ static void rInflate(LayoutInflater thisInflater, XmlPullParser parser, in rInflate()
85 public static void parseInclude(LayoutInflater thisInflater, XmlPullParser parser, in parseInclude()
111 LayoutInflater.consumeChildElements(parser); in parseInclude()
154 LayoutInflater.consumeChildElements(parser); in parseInclude()
234 LayoutInflater.consumeChildElements(parser); in parseInclude()
238 /* package */ static void initPrecompiledViews(LayoutInflater thisInflater) { in initPrecompiledViews()
243 /* package */ static void initPrecompiledViews(LayoutInflater thisInflater, in initPrecompiledViews()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DGuidedActionsAlignUtil.java19 import android.view.LayoutInflater;
82 LayoutInflater inflater = LayoutInflater.from(parent.getContext()); in createGuidedActionsStylist()
97 LayoutInflater inflater = LayoutInflater.from(parent.getContext());
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DTemplateLayout.java27 import android.view.LayoutInflater;
137 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate()
166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate()
172 LayoutInflater.from(new FallbackThemeWrapper(inflater.getContext(), fallbackTheme)); in inflateTemplate()
187 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
/aosp12/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
H A DSearchAdapter.java25 import android.view.LayoutInflater;
66 LayoutInflater.from(context).inflate(R.layout.search_contact_row, root, false), in onCreateViewHolder()
70 LayoutInflater.from(context).inflate(R.layout.search_contact_row, root, false), in onCreateViewHolder()
76 LayoutInflater.from(context).inflate(R.layout.header_layout, root, false)); in onCreateViewHolder()
79 LayoutInflater.from(context).inflate(R.layout.search_contact_row, root, false), in onCreateViewHolder()
83 LayoutInflater.from(context).inflate(R.layout.search_action_layout, root, false), in onCreateViewHolder()
87 LayoutInflater.from(context).inflate(R.layout.location_permission_row, root, false), in onCreateViewHolder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DScreenRecordingAdapter.java25 import android.view.LayoutInflater;
70 LayoutInflater inflater = (LayoutInflater) getContext() in getOption()
83 LayoutInflater inflater = LayoutInflater.from(getContext()); in getSelected()
/aosp12/packages/apps/TV/src/com/android/tv/util/
H A DViewCache.java20 import android.view.LayoutInflater;
58 LayoutInflater inflater = in putView()
59 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in putView()
86 public View getOrCreateView(LayoutInflater inflater, int resId, ViewGroup container) { in getOrCreateView()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DViewPerfTest.java56 LayoutInflater inflater = LayoutInflater.from(mContext); in testSimpleViewInflate()
66 LayoutInflater inflater = LayoutInflater.from(mContext); in testTwelveKeyInflate()
/aosp12/frameworks/base/startop/apps/test/src/
H A DApplicationBenchmarks.java20 import android.view.LayoutInflater;
25 LayoutInflater inflater = LayoutInflater.from(parent); in initializeBenchmarks()
H A DLayoutInflationActivity.java22 import android.view.LayoutInflater;
33 LayoutInflater inflater = LayoutInflater.from(this); in onCreate()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DWifiConnectivityGuidedStepFragment.java23 import android.view.LayoutInflater;
62 LayoutInflater inflater = LayoutInflater.from(parent.getContext());
84 public View onCreateView(LayoutInflater inflater, ViewGroup container,

12345678910>>...56