Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java145 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, in insertChild() argument
147 if (!(parentView instanceof ViewGroup)) { in insertChild()
157 mSession.insertChild((ViewGroup) parentView, childXml, index, listener); in insertChild()
170 public Result moveChild(Object parentView, Object childView, int index, in moveChild() argument
172 if (!(parentView instanceof ViewGroup)) { in moveChild()
184 … mLastResult = mSession.moveChild((ViewGroup) parentView, (View) childView, index, in moveChild()
DBridge.java504 ViewParent parentView = view.getParent(); in getViewIndex() local
506 if (parentView instanceof ViewGroup) { in getViewIndex()
507 Status.SUCCESS.createResult(((ViewGroup) parentView).indexOfChild(view)); in getViewIndex()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java389 final View parentView; in showMenu() local
392 parentView = findParentViewForSubmenu(parentInfo, menu); in showMenu()
395 parentView = null; in showMenu()
398 if (parentView != null) { in showMenu()
412 popupWindow.setAnchorView(parentView); in showMenu()
429 parentView.getLocationOnScreen(parentViewScreenLocation); in showMenu()
446 x = parentOffsetLeft - parentView.getWidth(); in showMenu()
450 x = parentOffsetLeft + parentView.getWidth(); in showMenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java373 final View parentView; in showMenu() local
376 parentView = findParentViewForSubmenu(parentInfo, menu); in showMenu()
379 parentView = null; in showMenu()
382 if (parentView != null) { in showMenu()
384 popupWindow.setAnchorView(parentView); in showMenu()
401 x = -parentView.getWidth(); in showMenu()
405 x = parentView.getWidth(); in showMenu()
/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/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java685 public Result insertChild(final ViewGroup parentView, ILayoutPullParser childXml, in insertChild() argument
698 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/); in insertChild()
708 parentView.setLayoutTransition(new LayoutTransition()); in insertChild()
709 return addView(parentView, child, index); in insertChild()
714 parentView.setLayoutTransition(null); in insertChild()
723 Result result = addView(parentView, child, index); in insertChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java324 TextView parentView = (TextView) parent; in compare() local
326 return parentView.getText().equals(childView.getText()); in compare()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java277 View parentView = (View) parent; in isNested() local
278 if (sharedElements.containsValue(parentView)) { in isNested()
282 parent = parentView.getParent(); in isNested()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java915 View parentView = (View) parent; in prefetchPredecessorsOfRealNode() local
916 AccessibilityNodeInfo info = parentView.createAccessibilityNodeInfo(); in prefetchPredecessorsOfRealNode()
DView.java7356 View parentView = (View) parent;
7358 rect.offset(-parentView.mScrollX, -parentView.mScrollY);
7363 rect.right = Math.min(rect.right, parentView.getWidth());
7364 rect.bottom = Math.min(rect.bottom, parentView.getHeight());
7367 if (!parentView.hasIdentityMatrix()) {
7368 parentView.getMatrix().mapRect(rect);
7371 rect.offset(parentView.mLeft, parentView.mTop);
7373 parent = parentView.mParent;
11085 View parentView = (View) mParent;
11086 if (parentView.includeForAccessibility()) {