Home
last modified time | relevance | path

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

12

/aosp14/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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastFactory.java43 private final LayoutInflater mLayoutInflater; field in ToastFactory
50 mLayoutInflater = layoutInflater; in ToastFactory()
74 return new SystemUIToast(mLayoutInflater, context, text, mPlugin.createToast(text, in createToast()
77 return new SystemUIToast(mLayoutInflater, context, text, packageName, userId, in createToast()
H A DSystemUIToast.java58 private final LayoutInflater mLayoutInflater; field in SystemUIToast
80 mLayoutInflater = layoutInflater; in SystemUIToast()
172 final View toastView = mLayoutInflater.inflate( in inflateToastView()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipperControllerTest.java62 private LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperControllerTest
96 mLayoutInflater, mAsyncLayoutInflater, mKeyguardSecurityViewControllerFactory, in setup()
106 reset(mLayoutInflater); in showSecurityScreen_canInflateAllModes()
107 when(mLayoutInflater.inflate(anyInt(), eq(mView), eq(false))) in showSecurityScreen_canInflateAllModes()
112 verify(mLayoutInflater, never()).inflate( in showSecurityScreen_canInflateAllModes()
115 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()
/aosp14/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()
H A DEnableZenModeDialog.java100 protected LayoutInflater mLayoutInflater; field in EnableZenModeDialog
174 if (mLayoutInflater == null) { in getContentView()
175 mLayoutInflater = new PhoneWindow(mContext).getLayoutInflater(); in getContentView()
177 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_turn_on_dialog_container, in getContentView()
186 final View radioButton = mLayoutInflater.inflate(R.layout.zen_mode_radio_button, in getContentView()
191 final View radioButtonContent = mLayoutInflater.inflate(R.layout.zen_mode_condition, in getContentView()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DUserDetailViewAdapterTest.kt57 @Mock private lateinit var mLayoutInflater: LayoutInflater
68 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, mLayoutInflater)
69 `when`(mLayoutInflater.inflate(anyInt(), any(ViewGroup::class.java), anyBoolean()))
/aosp14/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()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
H A DEnableZenModeDialogTest.java64 private LayoutInflater mLayoutInflater; field in EnableZenModeDialogTest
75 mLayoutInflater = LayoutInflater.from(mShadowContext); in setup()
79 mController.mLayoutInflater = mLayoutInflater; in setup()
H A DZenDurationDialogTest.java46 private LayoutInflater mLayoutInflater; field in ZenDurationDialogTest
54 mLayoutInflater = LayoutInflater.from(mContext); in setup()
57 mController.mLayoutInflater = mLayoutInflater; in setup()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DCustomDialogHelper.java60 private LayoutInflater mLayoutInflater; field in CustomDialogHelper
71 mLayoutInflater = LayoutInflater.from(context); in CustomDialogHelper()
72 mDialogContent = mLayoutInflater.inflate(R.layout.dialog_with_icon, null); in CustomDialogHelper()
/aosp14/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java175 private LayoutInflater mLayoutInflater; field in ChooseAccountTypeActivity.AccountArrayAdapter
182 mLayoutInflater = (LayoutInflater) context.getSystemService( in AccountArrayAdapter()
191 convertView = mLayoutInflater.inflate(R.layout.choose_account_row, null); in getView()
H A DChooseAccountActivity.java186 private LayoutInflater mLayoutInflater; field in ChooseAccountActivity.AccountArrayAdapter
192 mLayoutInflater = (LayoutInflater) context.getSystemService( in AccountArrayAdapter()
201 convertView = mLayoutInflater.inflate(R.layout.choose_account_row, null); in getView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipperController.java50 private final LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperController
65 mLayoutInflater = layoutInflater; in KeyguardSecurityViewFlipperController()
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/
H A DNavigationBarInflaterView.java78 protected LayoutInflater mLayoutInflater; field in NavigationBarInflaterView
96 mLayoutInflater = LayoutInflater.from(mContext); in createInflaters()
113 mHorizontal = (FrameLayout) mLayoutInflater.inflate( in inflateChildren()
237 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationBarInflaterView.java103 protected LayoutInflater mLayoutInflater; field in NavigationBarInflaterView
132 mLayoutInflater = LayoutInflater.from(mContext); in createInflaters()
149 mHorizontal = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout, in inflateChildren()
152 mVertical = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout_vertical, in inflateChildren()
309 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSFragmentTest.java97 @Mock private LayoutInflater mLayoutInflater; field in QSFragmentTest
572 when(mLayoutInflater.cloneInContext(any(Context.class))).thenReturn(mLayoutInflater); in setUpInflater()
573 when(mLayoutInflater.inflate(anyInt(), nullable(ViewGroup.class), anyBoolean())) in setUpInflater()
577 when(mLayoutInflater.inflate(anyInt(), nullable(ViewGroup.class))) in setUpInflater()
580 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, mLayoutInflater); in setUpInflater()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherController.java436 private final LayoutInflater mLayoutInflater; field in KeyguardUserSwitcherController.KeyguardUserAdapter
448 mLayoutInflater = layoutInflater; in KeyguardUserAdapter()
487 convertView = mLayoutInflater.inflate( in convertOrInflate()
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPageAdapter.java85 private final LayoutInflater mLayoutInflater; field in PageAdapter
135 mLayoutInflater = (LayoutInflater) context.getSystemService( in PageAdapter()
306 page = mLayoutInflater.inflate(R.layout.preview_page_selected, parent, false); in onCreateViewHolder()
308 page = mLayoutInflater.inflate(R.layout.preview_page, parent, false); in onCreateViewHolder()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
H A DToastUITest.java108 @Mock private LayoutInflater mLayoutInflater; field in ToastUITest
125 when(mLayoutInflater.inflate(anyInt(), eq(null))).thenReturn(mToastView); in setUp()
137 mLayoutInflater, in setUp()
/aosp14/frameworks/base/core/java/android/app/
H A DFragment.java428 LayoutInflater mLayoutInflater; field in Fragment
1312 if (mLayoutInflater == null) {
1315 return mLayoutInflater;
1328 mLayoutInflater = layoutInflater;
1329 return mLayoutInflater;
2781 mLayoutInflater = null;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DNotificationPanelViewControllerBaseTest.java219 @Mock protected LayoutInflater mLayoutInflater; field in NotificationPanelViewControllerBaseTest
550 when(mLayoutInflater.inflate(eq(R.layout.keyguard_status_view), any(), anyBoolean())) in setup()
552 when(mLayoutInflater.inflate(eq(R.layout.keyguard_user_switcher), any(), anyBoolean())) in setup()
554 when(mLayoutInflater.inflate(eq(R.layout.keyguard_bottom_area), any(), anyBoolean())) in setup()
585 mLayoutInflater, in setup()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DUdfpsControllerTest.java148 private LayoutInflater mLayoutInflater; field in UdfpsControllerTest
260 when(mLayoutInflater.inflate(R.layout.udfps_view, null, false)) in setUp()
262 when(mLayoutInflater.inflate(R.layout.udfps_keyguard_view_legacy, null)) in setUp()
264 when(mLayoutInflater.inflate(R.layout.udfps_bp_view, null)) in setUp()
266 when(mLayoutInflater.inflate(R.layout.udfps_fpm_empty_view, null)) in setUp()
319 mUdfpsController = new UdfpsController(mContext, new FakeExecution(), mLayoutInflater, in initUdfpsController()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java3272 private final LayoutInflater mLayoutInflater;
3294 mLayoutInflater = LayoutInflater.from(ChooserActivity.this);
3503 View profileRow = mLayoutInflater.inflate(R.layout.chooser_profile_row, parent, false);
3511 return mLayoutInflater.inflate(R.layout.chooser_az_label_row, parent, false);
3588 ViewGroup parentGroup = (ViewGroup) mLayoutInflater.inflate(
3590 ViewGroup row1 = (ViewGroup) mLayoutInflater.inflate(R.layout.chooser_row,
3592 ViewGroup row2 = (ViewGroup) mLayoutInflater.inflate(R.layout.chooser_row,
3604 ViewGroup row = (ViewGroup) mLayoutInflater.inflate(R.layout.chooser_row, parent,

12