Home
last modified time | relevance | path

Searched refs:LayoutInflater (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DCachingIconViewTest.java29 import android.view.LayoutInflater;
52 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()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java23 import android.view.LayoutInflater;
43 private LayoutInflater mBuiltInflater;
122 public LayoutInflater build() { in build()
125 LayoutInflater.from(mFromContext).cloneInContext(mTargetContext); in build()
137 private void setFactoryIfNeeded(LayoutInflater inflater) { in setFactoryIfNeeded()
142 new LayoutInflater.Factory() { in setFactoryIfNeeded()
160 private void setFilterIfNeeded(LayoutInflater inflater) { in setFilterIfNeeded()
165 new LayoutInflater.Filter() { in setFilterIfNeeded()
/frameworks/base/core/java/android/widget/
DResourceCursorAdapter.java23 import android.view.LayoutInflater;
37 private LayoutInflater mInflater;
38 private LayoutInflater mDropDownInflater;
57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
123 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
DAppSecurityPermissions.java21 import android.view.LayoutInflater;
42 LayoutInflater inflater = (LayoutInflater)context.getSystemService( in getPermissionItemView()
50 private static View getPermissionItemViewOld(Context context, LayoutInflater inflater, in getPermissionItemViewOld()
DResourceCursorTreeAdapter.java21 import android.view.LayoutInflater;
34 private LayoutInflater mInflater;
60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorTreeAdapter()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDemo0.java21 import android.view.LayoutInflater;
47 LayoutInflater inflater = (LayoutInflater) in sendMessage()
53 LayoutInflater inflater = (LayoutInflater) in sendMessage()
DDemo1.java21 import android.view.LayoutInflater;
52 LayoutInflater inflater = (LayoutInflater) in onCreate()
61 LayoutInflater inflater = (LayoutInflater) in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarModule.java20 import android.view.LayoutInflater;
39 static LayoutInflater provideLayoutInflater(@DisplayId Context context) { in provideLayoutInflater()
40 return LayoutInflater.from(context); in provideLayoutInflater()
46 static NavigationBarFrame provideNavigationBarFrame(@DisplayId LayoutInflater layoutInflater) { in provideNavigationBarFrame()
54 @DisplayId LayoutInflater layoutInflater, NavigationBarFrame frame) { in provideNavigationBarview()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DGlifPreferenceLayout.java23 import android.view.LayoutInflater;
94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
DSetupWizardPreferenceLayout.java23 import android.view.LayoutInflater;
93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
109 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneLayoutInflater.java21 import android.view.LayoutInflater;
27 public class PhoneLayoutInflater extends LayoutInflater {
47 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { in PhoneLayoutInflater()
71 public LayoutInflater cloneInContext(Context newContext) { in cloneInContext()
/frameworks/base/startop/apps/test/src/
DApplicationBenchmarks.java20 import android.view.LayoutInflater;
25 LayoutInflater inflater = LayoutInflater.from(parent); in initializeBenchmarks()
DLayoutInflationActivity.java22 import android.view.LayoutInflater;
33 LayoutInflater inflater = LayoutInflater.from(this); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordingAdapter.java21 import android.view.LayoutInflater;
53 LayoutInflater inflater = LayoutInflater.from(getContext()); in getOption()
69 LayoutInflater inflater = LayoutInflater.from(getContext()); in getSelected()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java27 import android.view.LayoutInflater;
137 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate()
166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate()
172 LayoutInflater.from(new FallbackThemeWrapper(inflater.getContext(), fallbackTheme)); in inflateTemplate()
187 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
/frameworks/base/core/tests/overlaytests/device_non_system/src/com/android/overlaytest/
DOverlayTest.java22 import android.view.LayoutInflater;
41 final LayoutInflater inflater = LayoutInflater.from(InstrumentationRegistry.getContext()); in testStringOverlay()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java57 LayoutInflater inflater = LayoutInflater.from(mContext); in testSimpleViewInflate()
67 LayoutInflater inflater = LayoutInflater.from(mContext); in testTwelveKeyInflate()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DFooterPreferenceTest.java25 import android.view.LayoutInflater;
61 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null)); in setLearnMoreText_shouldSetAsTextInLearnMore()
96 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null))); in onBindViewHolder_whenTitleIsNull_shouldNotRaiseNpe()
112 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null))); in onBindViewHolder_whenLearnMoreIsNull_shouldNotRaiseNpe()
128 LayoutInflater.from(mContext).inflate(R.layout.preference_footer, null))); in onBindViewHolder_whenIconFrameIsNull_shouldNotRaiseNpe()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvArrayAdapter.java19 import android.view.LayoutInflater;
26 private LayoutInflater mLayoutInflater;
48 mLayoutInflater = LayoutInflater.from(viewGroup.getContext()); in onCreateViewHolder()
/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/
DSettingsSpinnerAdapter.java21 import android.view.LayoutInflater;
34 private final LayoutInflater mDefaultInflater;
47 mDefaultInflater = LayoutInflater.from(context); in SettingsSpinnerAdapter()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/app/
DBaseDemoActivity.kt23 import android.view.LayoutInflater
31 val inflater = LayoutInflater.from(this) in onCreate()
32 inflater.factory2 = object : LayoutInflater.Factory2 { in onCreate()
/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java22 import android.view.LayoutInflater;
37 protected LayoutInflater mSystemInflater;
38 protected LayoutInflater mInflater;
57 mSystemInflater = LayoutInflater.from(context); in BaseMenuPresenter()
65 mInflater = LayoutInflater.from(mContext); in initForMenu()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java31 import android.view.LayoutInflater;
58 LayoutInflater inflater = LayoutInflater.from(mContext); in testInflateFromXml()
67 LayoutInflater inflater = LayoutInflater.from(mContext); in testPrimaryColorFromXml()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewFontFamilyLayoutPerfTest.java22 import android.view.LayoutInflater;
63 final LayoutInflater inflator = in testConstruction()
64 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in testConstruction()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListTakeFocusFromSide.java22 import android.view.LayoutInflater;
37 private LayoutInflater mInflater;
42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()

12345678910>>...23