/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | IndicatorControlBar.java | 30 * A view that contains the top-level indicator control. 88 boolean changed, int left, int top, int right, int bottom) { 92 // We have (equal) paddings at left and right, but no padding at top or 96 int height = bottom - top; 87 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
H A D | ZoomControlBar.java | 60 // landscape mode, the zoom-in bottom should be on the top, so the 126 boolean changed, int left, int top, int right, int bottom) { 128 int height = bottom - top; 131 // the zoom-in button should be on the top. 125 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
H A D | PieItem.java | 187 public void setBounds(int left, int top, int right, int bottom) { argument 188 mDrawable.setBounds(left, top, right, bottom);
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
H A D | FolderSpan.java | 64 return fm.bottom - fm.top; 74 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 551 /** Distance between the mFirstCell and the top of first fully visible hour. */ 1033 // grid height (to get the y of the top of the visible 1316 mExpandAllDayRect.top = mExpandAllDayRect.bottom 1326 // Compute the top of our reachable view 1946 // If the selected hour is at least 2 time slots from the top and 2181 dest.top = (int) (mFirstCell - yTranslate); 2305 r.top = 0; 2313 r.top = DAY_HEADER_HEIGHT; 2332 r.top = 0; 2344 mRect.top 2434 drawCurrentTimeLine(Rect r, final int day, final int top, Canvas canvas, Paint p) argument 2753 saveSelectionPosition(float left, float top, float right, float bottom) argument 3092 drawEvents(int date, int dayIndex, int top, Canvas canvas, Paint p) argument 3555 drawEventText(StaticLayout eventLayout, Rect rect, Canvas canvas, int top, int bottom, boolean center) argument [all...] |
H A D | DayOfMonthDrawable.java | 52 int textHeight = mTextBounds.bottom - mTextBounds.top;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 139 global_rect.rgt = global_rect.top = -2e30; // max values 151 // Corners of the top-most and bottom-most frames respectively in the 186 if(y0 < yTopCorners[0] || y3 < yTopCorners[1]) // If either of the top corners is lower 213 fullRect.top = (int) floor(global_rect.bot); // min-y 215 fullRect.bottom = (int) ceil(global_rect.top);// max-y 217 Mheight = (unsigned short) (fullRect.bottom - fullRect.top + 1); 226 yTopMost = max(0, max(yTopCorners[0], yTopCorners[1]) - fullRect.top + 1); 227 yBottomMost = min(Mheight - 1, min(yBottomCorners[0], yBottomCorners[1]) - fullRect.top - 1); 279 cropping_rect.top = yTopMost; 299 mosaicHeight = cropping_rect.bottom - cropping_rect.top [all...] |
H A D | Pyramid.h | 47 static void BorderSpread(PyramidShort *pyr, int left, int right, int top, int bot);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | GridViewSpecial.java | 61 * [0, 1], when 0 means on the top and 1 means on the buttom 192 public void onLayout(boolean changed, int left, int top, argument 194 super.onLayout(changed, left, top, right, bottom); 225 - (bottom - top); 415 scrollTo(0, r.top); 420 int top = getScrollY(); 424 } else if (r.top < top) { 425 scrollTo(0, r.top); 431 int top [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndbdic.c | 111 NJ_UINT16 bit_data, NJ_UINT32 top, 844 loctset->loct.top = data_offset; 849 bottom = loctset->loct.top; 956 stem_data = data_top + loctset->loct.top; 1006 data += loctset->loct.top + loctset->loct.current; 1071 data = data_top + loctset->loct.top + loctset->loct.current; 1114 data = data_top + loctset->loct.top; 1337 data += loctset->loct.top + loctset->loct.current; 1346 data += loctset->loct.top + loctset->loct.current; 1410 data += loc->top 2250 get_node_bottom(NJ_CHAR * yomi, NJ_UINT8 * now, NJ_UINT8 * node_mid, NJ_UINT8 * data_top, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT32 top, NJ_DIC_HANDLE handle, NJ_UINT32 * ret_bottom) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | StickyBottomCaptureLayout.java | 100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 107 mModeOptionsOverlay.layout((int) uncoveredPreviewRect.left, (int) uncoveredPreviewRect.top, 123 mBottomBar.layout((int) bottomBarRect.left, (int) bottomBarRect.top, 178 y = uncoveredPreviewRect.top + roundedThumbnailViewPadding -
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
H A D | DialpadTextView.java | 28 * dialpad. TextView has built in top/bottom padding to help account for ascenders/descenders. 52 // standard origin such as 0, 0, we need to use negative of the left/top bounds. 54 canvas.drawText(mTextStr, -mTextBounds.left, -mTextBounds.top, paint);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | AlignedTextView.java | 61 (int) Math.ceil(mTempRect.top - paint.ascent()));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | Face.java | 38 mPosition.top = Integer.parseInt(tokenizer.nextToken());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterRedEye.java | 71 rect[1] = (short) r.top;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | NinePatchChunk.java | 70 chunk.mPaddings.top = byteBuffer.getInt();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | MeasureHelper.java | 49 getLength(heightSpec, mPreferredHeight + p.top + p.bottom));
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | PendingItemDragHelper.java | 134 previewBounds.top += padding; 139 dragRegion.top = (size[1] - iconSize - dp.iconTextSizePx - dp.iconDrawablePaddingPx) / 2; 140 dragRegion.bottom = dragRegion.top + iconSize; 149 int dragLayerY = screenPos.y + previewBounds.top
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ModePicker.java | 254 boolean changed, int left, int top, int right, int bottom) { 255 super.onLayout(changed, left, top, right, bottom); 264 (bottom - top - mCurrentModeBar.getHeight()), 266 (bottom - top)); 253 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/Messaging/jni/ |
H A D | GifTranscoder.h | 72 int top,
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
H A D | ManualLayoutFrame.java | 63 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 67 // the top of the screen move it down as much as possible, then keep it at that position for
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
H A D | DialpadTextView.java | 28 * dialpad. TextView has built in top/bottom padding to help account for ascenders/descenders. 53 // standard origin such as 0, 0, we need to use negative of the left/top bounds. 55 canvas.drawText(mTextStr, -mTextBounds.left, -mTextBounds.top, paint);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | InputView.java | 74 final int y = (int)me.getY(index) + rect.top; 76 // The touch events that hit the top padding of keyboard should be forwarded to 104 final int y = (int)me.getY(index) + rect.top; 139 return y - mEventReceivingRect.top; 186 * This class forwards {@link MotionEvent}s happened in the top padding of 203 return y < mEventSendingRect.top + mKeyboardTopPadding;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CursorAnchorInfoUtils.java | 140 final float viewportToContentVerticalOffset = lineBoundsWithOffset.top 141 - lineBoundsWithoutOffset.top - textView.getScrollY(); 178 final float top = layout.getLineTop(line); 206 // TODO: Check top-right and bottom-left as well. 209 final float localTop = top + viewportToContentVerticalOffset;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DeleteDropTarget.java | 277 int offsetY = (int) (-from.top * vp); 279 final float y2 = from.top + offsetY; // intermediate t/l 282 final float y1 = from.top; 284 final float y3 = to.top; 354 mFrom.top += yOffset; 358 mFrom.top += (mVelocity.y * (curTime - mPrevTime) / 1000f); 361 dragView.setTranslationY(mFrom.top);
|