Home
last modified time | relevance | path

Searched refs:createView (Results 1 – 25 of 61) 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.java37 static View createView(Rect handwritingArea) { in createView() method in HandwritingTestUtil
38 return createView(handwritingArea, true /* autoHandwritingEnabled */, in createView()
42 static View createView(Rect handwritingArea, boolean autoHandwritingEnabled, in createView() method in HandwritingTestUtil
44 return createView(handwritingArea, autoHandwritingEnabled, isStylusHandwritingAvailable, in createView()
48 static View createView(Rect handwritingArea, boolean autoHandwritingEnabled, in createView() method in HandwritingTestUtil
/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 in com.android.systemui.shared.animation.UnfoldMoveFromCenterAnimatorTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/
DTouchInsetManagerTest.java70 final View view = createView(new Rect(0, 0, 0, 0)); in testViewOnAttachedHandling()
100 final View view = createView(new Rect(0, 0, 0, 0)); in testViewOnDetachedHandling()
134 session.addViewToTracking(createView(rect)); in testInsetRegionPropagation()
153 session.addViewToTracking(createView(firstBounds)); in testMultipleRegions()
163 secondSession.addViewToTracking(createView(secondBounds)); in testMultipleRegions()
198 session.addViewToTracking(createView(firstViewBounds)); in testMultipleViews()
206 final View secondView = createView(secondViewBounds); in testMultipleViews()
233 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/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaDreamComplication.java40 public ViewHolder createView(ComplicationViewModel model) { in createView() method in MediaDreamComplication
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserListAdapterTest.kt93 val view = createView() in createChooserListAdapter()
106 val view = createView() in testOnlyOneTaskPerTarget()
198 private fun createView(): View { in createSelectableTargetInfo() method
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java77 p.mView = createView(applicationInfo); in onCreate()
87 private View createView(ApplicationInfo applicationInfo) { in createView() method in HarmfulAppWarningActivity
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotifLayoutInflaterFactoryTest.kt133 createView: (context: Context, attrs: AttributeSet) -> View in <lambda>()
145 createView(context, attrs) in <lambda>()
/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/complication/
DComplication.java249 ViewHolder createView(ComplicationViewModel model); in createView() method
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/app/
DBaseDemoActivity.kt51 val view = inflater.createView(name, prefix, attrs) in onCreate()

123