Home
last modified time | relevance | path

Searched refs:mLayoutInflater (Results 1 – 25 of 30) 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/tests/src/com/android/keyguard/
DKeyguardSecurityViewFlipperControllerTest.java60 private LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperControllerTest
94 mLayoutInflater, mAsyncLayoutInflater, mKeyguardSecurityViewControllerFactory, in setup()
104 reset(mLayoutInflater); in showSecurityScreen_canInflateAllModes()
105 when(mLayoutInflater.inflate(anyInt(), eq(mView), eq(false))) in showSecurityScreen_canInflateAllModes()
109 verify(mLayoutInflater, never()).inflate( in showSecurityScreen_canInflateAllModes()
112 verify(mLayoutInflater).inflate(anyInt(), eq(mView), eq(false)); in showSecurityScreen_canInflateAllModes()
DKeyguardPresentationTest.java63 LayoutInflater mLayoutInflater; field in KeyguardPresentationTest
79 mLayoutInflater = LayoutInflater.from(mContext); in setUp()
80 mLayoutInflater.setPrivateFactory(new LayoutInflater.Factory2() { in setUp()
/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/src/com/android/keyguard/clock/
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()
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()
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()
/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.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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipperController.java51 private final LayoutInflater mLayoutInflater; field in KeyguardSecurityViewFlipperController
66 mLayoutInflater = layoutInflater; in KeyguardSecurityViewFlipperController()
112 view = (KeyguardInputView) mLayoutInflater.inflate( in getSecurityView()
/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/
DEnableZenModeDialogTest.java64 private LayoutInflater mLayoutInflater; field in EnableZenModeDialogTest
75 mLayoutInflater = LayoutInflater.from(mShadowContext); in setup()
79 mController.mLayoutInflater = mLayoutInflater; in setup()
DZenDurationDialogTest.java46 private LayoutInflater mLayoutInflater; field in ZenDurationDialogTest
54 mLayoutInflater = LayoutInflater.from(mContext); in setup()
57 mController.mLayoutInflater = mLayoutInflater; in setup()
/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/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.java86 protected LayoutInflater mLayoutInflater; field in NavigationBarInflaterView
114 mLayoutInflater = LayoutInflater.from(mContext); in createInflaters()
131 mHorizontal = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout, in inflateChildren()
134 mVertical = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout_vertical, in inflateChildren()
292 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java99 @Mock private LayoutInflater mLayoutInflater; field in QSFragmentTest
593 when(mLayoutInflater.cloneInContext(any(Context.class))).thenReturn(mLayoutInflater); in setUpInflater()
594 when(mLayoutInflater.inflate(anyInt(), nullable(ViewGroup.class), anyBoolean())) in setUpInflater()
598 when(mLayoutInflater.inflate(anyInt(), nullable(ViewGroup.class))) in setUpInflater()
601 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, mLayoutInflater); in setUpInflater()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java435 private final LayoutInflater mLayoutInflater; field in KeyguardUserSwitcherController.KeyguardUserAdapter
447 mLayoutInflater = layoutInflater; in KeyguardUserAdapter()
486 convertView = mLayoutInflater.inflate( in convertOrInflate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java134 private LayoutInflater mLayoutInflater; field in UdfpsControllerTest
234 when(mLayoutInflater.inflate(R.layout.udfps_view, null, false)) in setUp()
236 when(mLayoutInflater.inflate(R.layout.udfps_enroll_view, null)) in setUp()
238 when(mLayoutInflater.inflate(R.layout.udfps_keyguard_view, null)) in setUp()
240 when(mLayoutInflater.inflate(R.layout.udfps_bp_view, null)) in setUp()
242 when(mLayoutInflater.inflate(R.layout.udfps_fpm_other_view, null)) in setUp()
292 mUdfpsController = new UdfpsController(mContext, new FakeExecution(), mLayoutInflater, in initUdfpsController()
/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/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java103 @Mock private LayoutInflater mLayoutInflater; field in ToastUITest
121 when(mLayoutInflater.inflate(anyInt(), eq(null))).thenReturn(mToastView); in setUp()
133 mLayoutInflater, in setUp()
/frameworks/base/core/java/android/app/
DFragment.java423 LayoutInflater mLayoutInflater; field in Fragment
1307 if (mLayoutInflater == null) {
1310 return mLayoutInflater;
1323 mLayoutInflater = layoutInflater;
1324 return mLayoutInflater;
2776 mLayoutInflater = null;

12