Home
last modified time | relevance | path

Searched refs:createView (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java60 View view = createView("1"); in testAddChild()
73 View view = createView(String.valueOf(i + 1)); in testAddChildAtFront()
77 View view = createView("X"); in testAddChildAtFront()
91 View view = createView(String.valueOf(i + 1)); in testAddChildInMiddle()
95 View view = createView("X"); in testAddChildInMiddle()
109 View view = createView(String.valueOf(i + 1)); in testAddChildren()
120 View view = createView("1"); in testRemoveChild()
141 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildren()
162 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulk()
183 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulkAtFront()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingAreaTrackerTest.java19 import static android.view.stylus.HandwritingTestUtil.createView;
64 View view = createView(rect); in updateHandwritingAreaForView_singleView()
80 View view1 = createView(rect1); in updateHandwritingAreaForView_multipleViews()
81 View view2 = createView(rect2); in updateHandwritingAreaForView_multipleViews()
101 View view1 = createView(rect1); in updateHandwritingAreaForView_afterDisableAutoHandwriting()
102 View view2 = createView(rect2); in updateHandwritingAreaForView_afterDisableAutoHandwriting()
128 View view1 = createView(rect1); in updateHandwritingAreaForView_removesInactiveView()
129 View view2 = createView(rect2); in updateHandwritingAreaForView_removesInactiveView()
DHandwritableViewInfoTest.java19 import static android.view.stylus.HandwritingTestUtil.createView;
45 final View view = createView(rect); in constructorTest()
57 final View view = createView(rect); in update()
73 final View view = HandwritingTestUtil.createView(rect, false /* autoHandwritingEnabled */); in update_viewDisableAutoHandwriting()
DHandwritingTestUtil.java31 public static View createView(Rect handwritingArea) { in createView() method in HandwritingTestUtil
32 return createView(handwritingArea, true); in createView()
35 public static View createView(Rect handwritingArea, boolean autoHandwritingEnabled) { in createView() method in HandwritingTestUtil
DHandwritingInitiatorTest.java22 import static android.view.stylus.HandwritingTestUtil.createView;
81 mTestView = createView(sHwArea, true); in setup()
217 View mockView = createView(sHwArea, false); in autoHandwriting_whenDisabled_wontStartHW()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/
DUnfoldMoveFromCenterAnimatorTest.kt59 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewOnTheLeftOfVerticalFold_halfProgress_viewTranslatedToTheRight()
75 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewOnTheLeftOfVerticalFold_zeroProgress_viewTranslatedToTheRight()
91 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewOnTheLeftOfVerticalFold_fullProgress_viewTranslatedToTheOriginalPosition()
107 val view = createView(x = 20, width = 10, height = 10, translationX = 100f) in testViewOnTheLeftOfVerticalFoldWithTranslation_halfProgress_viewTranslatedToTheRight()
123 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewAndUnregister_halfProgress_viewIsNotUpdated()
136 val view = createView(x = 20, width = 10, height = 10) in testRegisterViewUpdateProgressAndUnregister_halfProgress_viewIsNotUpdated()
150 val view = createView(y = 20, width = 10, height = 10) in testRegisterViewOnTheTopOfHorizontalFold_halfProgress_viewTranslatedToTheBottom()
163 val view = createView(x = 20) in testUpdateViewPositions_viewOnTheLeftAndMovedToTheRight_viewTranslatedToTheLeft()
175 private fun createView( in createView() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/
DTouchInsetManagerTest.java93 session.addViewToTracking(createView(rect)); in testInsetRegionPropagation()
113 session.addViewToTracking(createView(firstBounds)); in testMultipleRegions()
123 secondSession.addViewToTracking(createView(secondBounds)); in testMultipleRegions()
159 session.addViewToTracking(createView(firstViewBounds)); in testMultipleViews()
167 final View secondView = createView(secondViewBounds); in testMultipleViews()
194 private View createView(Rect bounds) { in createView() method in TouchInsetManagerTest
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemFocusableAboveUnfocusable.java38 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemFocusableAboveUnfocusable
43 return super.createView(position, parent, desiredHeight); in createView()
DListSimple.java44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListSimple
45 View view = super.createView(position, parent, desiredHeight); in createView()
DListInterleaveFocusables.java44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListInterleaveFocusables
49 return super.createView(position, parent, desiredHeight); in createView()
DListItemFocusablesFarApart.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemFocusablesFarApart
DListOfTouchables.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListOfTouchables
DListItemFocusablesClose.java50 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemFocusablesClose
DListButtonsDiagonalAcrossItems.java50 protected View createView(int position, ViewGroup parent, in createView() method in ListButtonsDiagonalAcrossItems
DListHorizontalFocusWithinItemWins.java51 protected View createView(int position, ViewGroup parent, in createView() method in ListHorizontalFocusWithinItemWins
DListHeterogeneous.java39 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListHeterogeneous
DListItemsExpandOnSelection.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemsExpandOnSelection
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java48 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in GridSimple
49 View view = super.createView(position, parent, desiredHeight); in createView()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpActivity.java51 mainView = createView(); in onCreate()
67 private View createView() { in createView() method in VideoDumpActivity
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserListAdapterTest.kt81 val view = createView() in createChooserListAdapter()
94 val view = createView() in testOnlyOneTaskPerTarget()
134 private fun createView(): View { in createSelectableTargetInfo() method in com.android.internal.app.ChooserListAdapterTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthBiometricFingerprintViewTest.kt57 private fun createView(allowDeviceCredential: Boolean = false): AuthBiometricFingerprintView { in createView() method
68 biometricView = createView() in setup()
253 biometricView = createView() in testRestoresState()
269 biometricView = createView(allowDeviceCredential = true) in testCredentialButton_whenDeviceCredentialAllowed()
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java76 p.mView = createView(applicationInfo); in onCreate()
86 private View createView(ApplicationInfo applicationInfo) { in createView() method in HarmfulAppWarningActivity
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaDreamComplication.java40 public ViewHolder createView(ComplicationViewModel model) { in createView() method in MediaDreamComplication
/frameworks/base/core/java/com/android/internal/policy/
DPhoneLayoutInflater.java58 View view = createView(name, prefix, attrs); in onCreateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/
DComplication.java249 ViewHolder createView(ComplicationViewModel model); in createView() method

123