Lines Matching refs:left
125 // make up a rect at top left or bottom right of root
286 * @param direction the direction (up, down, left, right)
343 // for example, for direction left, if rect1 is to the left of the source
375 * checks whether the dest is at least partially to the direction of (e.g left of)
384 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
385 && srcRect.left > destRect.left;
387 return (srcRect.left < destRect.left || srcRect.right <= destRect.left)
403 * @param direction the direction (up, down, left, right)
415 return (rect2.right >= rect1.left) && (rect2.left <= rect1.right);
422 * e.g for left, is 'to left of'
427 return src.left >= dest.right;
429 return src.right <= dest.left;
451 return source.left - dest.right;
453 return dest.left - source.right;
476 return source.left - dest.left;
491 * @param direction the direction (up, down, left, right)
508 ((source.left + source.width() / 2) -
509 ((dest.left + dest.width() / 2))));
557 distance = touchableBounds.left;
602 return destRect.left <= x && destRect.top <= y && y <= destRect.bottom;
604 return destRect.left >= x && destRect.top <= y && y <= destRect.bottom;
606 return destRect.top <= y && destRect.left <= x && x <= destRect.right;
608 return destRect.top >= y && destRect.left <= x && x <= destRect.right;
643 } else if (mFirstRect.left < mSecondRect.left) {
645 } else if (mFirstRect.left > mSecondRect.left) {