/frameworks/base/startop/apps/test/src/ |
D | ApplicationBenchmarks.java | 25 LayoutInflater inflater = LayoutInflater.from(parent); in initializeBenchmarks() local 28 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | TemplateLayout.java | 137 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate() local 138 final View templateRoot = onInflateTemplate(inflater, templateResource); in inflateTemplate() 166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate() argument 171 inflater = in inflateTemplate() 172 LayoutInflater.from(new FallbackThemeWrapper(inflater.getContext(), fallbackTheme)); in inflateTemplate() 174 return inflater.inflate(template, this, false); in inflateTemplate() 187 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate() argument 188 return inflateTemplate(inflater, 0, template); in onInflateTemplate()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/ |
D | GlifPreferenceLayout.java | 94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument 99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument 103 return super.onInflateTemplate(inflater, template); in onInflateTemplate() 110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local 112 (RecyclerView) inflater.inflate(R.layout.suw_glif_preference_recycler_view, this, false); in onTemplateInflated()
|
D | SetupWizardPreferenceLayout.java | 93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument 98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument 102 return super.onInflateTemplate(inflater, template); in onInflateTemplate() 109 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local 111 (RecyclerView) inflater.inflate(R.layout.suw_preference_recycler_view, this, false); in onTemplateInflated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | PlayerViewHolderTest.kt | 42 private lateinit var inflater: LayoutInflater variable in com.android.systemui.media.PlayerViewHolderTest 47 inflater = LayoutInflater.from(context) in setUp() 53 val holder = PlayerViewHolder.create(inflater, parent) in create() 59 val holder = PlayerViewHolder.create(inflater, parent) in backgroundIsIlluminationDrawable()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | Demo0.java | 47 LayoutInflater inflater = (LayoutInflater) in sendMessage() local 49 inflater.inflate(R.layout.search_screen, mSceneRoot); in sendMessage() 53 LayoutInflater inflater = (LayoutInflater) in sendMessage() local 55 inflater.inflate(R.layout.results_screen, mSceneRoot); in sendMessage()
|
D | Demo1.java | 52 LayoutInflater inflater = (LayoutInflater) in onCreate() 54 inflater.inflate(R.layout.results_screen, mSceneRoot); in onCreate() 61 LayoutInflater inflater = (LayoutInflater) in onCreate() 63 inflater.inflate(R.layout.search_screen, mSceneRoot); in onCreate()
|
D | ResourceLoadingTest.java | 53 TransitionInflater inflater = TransitionInflater.from(this); in sendMessage() local 55 inflater.inflateTransitionManager(R.transition.my_transition_mgr, in sendMessage() 59 … Transition loadedTransition = inflater.inflateTransition(R.transition.my_transition); in sendMessage()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | ReflectionInflaterTest.java | 42 TestInflater inflater = new TestInflater(context); in testInflateXml() local 43 final Animation result = inflater.inflate(R.xml.reflection_inflater_test); in testInflateXml() 55 TestInflater inflater = new TestInflater(context); in testDefaultPackage() local 56 inflater.setDefaultPackage("android.view.animation."); in testDefaultPackage() 57 final Animation result = inflater.inflate(R.xml.reflection_inflater_test_with_default_package); in testDefaultPackage()
|
D | ItemInflaterTest.java | 38 ItemInflater inflater = new ItemInflater(InstrumentationRegistry.getContext()); in testDefaultPackage() local 42 inflater.getDefaultPackage()); in testDefaultPackage() 47 ItemInflater inflater = new ItemInflater(InstrumentationRegistry.getContext()); in testInflate() local 48 ItemHierarchy item = inflater.inflate(R.xml.test_items); in testInflate()
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | ViewPerfTest.java | 41 LayoutInflater inflater = LayoutInflater.from(context); in testSimpleViewInflate() local 44 inflater.inflate(R.layout.test_simple_view, root, false); in testSimpleViewInflate() 52 LayoutInflater inflater = LayoutInflater.from(context); in testTwelveKeyInflate() local 55 inflater.inflate(R.layout.twelve_key_entry, root, false); in testTwelveKeyInflate()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | LayoutInflaterBuilder.java | 137 private void setFactoryIfNeeded(LayoutInflater inflater) { in setFactoryIfNeeded() argument 141 inflater.setFactory( in setFactoryIfNeeded() 148 return inflater.createView(replacingClassName, null, attrs); in setFactoryIfNeeded() 160 private void setFilterIfNeeded(LayoutInflater inflater) { in setFilterIfNeeded() argument 164 inflater.setFilter( in setFilterIfNeeded()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 42 LayoutInflater inflater = (LayoutInflater)context.getSystemService( in getPermissionItemView() local 46 return getPermissionItemViewOld(context, inflater, grpName, in getPermissionItemView() 50 private static View getPermissionItemViewOld(Context context, LayoutInflater inflater, in getPermissionItemViewOld() argument 52 View permView = inflater.inflate(R.layout.app_permission_item_old, null); in getPermissionItemViewOld()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewFlipperActivity.java | 35 final LayoutInflater inflater = getLayoutInflater(); in onCreate() local 36 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()
|
D | TextGammaActivity.java | 76 final LayoutInflater inflater = LayoutInflater.from(c); in GammaTextView() local 77 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/layoutlib/bridge/src/android/preference/ |
D | Preference_Delegate.java | 59 PreferenceInflater inflater = new BridgePreferenceInflater(context, pm); in inflatePreference() local 60 PreferenceScreen ps = (PreferenceScreen) inflater.inflate(parser, null, true); in inflatePreference() 74 LayoutInflater inflater = in createContainerView() local 76 inflater.inflate(mLayoutResId, root, true); in createContainerView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarInflaterView.java | 288 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton() local 289 View v = createView(buttonSpec, parent, inflater); in inflateButton() 360 private View createView(String buttonSpec, ViewGroup parent, LayoutInflater inflater) { in createView() argument 369 v = inflater.inflate(R.layout.home, parent, false); in createView() 371 v = inflater.inflate(R.layout.back, parent, false); in createView() 373 v = inflater.inflate(R.layout.recent_apps, parent, false); in createView() 375 v = inflater.inflate(R.layout.menu_ime, parent, false); in createView() 377 v = inflater.inflate(R.layout.nav_key_space, parent, false); in createView() 379 v = inflater.inflate(R.layout.clipboard, parent, false); in createView() 381 v = inflater.inflate(R.layout.contextual, parent, false); in createView() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiEntryPreferenceTest.java | 162 final LayoutInflater inflater = LayoutInflater.from(mContext); in notNull_whenGetHelpUriString_shouldSetImageButtonVisible() local 163 final View view = inflater.inflate(pref.getLayoutResource(), new LinearLayout(mContext), in notNull_whenGetHelpUriString_shouldSetImageButtonVisible() 177 final LayoutInflater inflater = LayoutInflater.from(mContext); in helpButton_whenGetHelpUriStringNotNull_shouldSetCorrectContentDescription() local 178 final View view = inflater.inflate(pref.getLayoutResource(), new LinearLayout(mContext), in helpButton_whenGetHelpUriStringNotNull_shouldSetCorrectContentDescription() 193 final LayoutInflater inflater = LayoutInflater.from(mContext); in subscriptionEntry_shouldSetImageButtonGone() local 194 final View view = inflater.inflate(pref.getLayoutResource(), new LinearLayout(mContext), in subscriptionEntry_shouldSetImageButtonGone()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordingAdapter.java | 70 LayoutInflater inflater = (LayoutInflater) getContext() in getOption() local 72 LinearLayout layout = (LinearLayout) inflater in getOption() 83 LayoutInflater inflater = LayoutInflater.from(getContext()); in getSelected() local 84 LinearLayout layout = (LinearLayout) inflater in getSelected()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestViewPadding.java | 13 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 15 return inflater.inflate(R.layout.view_padding, container, false); in onCreateView()
|
D | BiDiTestTextViewDirectionRtl.java | 27 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 29 return inflater.inflate(R.layout.textview_direction_rtl, container, false); in onCreateView()
|
D | BiDiTestFrameLayoutRtl.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.frame_layout_rtl, container, false); in onCreateView()
|
D | BiDiTestTextViewLtr.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.textview_ltr, container, false); in onCreateView()
|
D | BiDiTestTableLayoutLocale.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.table_layout_locale, container, false); in onCreateView()
|
D | BiDiTestGridLayoutRtl.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.grid_layout_rtl, container, false); in onCreateView()
|