Home
last modified time | relevance | path

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

12345678910>>...24

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
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 …]
/frameworks/base/startop/apps/test/src/
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()
/frameworks/base/core/tests/coretests/src/android/view/
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()
DInflateTest.java57 mView = mInflater.inflate(resourceId, null); in inflateTest()
63 mInflater.inflate(resourceId, null); in inflateCachedTest()
65 mInflater.inflate(resourceId, null); in inflateCachedTest()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
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()
/frameworks/base/core/java/android/preference/
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java131 mHorizontal = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout, in inflateChildren()
134 mVertical = (FrameLayout) mLayoutInflater.inflate(R.layout.navigation_layout_vertical, in inflateChildren()
373 v = inflater.inflate(R.layout.home, parent, false); in createView()
375 v = inflater.inflate(R.layout.back, parent, false); in createView()
377 v = inflater.inflate(R.layout.recent_apps, parent, false); in createView()
379 v = inflater.inflate(R.layout.menu_ime, parent, false); in createView()
381 v = inflater.inflate(R.layout.nav_key_space, parent, false); in createView()
383 v = inflater.inflate(R.layout.clipboard, parent, false); in createView()
385 v = inflater.inflate(R.layout.contextual, parent, false); in createView()
387 v = inflater.inflate(R.layout.home_handle, parent, false); in createView()
[all …]
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityViewFlipperControllerTest.java105 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()
121 verify(mAsyncLayoutInflater).inflate(anyInt(), eq(mView), any( in asynchronouslyInflateView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java65 public T inflate(int resId) { in inflate() method in SimpleInflater
68 return inflate(parser); in inflate()
85 public T inflate(XmlPullParser parser) { in inflate() method in SimpleInflater
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDemo0.java49 inflater.inflate(R.layout.search_screen, mSceneRoot); in sendMessage()
55 inflater.inflate(R.layout.results_screen, mSceneRoot); in sendMessage()
DDemo1.java54 inflater.inflate(R.layout.results_screen, mSceneRoot); in onCreate()
63 inflater.inflate(R.layout.search_screen, mSceneRoot); in onCreate()
/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/
DSettingsSpinnerAdapter.java54 return mDefaultInflater.inflate(getDefaultResource(), parent, false /* attachToRoot */); in getDefaultView()
62 return mDefaultInflater.inflate(getDropdownResource(), parent, false /* attachToRoot */); in getDefaultDropDownView()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java159 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testSendRemoteInput_intentContainsResultsAndSource()
199 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in getTargetInputMethodUser()
246 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testNoCrashWithoutVisibilityListener()
260 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testPredictiveBack_registerAndUnregister()
289 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiPredictiveBack_openAndDispatchCallback()
324 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndSend()
354 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testUiEventLogging_openAndAttach()
389 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testFocusAnimation()
426 RemoteInputView view = RemoteInputView.inflate(mContext, null, row.getEntry(), mController); in testDefocusAnimation()
/frameworks/base/core/java/android/widget/
DResourceCursorTreeAdapter.java100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false); in newChildView()
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
DResourceCursorAdapter.java135 return mInflater.inflate(mLayout, parent, false); in newView()
140 return mDropDownInflater.inflate(mDropDownLayout, parent, false); in newDropDownView()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DFixedScaleDrawable.java37 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) { } in inflate() method in FixedScaleDrawable
40 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) { } in inflate() method in FixedScaleDrawable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
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()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java59 inflater.inflate(R.layout.test_simple_view, root, false); in testSimpleViewInflate()
69 inflater.inflate(R.layout.twelve_key_entry, root, false); in testTwelveKeyInflate()
/frameworks/base/core/java/android/view/
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
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DReflectionInflaterTest.java43 final Animation result = inflater.inflate(R.xml.reflection_inflater_test); in testInflateXml()
57 final Animation result = inflater.inflate(R.xml.reflection_inflater_test_with_default_package); in testDefaultPackage()
/frameworks/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java60 PreferenceScreen ps = (PreferenceScreen) inflater.inflate(parser, null, true); in inflatePreference()
76 inflater.inflate(mLayoutResId, root, true); in createContainerView()

12345678910>>...24