Home
last modified time | relevance | path

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

12345678910>>...26

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DImportancePreferenceTest.java67 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_nonConfigurable() local
69 inflater.inflate(R.layout.notif_importance_preference, null)); in onBindViewHolder_nonConfigurable()
89 inflater.inflate(R.layout.notif_importance_preference, null)); in onBindViewHolder_nonConfigurable()
99 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_selectButtonAndText() local
101 inflater.inflate(R.layout.notif_importance_preference, null)); in onBindViewHolder_selectButtonAndText()
122 final LayoutInflater inflater = LayoutInflater.from(mContext); in onClick_changesUICallsListener() local
124 inflater.inflate(R.layout.notif_importance_preference, null)); in onClick_changesUICallsListener()
147 final LayoutInflater inflater = LayoutInflater.from(mContext); in setImportanceSummary() local
149 inflater.inflate(R.layout.notif_importance_preference, null)); in setImportanceSummary()
169 final LayoutInflater inflater = LayoutInflater.from(mContext); in setImportanceSummary_default() local
[all …]
DConversationPriorityPreferenceTest.java68 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_nonConfigurable() local
70 inflater.inflate(preference.getLayoutResource(), null)); in onBindViewHolder_nonConfigurable()
86 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_selectButtonAndText() local
88 inflater.inflate(preference.getLayoutResource(), null)); in onBindViewHolder_selectButtonAndText()
105 final LayoutInflater inflater = LayoutInflater.from(mContext); in onClick_changesUICallsListener() local
107 inflater.inflate(preference.getLayoutResource(), null)); in onClick_changesUICallsListener()
/packages/apps/Tag/src/com/android/apps/tag/
DTagViewer.java76 private void addView(LayoutInflater inflater, LinearLayout content, View v) { in addView() argument
78 TextView empty = (TextView) inflater.inflate(R.layout.tag_text, content, false); in addView()
86 LayoutInflater inflater = LayoutInflater.from(this); in buildTagViews() local
94 addView(inflater, content, null); in buildTagViews()
103 addView(inflater, content, null); in buildTagViews()
107 addView(inflater, content, record.getView(this, inflater, content, i)); in buildTagViews()
108 inflater.inflate(R.layout.tag_divider, content, true); in buildTagViews()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/rotary/
DNumberPickerUtilsTest.java47 LayoutInflater inflater = LayoutInflater.from(mContext); in getNumberPickerDescendants_fromTimePicker_has3NumberPickers() local
48 ViewGroup view = (ViewGroup) inflater.inflate(R.layout.time_picker, /* root= */ null); in getNumberPickerDescendants_fromTimePicker_has3NumberPickers()
59 LayoutInflater inflater = LayoutInflater.from(mContext); in getNumberPickerDescendants_fromDatePicker_has3NumberPickers() local
60 ViewGroup view = (ViewGroup) inflater.inflate(R.layout.date_picker, /* root= */ null); in getNumberPickerDescendants_fromDatePicker_has3NumberPickers()
103 LayoutInflater inflater = LayoutInflater.from(mContext); in hasCommonNumberPickerParent_fromTimePicker_returnsTrue() local
104 ViewGroup view = (ViewGroup) inflater.inflate(R.layout.time_picker, /* root= */ null); in hasCommonNumberPickerParent_fromTimePicker_returnsTrue()
126 LayoutInflater inflater = LayoutInflater.from(mContext); in getNumberPickerParent_validParent_returnsNull() local
127 ViewGroup view = (ViewGroup) inflater.inflate(R.layout.time_picker, /* root= */ null); in getNumberPickerParent_validParent_returnsNull()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectPhoneNumbersListFragment.java56 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() argument
57 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
58 inflater.inflate(R.menu.items_multi_select, menu); in onCreateOptionsMenu()
95 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
107 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
122 protected View inflateView(LayoutInflater inflater, ViewGroup container) { in inflateView() argument
123 return inflater.inflate(com.android.contacts.R.layout.contact_list_content, null); in inflateView()
DMultiSelectEmailAddressesListFragment.java56 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() argument
57 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
58 inflater.inflate(R.menu.items_multi_select, menu); in onCreateOptionsMenu()
95 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
107 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
137 protected View inflateView(LayoutInflater inflater, ViewGroup container) { in inflateView() argument
138 return inflater.inflate(com.android.contacts.R.layout.contact_list_content, null); in inflateView()
DEmailAddressPickerFragment.java60 protected View inflateView(LayoutInflater inflater, ViewGroup container) { in inflateView() argument
61 return inflater.inflate(R.layout.contact_list_content, null); in inflateView()
65 protected void onCreateView(LayoutInflater inflater, ViewGroup container) { in onCreateView() argument
66 super.onCreateView(inflater, container); in onCreateView()
DPostalAddressPickerFragment.java75 protected View inflateView(LayoutInflater inflater, ViewGroup container) { in inflateView() argument
76 return inflater.inflate(R.layout.contact_list_content, null); in inflateView()
80 protected void onCreateView(LayoutInflater inflater, ViewGroup container) { in onCreateView() argument
81 super.onCreateView(inflater, container); in onCreateView()
DDefaultContactBrowseListFragment.java418 protected View inflateView(LayoutInflater inflater, ViewGroup container) { in inflateView() argument
419 final View view = inflater.inflate(R.layout.contact_list_content, null); in inflateView()
425 mEmptyAccountView = getEmptyAccountView(inflater); in inflateView()
426 mEmptyHomeView = getEmptyHomeView(inflater); in inflateView()
433 private View getEmptyHomeView(LayoutInflater inflater) { in getEmptyHomeView() argument
434 final View emptyHomeView = inflater.inflate(R.layout.empty_home_view, null); in getEmptyHomeView()
452 private View getEmptyAccountView(LayoutInflater inflater) { in getEmptyAccountView() argument
453 final View emptyAccountView = inflater.inflate(R.layout.empty_account_view, null); in getEmptyAccountView()
489 protected void onCreateView(LayoutInflater inflater, ViewGroup container) { in onCreateView() argument
490 super.onCreateView(inflater, container); in onCreateView()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAlertManager.java32 private final LayoutInflater inflater; field in CallLogAlertManager
36 public CallLogAlertManager(CallLogAdapter adapter, LayoutInflater inflater, ViewGroup parent) { in CallLogAlertManager() argument
38 this.inflater = inflater; in CallLogAlertManager()
40 view = inflater.inflate(R.layout.call_log_alert_item, parent, false); in CallLogAlertManager()
46 return inflater.inflate(layoutId, container, false); in inflate()
DCallLogModalAlertManager.java38 private final LayoutInflater inflater; field in CallLogModalAlertManager
40 public CallLogModalAlertManager(LayoutInflater inflater, ViewGroup parent, Listener listener) { in CallLogModalAlertManager() argument
41 this.inflater = inflater; in CallLogModalAlertManager()
49 return inflater.inflate(layoutId, parent, false); in inflate()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java155 LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE); in layoutHvacUi() local
178 mContainer = inflater.inflate(R.layout.hvac_panel, null); in layoutHvacUi()
211 createTemperatureBars(inflater); in layoutHvacUi()
282 private void createTemperatureBars(LayoutInflater inflater) { in createTemperatureBars() argument
283 mDriverTemperatureBarCollapsed = createTemperatureBarOverlay(inflater, in createTemperatureBars()
288 mPassengerTemperatureBarCollapsed = createTemperatureBarOverlay(inflater, in createTemperatureBars()
293 mDriverTemperatureBar = createTemperatureBarOverlay(inflater, in createTemperatureBars()
298 mPassengerTemperatureBar = createTemperatureBarOverlay(inflater, in createTemperatureBars()
304 private TemperatureBarOverlay createTemperatureBarOverlay(LayoutInflater inflater, in createTemperatureBarOverlay() argument
308 TemperatureBarOverlay button = (TemperatureBarOverlay) inflater in createTemperatureBarOverlay()
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java63 public static View getViewsForIntent(Activity activity, LayoutInflater inflater, in getViewsForIntent() argument
71 TextView text = (TextView) inflater.inflate(R.layout.tag_text, parent, false); in getViewsForIntent()
75 return buildActivityView(activity, activities.get(0), pm, inflater, parent, listener, in getViewsForIntent()
91 inflater.inflate(R.layout.tag_divider, container); in getViewsForIntent()
95 container.addView(buildActivityView(activity, resolveInfo, pm, inflater, container, in getViewsForIntent()
106 LayoutInflater inflater, ViewGroup parent, OnClickListener listener, Intent intent, in buildActivityView() argument
113 View item = inflater.inflate(R.layout.tag_uri, parent, false); in buildActivityView()
DSmartPoster.java160 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { in getView() argument
168 container.addView(mTitleRecord.getView(activity, inflater, container, offset)); in getView()
169 inflater.inflate(R.layout.tag_divider, container); in getView()
170 container.addView(mUriRecord.getView(activity, inflater, container, offset)); in getView()
174 return mUriRecord.getView(activity, inflater, parent, offset); in getView()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragment.java62 public View onCreateView(final LayoutInflater inflater, final ViewGroup container, in onCreateView() argument
64 final View view = inflater.inflate(R.layout.attachment_chooser_fragment, container, false); in onCreateView()
80 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() argument
81 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
82 inflater.inflate(R.menu.attachment_chooser_menu, menu); in onCreateOptionsMenu()
174 final LayoutInflater inflater = (LayoutInflater) getContext() in getView() local
176 itemView = (AttachmentGridItemView) inflater.inflate( in getView()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultsAdapter.java48 final LayoutInflater inflater = LayoutInflater.from(context); in onCreateViewHolder() local
52 view = inflater.inflate(R.layout.search_intent_item, parent, false); in onCreateViewHolder()
57 view = inflater.inflate(R.layout.search_intent_item, parent, false); in onCreateViewHolder()
61 view = inflater.inflate(R.layout.search_intent_item, parent, false); in onCreateViewHolder()
64 view = inflater.inflate(R.layout.search_saved_query_item, parent, false); in onCreateViewHolder()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DSettingsFragment.java65 public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
67 View view = super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
68 inflater.inflate(R.layout.settings_fragment_include, getContentFrameLayout()); in onCreateView()
109 public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { in onCreateOptionsMenu() argument
110 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DPrimaryCheckBoxPreferenceTest.java126 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleCheckBox() local
128 inflater.inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldToggleCheckBox()
132 inflater.inflate(R.layout.preference_widget_primary_checkbox, widgetView, true); in clickWidgetView_shouldToggleCheckBox()
145 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled() local
147 inflater.inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
151 inflater.inflate(R.layout.preference_widget_primary_checkbox, widgetView, true); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionsFrameFragment.java61 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
63 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView()
72 inflater, mPrefsView, savedInstanceState); in onCreateView()
140 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, in onCreateRecyclerView() argument
142 VerticalGridView verticalGridView = (VerticalGridView) inflater.inflate( in onCreateRecyclerView()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewPool.java63 LayoutInflater inflater = mInflater.cloneInContext(mInflater.getContext()); in initPool() local
69 T view = inflateNewView(inflater); in initPool()
105 private T inflateNewView(LayoutInflater inflater) { in inflateNewView() argument
106 return (T) inflater.inflate(mLayoutId, mParent, false); in inflateNewView()
/packages/apps/TV/src/com/android/tv/util/
DViewCache.java58 LayoutInflater inflater = in putView() local
66 View view = inflater.inflate(resId, fakeParent, false); in putView()
86 public View getOrCreateView(LayoutInflater inflater, int resId, ViewGroup container) { in getOrCreateView() argument
89 view = inflater.inflate(resId, container, false); in getOrCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiConnectivityGuidedStepFragment.java62 LayoutInflater inflater = LayoutInflater.from(parent.getContext());
63 View v = inflater.inflate(onProvideItemLayoutId(viewType), parent, false);
84 public View onCreateView(LayoutInflater inflater, ViewGroup container,
86 View view = super.onCreateView(inflater, container, savedInstanceState);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DGuidedActionsAlignUtil.java82 LayoutInflater inflater = LayoutInflater.from(parent.getContext()); in createGuidedActionsStylist()
83 View v = inflater.inflate(onProvideItemLayoutId(viewType), parent, false); in createGuidedActionsStylist()
97 LayoutInflater inflater = LayoutInflater.from(parent.getContext());
98 View v = inflater.inflate(onProvideItemLayoutId(viewType), parent, false);
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailFragment.java71 public View onCreateView(final LayoutInflater inflater, final ViewGroup container, in onCreateView() argument
74 final View view = inflater.inflate(R.layout.vcard_detail_fragment, container, false); in onCreateView()
124 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() argument
125 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
126 inflater.inflate(R.menu.vcard_detail_fragment_menu, menu); in onCreateOptionsMenu()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsFrameFragment.java66 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() argument
67 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
75 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
77 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView()
87 inflater, mPrefsView, savedInstanceState); in onCreateView()

12345678910>>...26