Home
last modified time | relevance | path

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

12

/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
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()
DSystemUIToast.java58 private final LayoutInflater mLayoutInflater; field in SystemUIToast
80 mLayoutInflater = layoutInflater; in SystemUIToast()
172 final View toastView = mLayoutInflater.inflate( in inflateToastView()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/reardisplay/
DRearDisplayDialogControllerTest.java73 LayoutInflater mLayoutInflater = LayoutInflater.from(mContext); field in RearDisplayDialogControllerTest
94 mLayoutInflater, in testClosedDialogIsShown()
117 mLayoutInflater, in testClosedDialogIsRefreshedOnConfigurationChange()
146 mLayoutInflater, in testOpenDialogIsShown()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
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()
DEnableZenModeDialog.java102 protected LayoutInflater mLayoutInflater; field in EnableZenModeDialog
183 if (mLayoutInflater == null) { in getContentView()
184 mLayoutInflater = new PhoneWindow(mContext).getLayoutInflater(); in getContentView()
186 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_turn_on_dialog_container, in getContentView()
195 final View radioButton = mLayoutInflater.inflate(R.layout.zen_mode_radio_button, in getContentView()
200 final View radioButtonContent = mLayoutInflater.inflate(R.layout.zen_mode_condition, in getContentView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt57 @Mock private lateinit var mLayoutInflater: LayoutInflater variable in com.android.systemui.qs.tiles.UserDetailViewAdapterTest
68 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, mLayoutInflater) in setUp()
69 `when`(mLayoutInflater.inflate(anyInt(), any(ViewGroup::class.java), anyBoolean())) in setUp()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
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()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java46 private LayoutInflater mLayoutInflater; field in ZenDurationDialogTest
54 mLayoutInflater = LayoutInflater.from(mContext); in setup()
57 mController.mLayoutInflater = mLayoutInflater; in setup()
DEnableZenModeDialogTest.java64 private LayoutInflater mLayoutInflater; field in EnableZenModeDialogTest
75 mLayoutInflater = LayoutInflater.from(mShadowContext); in setup()
79 mController.mLayoutInflater = mLayoutInflater; in setup()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DCustomDialogHelper.java61 private LayoutInflater mLayoutInflater; field in CustomDialogHelper
72 mLayoutInflater = LayoutInflater.from(context); in CustomDialogHelper()
73 mDialogContent = mLayoutInflater.inflate(R.layout.dialog_with_icon, null); in CustomDialogHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/reardisplay/
DRearDisplayDialogController.java81 private final LayoutInflater mLayoutInflater; field in RearDisplayDialogController
97 mLayoutInflater = layoutInflater; in RearDisplayDialogController()
143 LayoutInflater inflater = mLayoutInflater.cloneInContext(context); in createDialogView()
/frameworks/base/core/java/android/accounts/
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()
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSImplTest.java103 @Mock private LayoutInflater mLayoutInflater; field in QSImplTest
620 when(mLayoutInflater.cloneInContext(any(Context.class))).thenReturn(mLayoutInflater); in setUpInflater()
621 when(mLayoutInflater.inflate(anyInt(), nullable(ViewGroup.class), anyBoolean())) in setUpInflater()
623 when(mLayoutInflater.inflate(anyInt(), nullable(ViewGroup.class))) in setUpInflater()
625 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, mLayoutInflater); in setUpInflater()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipperController.java54 private final LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperController
69 mLayoutInflater = layoutInflater; in KeyguardSecurityViewFlipperController()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java437 private final LayoutInflater mLayoutInflater; field in KeyguardUserSwitcherController.KeyguardUserAdapter
449 mLayoutInflater = layoutInflater; in KeyguardUserAdapter()
488 convertView = mLayoutInflater.inflate( in convertOrInflate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
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()
/frameworks/base/core/java/android/app/
DFragment.java428 LayoutInflater mLayoutInflater; field in Fragment
1312 if (mLayoutInflater == null) {
1315 return mLayoutInflater;
1328 mLayoutInflater = layoutInflater;
1329 return mLayoutInflater;
2781 mLayoutInflater = null;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java108 @Mock private LayoutInflater mLayoutInflater; field in ToastUITest
125 when(mLayoutInflater.inflate(anyInt(), eq(null))).thenReturn(mToastView); in setUp()
137 mLayoutInflater, in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java151 private LayoutInflater mLayoutInflater; field in UdfpsControllerTest
283 when(mLayoutInflater.inflate(R.layout.udfps_view, null, false)) in setUp()
285 when(mLayoutInflater.inflate(R.layout.udfps_keyguard_view_legacy, null)) in setUp()
287 when(mLayoutInflater.inflate(R.layout.udfps_bp_view, null)) in setUp()
289 when(mLayoutInflater.inflate(R.layout.udfps_fpm_empty_view, null)) in setUp()
334 mLayoutInflater, in initUdfpsController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerBaseTest.java248 @Mock protected LayoutInflater mLayoutInflater; field in NotificationPanelViewControllerBaseTest
652 when(mLayoutInflater.inflate(eq(R.layout.keyguard_status_view), any(), anyBoolean())) in setup()
654 when(mLayoutInflater.inflate(eq(R.layout.keyguard_user_switcher), any(), anyBoolean())) in setup()
656 when(mLayoutInflater.inflate(eq(R.layout.keyguard_bottom_area), any(), anyBoolean())) in setup()
688 mLayoutInflater, in setup()

12