Searched defs:parentView (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java118 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, argument
120 if (parentView instanceof ViewGroup == false) {
121 throw new IllegalArgumentException("parentView is not a ViewGroup");
128 mLastResult = mSession.insertChild((ViewGroup) parentView, childXml, index,
141 public Result moveChild(Object parentView, Object childView, int index, argument
143 if (parentView instanceof ViewGroup == false) {
144 throw new IllegalArgumentException("parentView is not a ViewGroup");
154 mLastResult = mSession.moveChild((ViewGroup) parentView, (View) childView, index,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java698 public Result insertChild(final ViewGroup parentView, ILayoutPullParser childXml, argument
709 // get added. We do pass the parentView however to ensure that the layoutParams will
711 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/);
721 parentView.setLayoutTransition(new LayoutTransition());
722 return addView(parentView, child, index);
727 parentView.setLayoutTransition(null);
735 // add it to the parentView in the correct location
736 Result result = addView(parentView, child, index);
934 // add it to the parentView in the correct location
953 // add it to the parentView i
[all...]

Completed in 77 milliseconds