Lines Matching refs:bottom
186 rect.right * mImageWidth, rect.bottom * mImageHeight);
317 && r.top >= d && r.bottom < height - d) return;
352 offsetY + (input.bottom * mImageHeight - y) * s);
390 mImageHeight * (highlight.top + highlight.bottom) * 0.5f);
403 (highlight.top + highlight.bottom) * mImageHeight / 2);
462 dy = Utils.clamp(dy, -r.top , 1 - r.bottom);
464 r.bottom += dy;
474 float bottom = r.bottom - MIN_SELECTION_LENGTH / mImageHeight;
482 r.top = Utils.clamp(point.y, 0, bottom);
485 r.bottom = Utils.clamp(point.y, top, 1f);
492 r.bottom = Utils.clamp(r.top + height, top, 1f);
494 r.top = Utils.clamp(r.bottom - height, 0, bottom);
514 r.bottom = Utils.clamp(r.top + height, top, 1f);
516 r.top = Utils.clamp(r.bottom - height, 0, bottom);
530 && y > r.top + TOUCH_TOLERANCE && y < r.bottom - TOUCH_TOLERANCE) {
536 && y <= (r.bottom + TOUCH_TOLERANCE);
551 (r.top + r.bottom) / 2) ? MOVE_BOTTOM : MOVE_TOP;
556 boolean bottom = Math.abs(y - r.bottom) <= TOUCH_TOLERANCE;
557 if (top && bottom) {
558 top = Math.abs(y - r.top) < Math.abs(y - r.bottom);
559 bottom = !top;
562 if (bottom) mMovingEdges |= MOVE_BOTTOM;
599 float centerY = (r.top + r.bottom) / 2;
620 Math.round(r.bottom - mArrow.getHeight() / 2));
712 r.top = (r.top + r.bottom - h) * 0.5f;
713 r.bottom = r.top + h;
720 r.bottom /= height;