Home
last modified time | relevance | path

Searched refs:addView (Results 1 – 25 of 35) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DViewInnerTextTest.java28 top.addView(textView("blah")); in testInnerText()
29 top.addView(new View(context)); in testInnerText()
30 top.addView(textView("a b c")); in testInnerText()
33 top.addView(innerLayout); in testInnerText()
35 innerLayout.addView(textView("d e f")); in testInnerText()
36 innerLayout.addView(textView("g h i")); in testInnerText()
37 innerLayout.addView(textView("")); in testInnerText()
38 innerLayout.addView(textView(null)); in testInnerText()
39 innerLayout.addView(textView("jkl!")); in testInnerText()
41 top.addView(textView("mnop")); in testInnerText()
[all …]
DShadowViewGroupTest.java55 root.addView(child1); in setUp()
56 root.addView(child2); in setUp()
57 root.addView(child3); in setUp()
59 child3.addView(child3a); in setUp()
60 child3.addView(child3b); in setUp()
120 root.addView(child1); in testAddViewAt()
121 root.addView(child2); in testAddViewAt()
122 root.addView(child3, 1); in testAddViewAt()
134 root.addView(child1); in shouldFindViewWithTag()
135 root.addView(child2); in shouldFindViewWithTag()
[all …]
DShadowViewAnimatorTest.java33 viewAnimator.addView(new View(application)); in getDisplayedChild_shouldDefaultToZero()
39 viewAnimator.addView(new View(application)); in setDisplayedChild_shouldUpdateDisplayedChildIndex()
40 viewAnimator.addView(new View(application)); in setDisplayedChild_shouldUpdateDisplayedChildIndex()
49 viewAnimator.addView(view0); in getCurrentView_shouldWork()
50 viewAnimator.addView(view1); in getCurrentView_shouldWork()
58 viewAnimator.addView(new View(application)); in showNext_shouldDisplayNextChild()
59 viewAnimator.addView(new View(application)); in showNext_shouldDisplayNextChild()
69 viewAnimator.addView(new View(application)); in showPrevious_shouldDisplayPreviousChild()
70 viewAnimator.addView(new View(application)); in showPrevious_shouldDisplayPreviousChild()
DViewStubTest.java40 root.addView(new View(ctxt)); in inflate_shouldReplaceOriginalWithLayout()
41 root.addView(viewStub); in inflate_shouldReplaceOriginalWithLayout()
42 root.addView(new View(ctxt)); in inflate_shouldReplaceOriginalWithLayout()
DShadowViewTest.java78 new LinearLayout(context).addView(view); in testHasNullLayoutParamsUntilAddedToParent()
176 parent.addView(view); in shouldKnowIfThisOrAncestorsAreVisible()
179 grandParent.addView(parent); in shouldKnowIfThisOrAncestorsAreVisible()
220 grandParent.addView(parent); in checkedClick_shouldThrowIfViewIsNotVisible()
221 parent.addView(view); in checkedClick_shouldThrowIfViewIsNotVisible()
816 parent.addView(new MyView("child", transcript)); in shouldCallOnAttachedToAndDetachedFromWindow()
820 activity.getWindowManager().addView(parent, new WindowManager.LayoutParams(100, 100)); in shouldCallOnAttachedToAndDetachedFromWindow()
824 parent.addView(new MyView("another child", transcript)); in shouldCallOnAttachedToAndDetachedFromWindow()
829 parent.addView(temporaryChild); in shouldCallOnAttachedToAndDetachedFromWindow()
843 parent.addView(child); in getWindowId_shouldReturnValidObjectWhenAttached()
[all …]
DShadowRelativeLayoutTest.java24 …layout.addView(imageView, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, Vie… in getRules_shouldShowAddRuleData_sinceApiLevel17()
37 …layout.addView(imageView, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, Vie… in getRules_shouldShowAddRuleData_uptoApiLevel16()
DShadowWindowManagerImplTest.java53 windowManager.addView(view, layoutParams); in getViews_returnsAnAddedView()
63 windowManager.addView(view, layoutParams); in getViews_doesNotReturnARemovedView()
DShadowRadioButtonTest.java72 radioGroup.addView(radioButton1); in shouldInformRadioGroupThatItIsChecked()
73 radioGroup.addView(radioButton2); in shouldInformRadioGroupThatItIsChecked()
DShadowICUTest.java56 view.addView(datePicker); in onCreate()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DCustomNumberPicker.java35 public void addView(View child) { in addView() method in CustomNumberPicker
36 super.addView(child); in addView()
41 public void addView(View child, int index) { in addView() method in CustomNumberPicker
42 super.addView(child, index); in addView()
47 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in CustomNumberPicker
48 super.addView(child, index, params); in addView()
53 public void addView(View child, ViewGroup.LayoutParams params) { in addView() method in CustomNumberPicker
54 super.addView(child, params); in addView()
59 public void addView(View child, int width, int height) { in addView() method in CustomNumberPicker
60 super.addView(child, width, height); in addView()
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieActivity.java117 addView(oldView, row, column, false); in inflateView()
154 addView(view, row, column, true); in refreshGrid()
163 private void addView(SkottieView view, int row , int column, boolean addView) { in addView() argument
169 if (addView) { in addView()
170 mGrid.addView(view, params); in addView()
202 addView(view, row, column, true); in addLottie()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieActivity.java117 addView(oldView, row, column, false); in inflateView()
154 addView(view, row, column, true); in refreshGrid()
163 private void addView(SkottieView view, int row , int column, boolean addView) { in addView() argument
169 if (addView) { in addView()
170 mGrid.addView(view, params); in addView()
202 addView(view, row, column, true); in addLottie()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
Dllvm-mca.cpp501 Printer.addView( in main()
504 Printer.addView( in main()
516 Printer.addView(llvm::make_unique<mca::SummaryView>(SM, S, Width)); in main()
519 Printer.addView( in main()
523 Printer.addView(llvm::make_unique<mca::DispatchStatistics>()); in main()
526 Printer.addView(llvm::make_unique<mca::SchedulerStatistics>(*STI)); in main()
529 Printer.addView(llvm::make_unique<mca::RetireControlUnitStatistics>()); in main()
532 Printer.addView(llvm::make_unique<mca::RegisterFileStatistics>(*STI)); in main()
535 Printer.addView( in main()
539 Printer.addView(llvm::make_unique<mca::TimelineView>( in main()
DPipelinePrinter.h43 void addView(std::unique_ptr<View> V) { in addView() function
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/
DBlacklistedApis.java85 parent.addView(child); in callBlacklistedPublicMethodRealMethod()
88 parent.addView(child); in callBlacklistedPublicMethodRealMethod()
106 parent.addView(child); in copyBlacklistedFields()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/android/
DAccessibilityUtilTest.java62 parentLayout.addView(labeledView); in setUp()
85 parentLayout.addView(unlabeledView); in default_viewWithSiblingIssue_shouldNotThrow()
91 parentLayout.addView(unlabeledView); in whenCheckingFromRoot_viewWithSiblingIssue_shouldThrow()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DTemplateLayout.java131 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() method in TemplateLayout
132 container.addView(child, index, params); in addView()
136 super.addView(child, -1, generateDefaultLayoutParams()); in addViewInternal()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java136 itemView.addView(filterText, 1); in populateView()
183 mLayout.addView(inflateItemView(stateObject), i); in updateDrawer()
216 mainLayout.addView(surfaceView); in onItemSelected()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java136 itemView.addView(filterText, 1); in populateView()
183 mLayout.addView(inflateItemView(stateObject), i); in updateDrawer()
216 mainLayout.addView(surfaceView); in onItemSelected()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/testing/
DLocalActivityManagerContainer.java39 addView(innerContents); in init()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DButtonBarItem.java99 layout.addView(button); in onBindView()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterBarMixin.java202 buttonContainer.addView(space);
394 buttonContainer.addView(tempSecondaryButton);
398 buttonContainer.addView(tempPrimaryButton);
414 buttonContainer.addView(button);
/external/adhd/scripts/audio_tuning/frontend/
Dgoogle_drive_picker.js59 addView(google.picker.ViewId.DOCS).
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DUnhandledExceptionHandler.java50 scrollingContainer.addView(errorView); in uncaughtException()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DHelpActivity.java79 content.addView(button); in onCreate()

12