Home
last modified time | relevance | path

Searched refs:mLayoutInflater (Results 1 – 25 of 56) sorted by relevance

123

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipperControllerTest.java58 private LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperControllerTest
87 mLayoutInflater, mKeyguardSecurityViewControllerFactory, in setup()
97 reset(mLayoutInflater); in showSecurityScreen_canInflateAllModes()
98 when(mLayoutInflater.inflate(anyInt(), eq(mView), eq(false))) in showSecurityScreen_canInflateAllModes()
102 verify(mLayoutInflater, never()).inflate( in showSecurityScreen_canInflateAllModes()
105 verify(mLayoutInflater).inflate(anyInt(), eq(mView), eq(false)); in showSecurityScreen_canInflateAllModes()
H A DKeyguardPresentationTest.java63 LayoutInflater mLayoutInflater; field in KeyguardPresentationTest
79 mLayoutInflater = LayoutInflater.from(mContext); in setUp()
80 mLayoutInflater.setPrivateFactory(new LayoutInflater.Factory2() { in setUp()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
H A DEntityHeaderControllerTest.java67 private LayoutInflater mLayoutInflater; field in EntityHeaderControllerTest
78 mLayoutInflater = LayoutInflater.from(mShadowContext); in setUp()
113 mLayoutInflater.inflate(R.layout.settings_entity_header, null /* root */); in bindViews_shouldBindAllData()
139 final View view = mLayoutInflater in bindButton_hasEditClickListener_shouldShowButton()
184 mLayoutInflater.inflate(R.layout.settings_entity_header, null /* root */); in bindButton_noAppInfo_shouldNotAttachClickListener()
209 mLayoutInflater.inflate(R.layout.settings_entity_header, null /* root */); in bindButton_hasAppInfo_shouldAttachClickListener()
231 mLayoutInflater.inflate(R.layout.settings_entity_header, null /* root */); in iconContentDescription_shouldWorkWithSetIcon()
244 final View view = mLayoutInflater in iconContentDescription_shouldWorkWithoutSetIcon()
257 final View appLinks = mLayoutInflater in bindButton_hasAppNotifIntent_shouldShowButton()
277 final View header = mLayoutInflater.inflate( in instantApps_normalAppsDontGetLabel()
[all …]
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
H A DRvArrayAdapter.java26 private LayoutInflater mLayoutInflater; field in RvArrayAdapter
47 if (mLayoutInflater == null) { in onCreateViewHolder()
48 mLayoutInflater = LayoutInflater.from(viewGroup.getContext()); in onCreateViewHolder()
50 View v = mLayoutInflater.inflate(android.R.layout.simple_list_item_1, viewGroup, false); in onCreateViewHolder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastFactory.java44 private final LayoutInflater mLayoutInflater; field in ToastFactory
51 mLayoutInflater = layoutInflater; in ToastFactory()
75 return new SystemUIToast(mLayoutInflater, context, text, mPlugin.createToast(text, in createToast()
78 return new SystemUIToast(mLayoutInflater, context, text, packageName, userId, in createToast()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
H A DWifiCallingDisclaimerFragmentTest.java68 private LayoutInflater mLayoutInflater; field in WifiCallingDisclaimerFragmentTest
98 when(mLayoutInflater.inflate(anyInt(), anyObject(), anyBoolean())).thenReturn(mView); in setUp()
139 mFragment.onCreateView(mLayoutInflater, mViewGroup, null /* savedInstanceState */); in onScrolled_canNotScroll_shouldEnableAgreeButton()
156 mFragment.onCreateView(mLayoutInflater, mViewGroup, null /* savedInstanceState */); in onScrolled_canScroll_shouldNotEnableAgreeButton()
172 mFragment.onCreateView(mLayoutInflater, mViewGroup, null /* savedInstanceState */); in onClick_agreeButton_shouldFinishFragment()
H A DDisclaimerItemListAdapterTest.java55 private LayoutInflater mLayoutInflater; field in DisclaimerItemListAdapterTest
78 when(mLayoutInflater.inflate(anyInt(), anyObject(), anyBoolean())).thenReturn(mView); in setUp()
81 mLayoutInflater); in setUp()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsListHeaderViewHolderBinder.java33 private final LayoutInflater mLayoutInflater; field in WidgetsListHeaderViewHolderBinder
40 mLayoutInflater = layoutInflater; in WidgetsListHeaderViewHolderBinder()
47 WidgetsListHeader header = (WidgetsListHeader) mLayoutInflater.inflate( in newViewHolder()
H A DWidgetsListSearchHeaderViewHolderBinder.java34 private final LayoutInflater mLayoutInflater; field in WidgetsListSearchHeaderViewHolderBinder
41 mLayoutInflater = layoutInflater; in WidgetsListSearchHeaderViewHolderBinder()
48 WidgetsListHeader header = (WidgetsListHeader) mLayoutInflater.inflate( in newViewHolder()
H A DWidgetsListTableViewHolderBinder.java51 private final LayoutInflater mLayoutInflater; field in WidgetsListTableViewHolderBinder
61 mLayoutInflater = layoutInflater; in WidgetsListTableViewHolderBinder()
74 new WidgetsRowViewHolder(mLayoutInflater.inflate( in newViewHolder()
154 WidgetCell widget = (WidgetCell) mLayoutInflater.inflate( in recycleTableBeforeBinding()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
H A DAnalogClockController.java48 private final LayoutInflater mLayoutInflater; field in AnalogClockController
92 mLayoutInflater = inflater; in AnalogClockController()
98 mBigClockView = (ClockLayout) mLayoutInflater.inflate(R.layout.analog_clock, null); in createViews()
101 mView = mLayoutInflater.inflate(R.layout.digital_clock, null); in createViews()
H A DBubbleClockController.java48 private final LayoutInflater mLayoutInflater; field in BubbleClockController
92 mLayoutInflater = inflater; in BubbleClockController()
98 mView = (ClockLayout) mLayoutInflater.inflate(R.layout.bubble_clock, null); in createViews()
101 mLockClockContainer = mLayoutInflater.inflate(R.layout.digital_clock, null); in createViews()
H A DDefaultClockController.java48 private final LayoutInflater mLayoutInflater; field in DefaultClockController
85 mLayoutInflater = inflater; in DefaultClockController()
90 mView = mLayoutInflater.inflate(R.layout.default_clock_preview, null); in createViews()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsGridAdapter.java260 private final LayoutInflater mLayoutInflater; field in AllAppsGridAdapter
288 mLayoutInflater = inflater; in AllAppsGridAdapter()
356 BubbleTextView icon = (BubbleTextView) mLayoutInflater.inflate( in onCreateViewHolder()
369 return new ViewHolder(mLayoutInflater.inflate(R.layout.all_apps_empty_search, in onCreateViewHolder()
372 View searchMarketView = mLayoutInflater.inflate(R.layout.all_apps_search_market, in onCreateViewHolder()
378 return new ViewHolder(mLayoutInflater.inflate( in onCreateViewHolder()
383 return adapterProvider.onCreateViewHolder(mLayoutInflater, parent, viewType); in onCreateViewHolder()
/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DSlidingTabLayout.java40 private final LayoutInflater mLayoutInflater; field in SlidingTabLayout
48 mLayoutInflater = LayoutInflater.from(context); in SlidingTabLayout()
51 mIndicatorView = mLayoutInflater.inflate(R.layout.sliding_tab_indicator_view, this, false); in SlidingTabLayout()
131 final TextView tabTitleView = (TextView) mLayoutInflater.inflate( in populateTabStrip()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenDurationDialog.java64 @VisibleForTesting protected LayoutInflater mLayoutInflater; field in ZenDurationDialog
134 if (mLayoutInflater == null) { in getContentView()
135 mLayoutInflater = new PhoneWindow(mContext).getLayoutInflater(); in getContentView()
137 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_duration_dialog, in getContentView()
145 final View radioButton = mLayoutInflater.inflate(R.layout.zen_mode_radio_button, in getContentView()
150 final View radioButtonContent = mLayoutInflater.inflate(R.layout.zen_mode_condition, in getContentView()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipperController.java46 private final LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperController
57 mLayoutInflater = layoutInflater; in KeyguardSecurityViewFlipperController()
104 view = (KeyguardInputView) mLayoutInflater.inflate( in getSecurityView()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
H A DEnableZenModeDialogTest.java62 private LayoutInflater mLayoutInflater; field in EnableZenModeDialogTest
73 mLayoutInflater = LayoutInflater.from(mShadowContext); in setup()
77 mController.mLayoutInflater = mLayoutInflater; in setup()
H A DZenDurationDialogTest.java44 private LayoutInflater mLayoutInflater; field in ZenDurationDialogTest
52 mLayoutInflater = LayoutInflater.from(mContext); in setup()
55 mController.mLayoutInflater = mLayoutInflater; in setup()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A DKindSectionView.java161 private LayoutInflater mLayoutInflater; field in KindSectionView
190 mLayoutInflater = (LayoutInflater) getContext().getSystemService( in onFinishInflate()
335 final View nameView = mLayoutInflater.inflate( in addNameEditorViews()
357 final StructuredNameEditorView nameView = (StructuredNameEditorView) mLayoutInflater in addNameEditorViews()
378 final TextFieldsEditorView phoneticNameView = (TextFieldsEditorView) mLayoutInflater in addNameEditorViews()
397 final GroupMembershipView view = (GroupMembershipView) mLayoutInflater.inflate( in addGroupEditorView()
412 final View view = mLayoutInflater.inflate( in addNonNameEditorView()
/aosp12/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
H A DCallListAdapter.java50 private final LayoutInflater mLayoutInflater; field in CallListAdapter
64 mLayoutInflater = in CallListAdapter()
92 convertView = mLayoutInflater.inflate(R.layout.call_list_item, parent, false); in getView()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DUserDetailViewAdapterTest.kt56 @Mock private lateinit var mLayoutInflater: LayoutInflater
67 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, mLayoutInflater)
68 `when`(mLayoutInflater.inflate(anyInt(), any(ViewGroup::class.java), anyBoolean()))
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DCallListAdapter.java50 private final LayoutInflater mLayoutInflater; field in CallListAdapter
64 mLayoutInflater = in CallListAdapter()
92 convertView = mLayoutInflater.inflate(R.layout.call_list_item, parent, false); in getView()
/aosp12/packages/apps/TV/src/com/android/tv/menu/
H A DItemListRowView.java129 private final LayoutInflater mLayoutInflater; field in ItemListRowView.ItemListAdapter
136 mLayoutInflater = LayoutInflater.from(context); in ItemListAdapter()
217 .getOrCreateView(mLayoutInflater, getLayoutResId(viewType), parent); in onCreateViewHolder()
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java39 private LayoutInflater mLayoutInflater; field in NotificationShadeActivity.FakeNotificationStackView
76 View view = mLayoutInflater.inflate(R.layout.notification, this, false); in generateNextView()
96 mLayoutInflater = LayoutInflater.from(getContext()); in FakeNotificationStackView()

123