Home
last modified time | relevance | path

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

12345678910>>...26

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAppPreferenceTest.java62 final LayoutInflater inflater = LayoutInflater.from(mContext); in setChecked_shouldUpdateButtonCheckedState() local
64 inflater.inflate(R.layout.preference_app, null)); in setChecked_shouldUpdateButtonCheckedState()
66 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in setChecked_shouldUpdateButtonCheckedState()
80 final LayoutInflater inflater = LayoutInflater.from(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState() local
82 inflater.inflate(R.layout.preference_app, null)); in setSwitchEnabled_shouldUpdateButtonEnabledState()
84 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in setSwitchEnabled_shouldUpdateButtonEnabledState()
98 final LayoutInflater inflater = LayoutInflater.from(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() local
100 inflater.inflate(R.layout.preference_app, null)); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
102 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
113 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleButton() local
[all …]
DImportancePreferenceTest.java69 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_nonConfigurable() local
71 inflater.inflate(R.layout.notif_importance_preference, null)); in onBindViewHolder_nonConfigurable()
91 inflater.inflate(R.layout.notif_importance_preference, null)); in onBindViewHolder_nonConfigurable()
101 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_selectButtonAndText() local
103 inflater.inflate(R.layout.notif_importance_preference, null)); in onBindViewHolder_selectButtonAndText()
124 final LayoutInflater inflater = LayoutInflater.from(mContext); in onClick_changesUICallsListener() local
126 inflater.inflate(R.layout.notif_importance_preference, null)); in onClick_changesUICallsListener()
149 final LayoutInflater inflater = LayoutInflater.from(mContext); in setImportanceSummary() local
151 inflater.inflate(R.layout.notif_importance_preference, null)); in setImportanceSummary()
171 final LayoutInflater inflater = LayoutInflater.from(mContext); in setImportanceSummary_default() local
[all …]
/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/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()
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 …]
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()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java154 LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE); in layoutHvacUi() local
177 mContainer = inflater.inflate(R.layout.hvac_panel, null); in layoutHvacUi()
210 createTemperatureBars(inflater); in layoutHvacUi()
279 private void createTemperatureBars(LayoutInflater inflater) { in createTemperatureBars() argument
280 mDriverTemperatureBarCollapsed = createTemperatureBarOverlay(inflater, in createTemperatureBars()
285 mPassengerTemperatureBarCollapsed = createTemperatureBarOverlay(inflater, in createTemperatureBars()
290 mDriverTemperatureBar = createTemperatureBarOverlay(inflater, in createTemperatureBars()
295 mPassengerTemperatureBar = createTemperatureBarOverlay(inflater, in createTemperatureBars()
301 private TemperatureBarOverlay createTemperatureBarOverlay(LayoutInflater inflater, in createTemperatureBarOverlay() argument
305 TemperatureBarOverlay button = (TemperatureBarOverlay) inflater in createTemperatureBarOverlay()
/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/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/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/
DSettingsFragment.java59 public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
61 mContentLayout = (FrameLayout) inflater.inflate(R.layout.settings, container, false); in onCreateView()
62 mPreferenceLayout = (LinearLayout) super.onCreateView(inflater, container, in onCreateView()
96 public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { in onCreateOptionsMenu() argument
97 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DMasterCheckBoxPreferenceTest.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_master_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_master_checkbox, widgetView, true); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
DMasterSwitchPreferenceTest.java108 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleButton() local
110 inflater.inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldToggleButton()
114 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in clickWidgetView_shouldToggleButton()
128 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled() local
130 inflater.inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotToggleButtonIfDisabled()
134 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in clickWidgetView_shouldNotToggleButtonIfDisabled()
/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/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java60 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
62 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView()
70 inflater, mPrefsView, savedInstanceState); in onCreateView()
135 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, in onCreateRecyclerView() argument
137 VerticalGridView verticalGridView = (VerticalGridView) inflater.inflate( in onCreateRecyclerView()
/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/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionsFrameFragment.java65 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() argument
66 super.onCreateOptionsMenu(menu, inflater); in onCreateOptionsMenu()
72 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
74 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView()
84 inflater, mPrefsView, savedInstanceState); in onCreateView()
/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/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java106 public void inflateContextMenuForContainer(Menu menu, MenuInflater inflater) { in inflateContextMenuForContainer() argument
107 inflater.inflate(R.menu.container_context_menu, menu); in inflateContextMenuForContainer()
113 Menu menu, MenuInflater inflater, SelectionDetails selectionDetails) { in inflateContextMenuForDocs() argument
119 inflater.inflate(R.menu.file_context_menu, menu); in inflateContextMenuForDocs()
125 inflater.inflate(R.menu.dir_context_menu, menu); in inflateContextMenuForDocs()
130 inflater.inflate(R.menu.mixed_context_menu, menu); in inflateContextMenuForDocs()

12345678910>>...26