Home
last modified time | relevance | path

Searched refs:container (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DFragmentTest.java51 .add(R.id.container, fragment1) in testOnCreateOrder()
52 .add(R.id.container, fragment2) in testOnCreateOrder()
65 .add(R.id.container, fragmentA) in testChildFragmentManagerGone()
76 .replace(R.id.container, fragmentB) in testChildFragmentManagerGone()
89 .replace(R.id.container, fragmentA) in testChildFragmentManagerGone()
128 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/tests/widget/src/android/widget/cts/
DDatePickerTest.java130 SparseArray<Parcelable> container = new SparseArray<Parcelable>(); in testOnSaveInstanceState() local
136 datePicker.saveHierarchyState(container); in testOnSaveInstanceState()
144 datePicker.dispatchRestoreInstanceState(container); in testOnSaveInstanceState()
180 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { in dispatchRestoreInstanceState() argument
181 super.dispatchRestoreInstanceState(container); in dispatchRestoreInstanceState()
DGridLayoutTest.java183 private View[][] populate(GridLayout container) { in populate() argument
184 Context context = container.getContext(); in populate()
195 container.addView(v, lp); in populate()
205 container.addView(v, lp); in populate()
216 container.addView(v, lp); in populate()
230 container.addView(v, lp); in populate()
DFrameLayoutTest.java128 final LinearLayout container = in testGatherTransparentRegion() local
140 () -> container.requestTransparentRegion(mFrameLayout)); in testGatherTransparentRegion()
305 private static void assertCenterAligned(View container, Drawable drawable) { in assertCenterAligned() argument
307 int leftDelta = rect.left - container.getLeft(); in assertCenterAligned()
308 int rightDelta = container.getRight() - rect.right; in assertCenterAligned()
309 int topDelta = rect.top - container.getTop(); in assertCenterAligned()
310 int bottomDelta = container.getBottom() - rect.bottom; in assertCenterAligned()
DAdapterViewTest.java446 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { in dispatchRestoreInstanceState() argument
447 super.dispatchRestoreInstanceState(container); in dispatchRestoreInstanceState()
451 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { in dispatchSaveInstanceState() argument
452 super.dispatchSaveInstanceState(container); in dispatchSaveInstanceState()
/cts/tests/fragment/src/android/fragment/cts/
DStrictViewFragment.java29 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
33 final View result = inflater.inflate(R.layout.strict_view_fragment, container, false); in onCreateView()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeTransformTest.java131 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
132 assertEquals(2, container.getChildCount()); in testReparentWithOverlay()
151 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
152 assertEquals(1, container.getChildCount()); in testReparentWithOverlay()
DChangeImageTransformTest.java227 final ViewGroup container = (ViewGroup) mActivity.findViewById(R.id.holder); in enterImageViewScene() local
237 container.addView(mImageView); in enterImageViewScene()
DBaseTransitionTest.java53 mSceneRoot = (FrameLayout) mActivity.findViewById(R.id.container); in setUp()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java52 mView = (LinearLayout) mActivity.findViewById(R.id.container); in setUp()
195 ViewGroup container, View view, int transitionType) { in endTransition() argument
196 this.mContainer = container; in endTransition()
203 ViewGroup container, View view, int transitionType) { in startTransition() argument
204 this.mContainer = container; in startTransition()
DLayoutAnimationActivity.java40 LinearLayout layout = (LinearLayout) findViewById(R.id.container); in onCreate()
DAnimationActivity.java78 ViewGroup viewGroup = (ViewGroup) findViewById(R.id.container); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java368 View container = mLayoutInflater.inflate(R.layout.inflater_override_theme_layout, null); in testOverrideTheme() local
369 verifyThemeType(container, "view_outer", R.id.view_outer, 1); in testOverrideTheme()
370 verifyThemeType(container, "view_inner", R.id.view_inner, 2); in testOverrideTheme()
371 verifyThemeType(container, "view_attr", R.id.view_attr, 3); in testOverrideTheme()
372 verifyThemeType(container, "view_include", R.id.view_include, 4); in testOverrideTheme()
373 verifyThemeType(container, "view_include_notheme", R.id.view_include_notheme, 5); in testOverrideTheme()
376 private void verifyThemeType(View container, String tag, int id, int type) { in verifyThemeType() argument
378 View view = container.findViewById(id); in verifyThemeType()
DMockView.java567 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { in dispatchRestoreInstanceState() argument
568 super.dispatchRestoreInstanceState(container); in dispatchRestoreInstanceState()
577 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { in dispatchSaveInstanceState() argument
578 super.dispatchSaveInstanceState(container); in dispatchSaveInstanceState()
DViewGroupTest.java445 SparseArray container = new SparseArray(); in testDispatchFreezeSelfOnly() local
446 assertEquals(0, container.size()); in testDispatchFreezeSelfOnly()
447 vg.dispatchFreezeSelfOnly(container); in testDispatchFreezeSelfOnly()
448 assertEquals(1, container.size()); in testDispatchFreezeSelfOnly()
2119 SparseArray<Parcelable> container) { in dispatchRestoreInstanceState() argument
2121 super.dispatchRestoreInstanceState(container); in dispatchRestoreInstanceState()
2287 public void dispatchFreezeSelfOnly(SparseArray<Parcelable> container) { in dispatchFreezeSelfOnly() argument
2288 super.dispatchFreezeSelfOnly(container); in dispatchFreezeSelfOnly()
2293 SparseArray<Parcelable> container) { in dispatchRestoreInstanceState() argument
2294 super.dispatchRestoreInstanceState(container); in dispatchRestoreInstanceState()
[all …]
DWindowTest.java207 MockWindow container = new MockWindow(mContext); in testAccessContainer() local
208 mWindow.setContainer(container); in testAccessContainer()
209 assertSame(container, mWindow.getContainer()); in testAccessContainer()
210 assertTrue(container.hasChildren()); in testAccessContainer()
DViewTest.java2414 SparseArray<Parcelable> container = new SparseArray<>(); in testSaveAndRestoreHierarchyState() local
2415 view.saveHierarchyState(container); in testSaveAndRestoreHierarchyState()
2418 assertEquals(viewId, container.keyAt(0)); in testSaveAndRestoreHierarchyState()
2421 container.put(R.id.mock_view, BaseSavedState.EMPTY_STATE); in testSaveAndRestoreHierarchyState()
2422 view.restoreHierarchyState(container); in testSaveAndRestoreHierarchyState()
2425 container.clear(); in testSaveAndRestoreHierarchyState()
2426 view.saveHierarchyState(container); in testSaveAndRestoreHierarchyState()
2429 assertEquals(viewId, container.keyAt(0)); in testSaveAndRestoreHierarchyState()
2431 container.clear(); in testSaveAndRestoreHierarchyState()
2432 container.put(viewId, new android.graphics.Rect()); in testSaveAndRestoreHierarchyState()
[all …]
DGravityTest.java44 … private void applyGravity(int gravity, int w, int h, Rect container, Rect outRect, boolean bRtl) { in applyGravity() argument
/cts/tests/app/app/src/android/app/stubs/
DFragmentTestActivity.java116 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
118 return inflater.inflate(mLayoutId, container, false); in onCreateView()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerTest.java81 DrawableContainer container = new LevelListDrawable(); in helpTestSetEnterFadeDuration() local
82 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState()); in helpTestSetEnterFadeDuration()
83 container.setEnterFadeDuration(enterFadeDuration); in helpTestSetEnterFadeDuration()
93 DrawableContainer container = new LevelListDrawable(); in helpTestSetExitFadeDuration() local
94 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState()); in helpTestSetExitFadeDuration()
95 container.setExitFadeDuration(exitFadeDuration); in helpTestSetExitFadeDuration()
/cts/tools/dex-tools/dex/
Dclasses.out.dex112270 public static final int container