Home
last modified time | relevance | path

Searched refs:inflate (Results 1 – 25 of 561) sorted by relevance

12345678910>>...23

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DCachingIconViewTest.java52 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in invalidIcon_skipsLoadSuccessfully()
61 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageIcon_skipsResizeSuccessfully()
70 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageIconAsync_skipsResizeSuccessfully()
79 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageResource_skipsResizeSuccessfully()
88 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageResourceAsync_skipsResizeSuccessfully()
97 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageUri_skipsResizeSuccessfully()
108 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageUriAsync_skipsResizeSuccessfully()
119 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableDimensionsSet_setImageIcon_resizesImageIcon()
128 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableWithNoDimensionsSet_setImageIcon_doesNotResizeImageIcon()
137 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableDimensionsSet_setImageIconAsync_resizesImageIcon()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipperControllerTest.java107 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()
127 verify(mAsyncLayoutInflater).inflate(anyInt(), eq(mView), any( in getSecurityView_NotInflated()
135 verify(mAsyncLayoutInflater).inflate(anyInt(), eq(mView), any( in asynchronouslyInflateView()
150 verify(mAsyncLayoutInflater).inflate(anyInt(), eq(mView), argumentCaptor.capture()); in asynchronouslyInflateView_setNeedsInput()
152 LayoutInflater.from(getContext()).inflate(R.layout.keyguard_password_view, null), in asynchronouslyInflateView_setNeedsInput()
/aosp14/frameworks/base/startop/apps/test/src/
H A DApplicationBenchmarks.java28 inflater.inflate(R.layout.activity_main, null); in initializeBenchmarks()
32 inflater.inflate(R.layout.textview_list, null); in initializeBenchmarks()
36 inflater.inflate(R.layout.framelayout_list, null); in initializeBenchmarks()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationBarInflaterView.java149 mHorizontal = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout, in inflateChildren()
390 v = inflater.inflate(R.layout.home, parent, false); in createView()
392 v = inflater.inflate(R.layout.back, parent, false); in createView()
394 v = inflater.inflate(R.layout.recent_apps, parent, false); in createView()
396 v = inflater.inflate(R.layout.menu_ime, parent, false); in createView()
398 v = inflater.inflate(R.layout.nav_key_space, parent, false); in createView()
400 v = inflater.inflate(R.layout.clipboard, parent, false); in createView()
402 v = inflater.inflate(R.layout.contextual, parent, false); in createView()
404 v = inflater.inflate(R.layout.home_handle, parent, false); in createView()
406 v = inflater.inflate(R.layout.ime_switcher, parent, false); in createView()
[all …]
H A DNavigationBarModule.java47 return (NavigationBarFrame) layoutInflater.inflate(R.layout.navigation_bar_window, null); in provideNavigationBarFrame()
55 View barView = layoutInflater.inflate(R.layout.navigation_bar, frame); in provideNavigationBarview()
/aosp14/frameworks/base/core/java/android/preference/
H A DGenericInflater.java227 public T inflate(@XmlRes int resource, P root) { in inflate() method in GenericInflater
228 return inflate(resource, root, root != null); in inflate()
247 public T inflate(XmlPullParser parser, P root) { in inflate() method in GenericInflater
248 return inflate(parser, root, root != null); in inflate()
267 public T inflate(@XmlRes int resource, P root, boolean attachToRoot) { in inflate() method in GenericInflater
271 return inflate(parser, root, attachToRoot); in inflate()
298 public T inflate(XmlPullParser parser, P root, in inflate() method in GenericInflater
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DFooterPreferenceTest.java61 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null)); in setLearnMoreText_shouldSetAsTextInLearnMore()
97 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null))); in onBindViewHolder_whenTitleIsNull_shouldNotRaiseNpe()
113 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null))); in onBindViewHolder_whenLearnMoreIsNull_shouldNotRaiseNpe()
129 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null))); in onBindViewHolder_whenIconFrameIsNull_shouldNotRaiseNpe()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DViewStubTest.java50 final View swapped = stub.inflate(); in testInflated()
61 final View swapped = stub.inflate(); in testInflatedId()
74 final View swapped = stub.inflate(); in testInflatedLayoutParams()
H A DInflateTest.java57 mView = mInflater.inflate(resourceId, null); in inflateTest()
63 mInflater.inflate(resourceId, null); in inflateCachedTest()
65 mInflater.inflate(resourceId, null); in inflateCachedTest()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewFlipperActivity.java36 final View widget = inflater.inflate(R.layout.widget, null); in onCreate()
41 View view = inflater.inflate(R.layout.flipper_item, flipper, false); in onCreate()
47 view = inflater.inflate(R.layout.flipper_item, flipper, false); in onCreate()
H A DTextGammaActivity.java77 inflater.inflate(R.layout.text_large, this, true); in GammaTextView()
78 inflater.inflate(R.layout.text_medium, this, true); in GammaTextView()
79 inflater.inflate(R.layout.text_small, this, true); in GammaTextView()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DRemoteInputViewTest.java162 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testSendRemoteInput_intentContainsResultsAndSource()
202 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in getTargetInputMethodUser()
249 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testNoCrashWithoutVisibilityListener()
263 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testPredictiveBack_registerAndUnregister()
292 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiPredictiveBack_openAndDispatchCallback()
327 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndSend()
357 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndAttach()
392 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testFocusAnimation()
429 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testDefocusAnimation()
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDemo0.java49 inflater.inflate(R.layout.search_screen, mSceneRoot); in sendMessage()
55 inflater.inflate(R.layout.results_screen, mSceneRoot); in sendMessage()
H A DDemo1.java54 inflater.inflate(R.layout.results_screen, mSceneRoot); in onCreate()
63 inflater.inflate(R.layout.search_screen, mSceneRoot); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/
H A DKeyguardRootView.kt65 LayoutInflater.from(context).inflate(R.layout.ambient_indication, this)
119 .inflate(R.layout.keyguard_settings_popup_menu, this, false)
131 (LayoutInflater.from(context).inflate(R.layout.keyguard_status_view, this, false)
/aosp14/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/
H A DSettingsSpinnerAdapter.java54 return mDefaultInflater.inflate(getDefaultResource(), parent, false /* attachToRoot */); in getDefaultView()
62 return mDefaultInflater.inflate(getDropdownResource(), parent, false /* attachToRoot */); in getDefaultDropDownView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DShadeViewProviderModule.kt84 layoutInflater.inflate(R.layout.scene_window_root, null) as SceneWindowRootView
93 layoutInflater.inflate(R.layout.super_notification_shade, null)
137 layoutInflater.inflate(
169 return layoutInflater.inflate(R.layout.keyguard_bottom_area, npv, false)
249 return stub.inflate() as MotionLayout
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
H A DAdaptiveIconShapeDrawable.java47 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate() method in AdaptiveIconShapeDrawable
49 super.inflate(r, parser, attrs, theme); in inflate()
/aosp14/frameworks/base/core/java/android/widget/
H A DResourceCursorTreeAdapter.java100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false); in newChildView()
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DRowInflaterTask.java52 public void inflate(Context context, ViewGroup parent, NotificationEntry entry, in inflate() method in RowInflaterTask
61 inflater.inflate(R.layout.status_bar_notification_row, parent, this); in inflate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleSpaceTileView.java46 mTileView = inflater.inflate(R.layout.people_space_tile_view, view, false); in PeopleSpaceTileView()
53 inflater.inflate(R.layout.people_space_activity_list_divider, view, true); in PeopleSpaceTileView()
/aosp14/frameworks/base/core/java/android/view/
H A DViewStub.java250 inflate(); in setVisibility()
272 final View view = factory.inflate(mLayoutResource, parent, false); in inflateViewNoAdd()
299 public View inflate() { in inflate() method in ViewStub
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DAddPrinterActivity.java538 convertView = getLayoutInflater().inflate(R.layout.add_printer_list_header, in getView()
549 convertView = getLayoutInflater().inflate(R.layout.enabled_print_services_list_item, in getView()
586 convertView = getLayoutInflater().inflate(R.layout.add_printer_list_header, in getView()
597 convertView = getLayoutInflater().inflate( in getView()
687 convertView = getLayoutInflater().inflate(R.layout.add_printer_list_header, in getView()
697 convertView = getLayoutInflater().inflate(R.layout.all_print_services_list_item, in getView()
704 convertView = getLayoutInflater().inflate( in getView()
878 convertView = getLayoutInflater().inflate(R.layout.no_print_services_message, in getView()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSuggestedLocaleAdapter.java278 updatedView = mInflater.inflate( in getNewViewIfNeeded()
287 updatedView = mInflater.inflate( in getNewViewIfNeeded()
296 updatedView = mInflater.inflate( in getNewViewIfNeeded()
305 updatedView = mInflater.inflate( in getNewViewIfNeeded()
314 updatedView = mInflater.inflate(R.layout.language_picker_item, parent, false); in getNewViewIfNeeded()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DViewPerfTest.java60 inflater.inflate(R.layout.test_simple_view, root, false); in testSimpleViewInflate()
70 inflater.inflate(R.layout.twelve_key_entry, root, false); in testTwelveKeyInflate()

12345678910>>...23