Lines Matching refs:pt
261 float[] pt = {coord[0], coord[1]}; in getDescendantCoordRelativeToParent() local
277 pt[0] -= v0.getScrollX(); in getDescendantCoordRelativeToParent()
278 pt[1] -= v0.getScrollY(); in getDescendantCoordRelativeToParent()
281 v0.getMatrix().mapPoints(pt); in getDescendantCoordRelativeToParent()
282 pt[0] += v0.getLeft(); in getDescendantCoordRelativeToParent()
283 pt[1] += v0.getTop(); in getDescendantCoordRelativeToParent()
287 coord[0] = (int) Math.round(pt[0]); in getDescendantCoordRelativeToParent()
288 coord[1] = (int) Math.round(pt[1]); in getDescendantCoordRelativeToParent()
299 float[] pt = {coord[0], coord[1]}; in mapCoordInSelfToDescendent() local
315 pt[0] += ancestor.getScrollX(); in mapCoordInSelfToDescendent()
316 pt[1] += ancestor.getScrollY(); in mapCoordInSelfToDescendent()
319 pt[0] -= next.getLeft(); in mapCoordInSelfToDescendent()
320 pt[1] -= next.getTop(); in mapCoordInSelfToDescendent()
322 inverse.mapPoints(pt); in mapCoordInSelfToDescendent()
327 coord[0] = (int) Math.round(pt[0]); in mapCoordInSelfToDescendent()
328 coord[1] = (int) Math.round(pt[1]); in mapCoordInSelfToDescendent()