Home
last modified time | relevance | path

Searched refs:parentLocation (Results 1 – 2 of 2) sorted by relevance

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DLocation.java50 public Location parentLocation; field in Location
102 ", parentLocation=" + parentLocation +
106 public void setParentLocation(Location parentLocation) {
107 this.parentLocation = parentLocation;
133 if (parentLocation != null ? !parentLocation.equals(location.parentLocation)
134 : location.parentLocation != null) {
171 if (parentLocation == null) { in getValidParentAbsoluteLocation()
174 if (parentLocation.isValid()) { in getValidParentAbsoluteLocation()
175 return parentLocation.toAbsoluteLocation(); in getValidParentAbsoluteLocation()
177 return parentLocation.getValidParentAbsoluteLocation(); in getValidParentAbsoluteLocation()
/frameworks/base/core/java/android/view/
DViewOverlay.java173 int[] parentLocation = new int[2]; in add() local
175 parent.getLocationOnScreen(parentLocation); in add()
177 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); in add()
178 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); in add()