Home
last modified time | relevance | path

Searched refs:paddingTop (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt/
DImages.cpp354 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do_9patch()
404 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
406 errorPixel = image->info9Patch.paddingTop; in do_9patch()
425 if (image->info9Patch.paddingTop < 0) { in do_9patch()
426 image->info9Patch.paddingTop = yDivs[0]; in do_9patch()
438 image->info9Patch.paddingTop, image->info9Patch.paddingBottom)); in do_9patch()
574 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
594 patch1.paddingTop == patch2.paddingTop && in patch_equals()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp281 peeker.fPatch->paddingTop, in doDecode()
448 chunk->paddingTop = int(chunk->paddingTop * scale + 0.5f); in nativeScaleNinePatch()
469 GraphicsJNI::set_jrect(env, padding, chunk->paddingLeft, chunk->paddingTop, in nativeScaleNinePatch()
/frameworks/base/core/java/android/widget/
DLinearLayout.java1148 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1158 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1208 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1226 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1238 childTop = paddingTop; in layoutHorizontal()
DTextView.java4227 int paddingTop = getExtendedPaddingTop(); in getFocusedRect() local
4229 paddingTop += getVerticalOffset(false); in getFocusedRect()
4231 r.offset(paddingLeft, paddingTop); in getFocusedRect()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java873 final int paddingTop = mPaddingTop; in onDraw()
877 float topY = paddingTop + i * squareHeight; in onDraw()
902 float topY = paddingTop + cell.row * squareHeight; in onDraw()
/frameworks/base/core/java/android/app/
DActivity.java1215 int paddingTop = 0; in onCreateThumbnail() local
1226 paddingTop = child.getPaddingTop(); in onCreateThumbnail()
1233 final int visibleHeight = mDecor.getHeight() - paddingTop - paddingBottom; in onCreateThumbnail()
1238 canvas.translate(-paddingLeft, -paddingTop); in onCreateThumbnail()
/frameworks/base/docs/html/resources/articles/
Dlayout-tricks-merge.jd127 android:paddingTop="8dip"
/frameworks/base/core/java/android/view/
DView.java6911 int paddingTop = mPaddingTop; in draw() local
6916 paddingTop += getTopPaddingOffset(); in draw()
6921 int top = mScrollY + paddingTop; in draw()
6922 int bottom = top + mBottom - mTop - mPaddingBottom - paddingTop; in draw()
/frameworks/base/libs/utils/
DResourceTypes.cpp142 paddingTop = htonl(paddingTop); in deviceToFile()
159 paddingTop = ntohl(paddingTop); in fileToDevice()
/frameworks/base/include/utils/
DResourceTypes.h123 int32_t paddingTop, paddingBottom; member