/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 | 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()
|
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricCustomizedViewBinder.kt | 105 val inflater = LayoutInflater.from(context) in PromptContentViewWithMoreOptionsButton() constant 107 inflater.inflateContentView( in PromptContentViewWithMoreOptionsButton() 120 val inflater = LayoutInflater.from(context) in PromptVerticalListContentView() constant 123 inflater.inflateContentView( in PromptVerticalListContentView() 137 var currRow = createNewRowLayout(inflater) in PromptVerticalListContentView() 140 val itemView = item.toView(context, inflater) in PromptVerticalListContentView() 154 currRow = createNewRowLayout(inflater) in PromptVerticalListContentView() 160 private fun createNewRowLayout(inflater: LayoutInflater): LinearLayout { in createNewRowLayout() 161 return inflater.inflate(R.layout.biometric_prompt_content_row_layout, null) as LinearLayout in createNewRowLayout() 214 inflater: LayoutInflater, in toView() [all …]
|
/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/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/graphics/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/base/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/ |
D | CollapsingToolbarDelegate.java | 89 public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container) { in onCreateView() argument 90 return onCreateView(inflater, container, null); in onCreateView() 95 View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument 98 inflater.inflate(R.layout.collapsing_toolbar_base_layout, container, false); in onCreateView() 121 initSupportActionBar(inflater); in onCreateView() 139 private void initSupportActionBar(@NonNull LayoutInflater inflater) { in initSupportActionBar() argument 144 inflater.inflate(R.layout.support_toolbar, mCollapsingToolbarLayout); in initSupportActionBar()
|
/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/apct-tests/perftests/core/src/android/view/ |
D | ViewPerfTest.java | 57 LayoutInflater inflater = LayoutInflater.from(mContext); in testSimpleViewInflate() local 60 inflater.inflate(R.layout.test_simple_view, root, false); in testSimpleViewInflate() 67 LayoutInflater inflater = LayoutInflater.from(mContext); in testTwelveKeyInflate() local 70 inflater.inflate(R.layout.twelve_key_entry, root, false); in testTwelveKeyInflate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordingAdapter.java | 53 LayoutInflater inflater = LayoutInflater.from(getContext()); in getOption() local 54 LinearLayout layout = (LinearLayout) inflater in getOption() 69 LayoutInflater inflater = LayoutInflater.from(getContext()); in getSelected() local 70 LinearLayout layout = (LinearLayout) inflater in getSelected()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/app/ |
D | BaseDemoActivity.kt | 31 val inflater = LayoutInflater.from(this) in onCreate() constant 32 inflater.factory2 = object : LayoutInflater.Factory2 { in onCreate() 51 val view = inflater.createView(name, prefix, attrs) in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarInflaterView.java | 309 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton() local 310 View v = createView(buttonSpec, parent, inflater); in inflateButton() 381 View createView(String buttonSpec, ViewGroup parent, LayoutInflater inflater) { in createView() argument 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() [all …]
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestTableLayoutLtr.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.table_layout_ltr, container, false); in onCreateView()
|
D | BiDiTestLinearLayoutLtr.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.linear_layout_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 | BiDiTestRelativeLayout2Rtl.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.relative_layout_2_rtl, container, false); in onCreateView()
|
D | BiDiTestLinearLayoutLocale.java | 28 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 30 return inflater.inflate(R.layout.linear_layout_locale, container, false); in onCreateView()
|