/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 60 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/ |
D | HandwritingAreaTrackerTest.java | 19 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()
|
D | HandwritableViewInfoTest.java | 19 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()
|
D | HandwritingTestUtil.java | 31 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
|
D | HandwritingInitiatorTest.java | 22 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/ |
D | UnfoldMoveFromCenterAnimatorTest.kt | 59 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/ |
D | TouchInsetManagerTest.java | 93 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/ |
D | ListItemFocusableAboveUnfocusable.java | 38 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemFocusableAboveUnfocusable 43 return super.createView(position, parent, desiredHeight); in createView()
|
D | ListSimple.java | 44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListSimple 45 View view = super.createView(position, parent, desiredHeight); in createView()
|
D | ListInterleaveFocusables.java | 44 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListInterleaveFocusables 49 return super.createView(position, parent, desiredHeight); in createView()
|
D | ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemFocusablesFarApart
|
D | ListOfTouchables.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListOfTouchables
|
D | ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemFocusablesClose
|
D | ListButtonsDiagonalAcrossItems.java | 50 protected View createView(int position, ViewGroup parent, in createView() method in ListButtonsDiagonalAcrossItems
|
D | ListHorizontalFocusWithinItemWins.java | 51 protected View createView(int position, ViewGroup parent, in createView() method in ListHorizontalFocusWithinItemWins
|
D | ListHeterogeneous.java | 39 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListHeterogeneous
|
D | ListItemsExpandOnSelection.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() method in ListItemsExpandOnSelection
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSimple.java | 48 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/ |
D | VideoDumpActivity.java | 51 mainView = createView(); in onCreate() 67 private View createView() { in createView() method in VideoDumpActivity
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserListAdapterTest.kt | 81 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/ |
D | AuthBiometricFingerprintViewTest.kt | 57 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/ |
D | HarmfulAppWarningActivity.java | 76 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/ |
D | MediaDreamComplication.java | 40 public ViewHolder createView(ComplicationViewModel model) { in createView() method in MediaDreamComplication
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneLayoutInflater.java | 58 View view = createView(name, prefix, attrs); in onCreateView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/ |
D | Complication.java | 249 ViewHolder createView(ComplicationViewModel model); in createView() method
|