Home
last modified time | relevance | path

Searched refs:inflater (Results 1 – 25 of 45) sorted by relevance

12

/cts/tests/tests/transition/src/android/transition/cts/
DTransitionInflaterTest.java64 TransitionInflater inflater = TransitionInflater.from(mActivity); in testInflationConstructors() local
65 Transition transition = inflater.inflateTransition(R.transition.transition_constructors); in testInflationConstructors()
73 TransitionInflater inflater = TransitionInflater.from(mActivity); in testInflation() local
74 verifyFadeProperties(inflater.inflateTransition(R.transition.fade)); in testInflation()
75 verifyChangeBoundsProperties(inflater.inflateTransition(R.transition.change_bounds)); in testInflation()
76 verifySlideProperties(inflater.inflateTransition(R.transition.slide)); in testInflation()
77 verifyExplodeProperties(inflater.inflateTransition(R.transition.explode)); in testInflation()
79 inflater.inflateTransition(R.transition.change_image_transform)); in testInflation()
80 verifyChangeTransformProperties(inflater.inflateTransition(R.transition.change_transform)); in testInflation()
82 inflater.inflateTransition(R.transition.change_clip_bounds)); in testInflation()
[all …]
/cts/tests/fragment/src/android/fragment/cts/
DNestedInflatedFragmentTest.java69 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
71 return inflater.inflate(R.layout.nested_inflated_fragment_parent, container, false); in onCreateView()
78 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
80 return inflater.inflate(R.layout.nested_inflated_fragment_child, container, false); in onCreateView()
87 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
89 TextView textView = new TextView(inflater.getContext()); in onCreateView()
DCountCallsFragment.java37 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
40 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
DStrictViewFragment.java40 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
44 final View result = inflater.inflate(mLayoutId, container, false); in onCreateView()
DTransitionFragment.java65 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
70 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
/cts/tests/tests/view/src/android/view/cts/
DViewAttributeTest.java73 LayoutInflater inflater = LayoutInflater.from(context); in testGetExplicitStyle() local
75 (LinearLayout) inflater.inflate(R.layout.view_attribute_layout, null); in testGetExplicitStyle()
91 LayoutInflater inflater = LayoutInflater.from(mActivityRule.getActivity()); in testGetAttributeResolutionStack() local
93 (LinearLayout) inflater.inflate(R.layout.view_attribute_layout, null); in testGetAttributeResolutionStack()
108 LayoutInflater inflater = LayoutInflater.from(mActivityRule.getActivity()); in testGetAttributeSourceResourceMap() local
110 (LinearLayout) inflater.inflate(R.layout.view_attribute_layout, null); in testGetAttributeSourceResourceMap()
DLayoutInflaterTest.java408 final LayoutInflater inflater = LayoutInflater.from(themedContext); in testInclude() local
410 final View container = inflater.inflate(R.layout.inflater_layout_include, null); in testInclude()
429 CreateViewContextInflater inflater = new CreateViewContextInflater(context); in testCreateViewWithContext() local
430 final ViewGroup container = (ViewGroup) inflater.inflate(R.layout.inflater_layout, null); in testCreateViewWithContext()
433 assertEquals(9, inflater.onCreateViewCalls.size()); in testCreateViewWithContext()
434 assertEquals(context, inflater.onCreateViewCalls.get(0)[0]); in testCreateViewWithContext()
435 assertNull(inflater.onCreateViewCalls.get(0)[1]); in testCreateViewWithContext()
436 assertEquals("LinearLayout", inflater.onCreateViewCalls.get(0)[2]); in testCreateViewWithContext()
442 Object[] params = inflater.onCreateViewCalls.get(i); in testCreateViewWithContext()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DFragmentTest.java128 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
130 return inflater.inflate(R.layout.fragment_a, container, false); in onCreateView()
136 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
138 return inflater.inflate(R.layout.fragment_b, container, false); in onCreateView()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DFragmentWithEditText.java35 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
37 return inflater.inflate(R.layout.fragment_with_edittext, null); in onCreateView()
DFragmentWithMoreEditTexts.java35 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
37 return inflater.inflate(R.layout.fragment_with_more_edittexts, null); in onCreateView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestAdapter.java36 LayoutInflater inflater; field in TestAdapter
50 inflater = LayoutInflater.from(context); in TestAdapter()
83 vg = (ViewGroup) inflater.inflate(R.layout.ble_test_item, null); in getView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java124 final LayoutInflater inflater = getLayoutInflater(); in onCreate() local
134 inflater, in onCreate()
138 inflater, in onCreate()
142 inflater, in onCreate()
146 inflater, in onCreate()
150 inflater, in onCreate()
393 TestItem(LayoutInflater inflater,
396 this.view = inflater.inflate(R.layout.mtp_host_item, null, false);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DAccuracyResultDialog.java42 LayoutInflater inflater = getActivity().getLayoutInflater(); in onCreateDialog() local
43 mRootView = inflater.inflate(R.layout.dialog_result_accuracy, null); in onCreateDialog()
DComplexMovementResultDialog.java42 LayoutInflater inflater = getActivity().getLayoutInflater(); in onCreateDialog() local
43 mRootView = inflater.inflate(R.layout.dialog_result_complex_movement, null); in onCreateDialog()
DRobustnessResultDialog.java42 LayoutInflater inflater = getActivity().getLayoutInflater(); in onCreateDialog() local
43 mRootView = inflater.inflate(R.layout.dialog_result_robustness, null); in onCreateDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvAppVerifierActivity.java126 public static View createAutoItem(LayoutInflater inflater, in createAutoItem() argument
128 View item = inflater.inflate(R.layout.tv_item, root, false); in createAutoItem()
147 public static View createButtonItem(LayoutInflater inflater, ViewGroup root, int buttonTextId, in createButtonItem() argument
149 View item = inflater.inflate(R.layout.tv_item, root, false); in createButtonItem()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DBottomActivity.java57 LayoutInflater inflater = getLayoutInflater(); in onCreate() local
58 mFloatingWindow = inflater.inflate(R.layout.floating, null); in onCreate()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DIconHeaderItemPresenter.java40 LayoutInflater inflater = (LayoutInflater) viewGroup.getContext() in onCreateViewHolder() local
43 View view = inflater.inflate(R.layout.icon_header_item, null); in onCreateViewHolder()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFontVariationTest.java42 final LayoutInflater inflater = LayoutInflater.from(context); in getTextViewFontVariationSettings() local
44 (ViewGroup) inflater.inflate(R.layout.textview_fontvariation_test_layout, null); in getTextViewFontVariationSettings()
DWidgetAttributeTest.kt67 val inflater = LayoutInflater.from(activityRule.getActivity()) in testGetAttributeResolutionStack() constant
68 val rootView = inflater.inflate(R.layout.widget_attribute_layout, null) as LinearLayout in testGetAttributeResolutionStack()
127 val inflater = LayoutInflater.from(activityRule.getActivity()) in testGetAttributeSourceResourceMap() constant
128 val rootView = inflater.inflate(R.layout.widget_attribute_layout, null) as LinearLayout in testGetAttributeSourceResourceMap()
DTextViewIsHorizontallyScrollableTest.java46 final LayoutInflater inflater = LayoutInflater.from(context); in setup() local
47 mViewGroup = (ViewGroup) inflater.inflate(R.layout.textview_isHorizontallyScrollable_layout, in setup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DPhaseStartFragment.java52 …public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
53 View rootView = inflater.inflate(R.layout.fragment_start_phase, container, false); in onCreateView()
/cts/tests/tests/text/src/android/text/cts/
DFontResourceTest.java66 LayoutInflater inflater = LayoutInflater.from(ctx); in inflateWithInflator() local
67 return (TextView) inflater.inflate(getLayoutId(), null); in inflateWithInflator()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java248 Inflater inflater = new Inflater(); in ProfileReaderV10() local
249 inflater.setInput(bb.array(), bb.arrayOffset() + bb.position(), bb.remaining()); in ProfileReaderV10()
251 assertEquals(uncompressed_size, inflater.inflate(data)); in ProfileReaderV10()
307 Inflater inflater = new Inflater(); in readSection() local
308 inflater.setInput(bb.array(), fileOffset, fileSize); in readSection()
309 assertEquals(inflatedSize, inflater.inflate(data)); in readSection()
/cts/tests/app/app/src/android/app/stubs/
DFragmentTestActivity.java117 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
119 return inflater.inflate(mLayoutId, container, false); in onCreateView()

12