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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java116 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, argument
118 if (parentView instanceof ViewGroup == false) {
119 throw new IllegalArgumentException("parentView is not a ViewGroup");
126 mLastResult = mSession.insertChild((ViewGroup) parentView, childXml, index,
139 public Result moveChild(Object parentView, Object childView, int index, argument
141 if (parentView instanceof ViewGroup == false) {
142 throw new IllegalArgumentException("parentView is not a ViewGroup");
152 mLastResult = mSession.moveChild((ViewGroup) parentView, (View) childView, index,
H A DBridge.java502 ViewParent parentView = view.getParent();
504 if (parentView instanceof ViewGroup) {
505 Status.SUCCESS.createResult(((ViewGroup) parentView).indexOfChild(view));
/frameworks/base/core/java/com/android/internal/view/menu/
H A DCascadingMenuPopup.java373 final View parentView;
376 parentView = findParentViewForSubmenu(parentInfo, menu);
379 parentView = null;
382 if (parentView != null) {
395 parentView.getLocationInWindow(tempLocation);
406 x = parentOffsetLeft - parentView.getWidth();
410 x = parentOffsetLeft + parentView.getWidth();
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DCascadingMenuPopup.java367 final View parentView;
370 parentView = findParentViewForSubmenu(parentInfo, menu);
373 parentView = null;
376 if (parentView != null) {
389 parentView.getLocationInWindow(tempLocation);
400 x = parentOffsetLeft - parentView.getWidth();
404 x = parentOffsetLeft + parentView.getWidth();
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java170 public void onItemSelected(AdapterView<?> parentView, View selectedItem,
177 public void onNothingSelected(AdapterView<?> parentView) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DSmartCamera.java169 public void onItemSelected(AdapterView<?> parentView, View selectedItemView,
183 public void onNothingSelected(AdapterView<?> parentView) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java615 public Result insertChild(final ViewGroup parentView, ILayoutPullParser childXml, argument
626 // get added. We do pass the parentView however to ensure that the layoutParams will
628 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/);
638 parentView.setLayoutTransition(new LayoutTransition());
639 return addView(parentView, child, index);
644 parentView.setLayoutTransition(null);
652 // add it to the parentView in the correct location
653 Result result = addView(parentView, child, index);
851 // add it to the parentView in the correct location
870 // add it to the parentView i
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationHeaderUtil.java324 TextView parentView = (TextView) parent;
326 return parentView.getText().equals(childView.getText());
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java271 View parentView = (View) parent;
272 if (sharedElements.containsValue(parentView)) {
276 parent = parentView.getParent();
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java954 View parentView = (View) parent;
955 AccessibilityNodeInfo info = parentView.createAccessibilityNodeInfo();
H A DView.java6646 View parentView = (View) parent;
6648 position.offset(-parentView.mScrollX, -parentView.mScrollY);
6653 position.right = Math.min(position.right, parentView.getWidth());
6654 position.bottom = Math.min(position.bottom, parentView.getHeight());
6657 if (!parentView.hasIdentityMatrix()) {
6658 parentView.getMatrix().mapRect(position);
6661 position.offset(parentView.mLeft, parentView.mTop);
6663 parent = parentView
[all...]

Completed in 855 milliseconds