Lines Matching refs:top
87 int top = (faceRect.top+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE;
92 if (top < 0) {
93 top = 0;
94 } else if (top > bitmap.getHeight()) {
95 top = bitmap.getHeight();
113 for (int j = 0; j < (bottom - top); j++) {
115 if (left > 0 && top > 0) {
116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
120 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
125 if (right > 0 && top > 0) {
126 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
128 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
130 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
137 if (top < bitmap.getHeight()) {
138 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k) +
140 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k) +
142 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k) +