Home
last modified time | relevance | path

Searched refs:parentView (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java123 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, in insertChild() argument
125 if (parentView instanceof ViewGroup == false) { in insertChild()
133 mLastResult = mSession.insertChild((ViewGroup) parentView, childXml, index, in insertChild()
146 public Result moveChild(Object parentView, Object childView, int index, in moveChild() argument
148 if (parentView instanceof ViewGroup == false) { in moveChild()
159 mLastResult = mSession.moveChild((ViewGroup) parentView, (View) childView, index, in moveChild()
DBridge.java391 ViewParent parentView = view.getParent(); in getViewIndex() local
393 if (parentView instanceof ViewGroup) { in getViewIndex()
394 Status.SUCCESS.createResult(((ViewGroup) parentView).indexOfChild(view)); in getViewIndex()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java50 @NonNull ViewGroup parentView) { in BridgeActionBar() argument
77 parentView.addView(mEnclosingLayout); in BridgeActionBar()
79 mEnclosingLayout = parentView; in BridgeActionBar()
DAppCompatActionBar.java51 @NonNull ViewGroup parentView) { in AppCompatActionBar() argument
52 super(context, params, parentView); in AppCompatActionBar()
DFrameworkActionBar.java64 @NonNull ViewGroup parentView) { in FrameworkActionBar() argument
65 super(context, params, parentView); in FrameworkActionBar()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java170 public void onItemSelected(AdapterView<?> parentView, View selectedItem, in DisplayModifierSpinner()
177 public void onNothingSelected(AdapterView<?> parentView) { in DisplayModifierSpinner()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java714 public Result insertChild(final ViewGroup parentView, ILayoutPullParser childXml, in insertChild() argument
727 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/); in insertChild()
737 parentView.setLayoutTransition(new LayoutTransition()); in insertChild()
738 return addView(parentView, child, index); in insertChild()
743 parentView.setLayoutTransition(null); in insertChild()
752 Result result = addView(parentView, child, index); in insertChild()
1667 ViewGroup parentView) { in createActionBar() argument
1669 return new AppCompatActionBar(context, params, parentView); in createActionBar()
1671 return new FrameworkActionBar(context, params, parentView); in createActionBar()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java169 public void onItemSelected(AdapterView<?> parentView, View selectedItemView, in onCreate()
183 public void onNothingSelected(AdapterView<?> parentView) { in onCreate()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java280 View parentView = (View) parent; in isNested() local
281 if (sharedElements.containsValue(parentView)) { in isNested()
285 parent = parentView.getParent(); in isNested()
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd263 View parentView = findViewById(R.id.parent_layout);
265 parentView.post(new Runnable() {
/frameworks/base/core/java/android/view/
DView.java5042 View parentView = (View) parent; in requestRectangleOnScreen() local
5044 position.offset(-parentView.getScrollX(), -parentView.getScrollY()); in requestRectangleOnScreen()
5046 child = parentView; in requestRectangleOnScreen()
5588 View parentView = (View) parent; in getBoundsOnScreen() local
5590 position.offset(-parentView.mScrollX, -parentView.mScrollY); in getBoundsOnScreen()
5595 position.right = Math.min(position.right, parentView.getWidth()); in getBoundsOnScreen()
5596 position.bottom = Math.min(position.bottom, parentView.getHeight()); in getBoundsOnScreen()
5599 if (!parentView.hasIdentityMatrix()) { in getBoundsOnScreen()
5600 parentView.getMatrix().mapRect(position); in getBoundsOnScreen()
5603 position.offset(parentView.mLeft, parentView.mTop); in getBoundsOnScreen()
[all …]
DAccessibilityInteractionController.java909 View parentView = (View) parent; in prefetchPredecessorsOfRealNode() local
910 AccessibilityNodeInfo info = parentView.createAccessibilityNodeInfo(); in prefetchPredecessorsOfRealNode()