/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvArrayAdapter.java | 26 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 D | ToastFactory.java | 43 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 D | SystemUIToast.java | 58 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 D | KeyguardSecurityViewFlipperControllerTest.java | 62 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 D | KeyguardPresentationTest.java | 63 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 D | ZenDurationDialog.java | 64 @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 D | EnableZenModeDialog.java | 100 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 D | UserDetailViewAdapterTest.kt | 57 @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 D | NotificationShadeActivity.java | 39 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 D | EnableZenModeDialogTest.java | 64 private LayoutInflater mLayoutInflater; field in EnableZenModeDialogTest 75 mLayoutInflater = LayoutInflater.from(mShadowContext); in setup() 79 mController.mLayoutInflater = mLayoutInflater; in setup()
|
H A D | ZenDurationDialogTest.java | 46 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 D | CustomDialogHelper.java | 60 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 D | ChooseAccountTypeActivity.java | 175 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 D | ChooseAccountActivity.java | 186 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 D | KeyguardSecurityViewFlipperController.java | 50 private final LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperController 65 mLayoutInflater = layoutInflater; in KeyguardSecurityViewFlipperController()
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
H A D | NavigationBarInflaterView.java | 78 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 D | NavigationBarInflaterView.java | 103 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 D | QSFragmentTest.java | 97 @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 D | KeyguardUserSwitcherController.java | 436 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 D | PageAdapter.java | 85 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 D | ToastUITest.java | 108 @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 D | Fragment.java | 428 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 D | NotificationPanelViewControllerBaseTest.java | 219 @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 D | UdfpsControllerTest.java | 148 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 D | ChooserActivity.java | 3272 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,
|