/frameworks/base/core/java/android/widget/ |
FastScroller.java | 116 // Bounds are always top right. Y coordinate get's translated during draw 202 (int) (rectF.bottom + rectF.top) / 2 + mOverlaySize / 4 - descent, paint); 219 pos.top = h / 10; // 10% from top 220 pos.bottom = pos.top + mOverlaySize; 222 mOverlayDrawable.setBounds((int) pos.left, (int) pos.top,
|
FrameLayout.java | 36 * children are pegged to the top left of the screen. 37 * Children are drawn in a stack, with the most recently added child on top. 126 foregroundGravity |= Gravity.TOP; 136 mForegroundPaddingTop = padding.top; 181 * Supply a Drawable that is to be rendered on top of all of the child 186 * @param drawable The Drawable to be drawn on top of the children. 213 mForegroundPaddingTop = padding.top; 228 * foreground drawable, if non-null, is always drawn on top of the children. 279 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { 286 final int parentBottom = bottom - top - mPaddingBottom - mForegroundPaddingBottom [all...] |
TextView.java | 1279 int top = getCompoundPaddingTop(); local 1312 int top = getCompoundPaddingTop(); local 3635 int top = getExtendedPaddingTop() + getVerticalOffset(true); local 3660 int top = mLayout.getLineTop(line); local 3917 final int top = mTop; local 5614 final int top = mLayout.getLineTop(line); local 5786 final int top = mLayout.getLineTop(line); local 7850 final int top = 0; local [all...] |
RelativeLayout.java | 85 * Rule that aligns a child's bottom edge with another child's top edge. 89 * Rule that aligns a child's top edge with another child's bottom edge. 102 * Rule that aligns a child's top edge with another child's top edge. 120 * Rule that aligns the child's top edge with its RelativeLayout 121 * parent's top edge. 156 private int mGravity = Gravity.LEFT | Gravity.TOP; 191 * effect if the gravity is <code>Gravity.LEFT | Gravity.TOP</code>. 207 * <code>Gravity.LEFT | Gravity.TOP</code>. 224 gravity |= Gravity.TOP; 343 int top = Integer.MAX_VALUE; local 895 int top = (myHeight - childHeight) \/ 2; local [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
ButtonsWithTallTextViewInBetweenTest.java | 57 return mTempRect.top; 68 assertTrue("top button should be shorter than max scroll amount", 84 assertTrue("top button should be off screen", 87 assertFalse("top button should have lost focus",
|
ShortButtonsTest.java | 96 assertEquals("should be fully scrolled to top", 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
DrawableContainer.java | 397 if (t.top > r.top) r.top = t.top;
|
/frameworks/base/opengl/java/android/opengl/ |
GLES11Ext.java | 343 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 349 int top, 574 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 580 int top, 942 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 948 float top, 953 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 959 float top, [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
WebView.java | 147 public boolean pageUp(boolean top) {
|
/hardware/libhardware/include/hardware/ |
gralloc.h | 285 * return -EINVAL if width or height <=0, or if left or top < 0 288 int left, int top, int width, int height);
|
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 225 int top = mSelectorDefaultY + (y - mDownY); local 226 if (top <= mSelectorMinY && canScrollDown()) { 233 } else if (top >= mSelectorMaxY && canScrollUp()) { 241 mSelectorY = top; 280 /* The bounds of the top area where the text should be light */
|
/sdk/emulator/qtools/ |
trace_reader.h | 1398 int top = pstate->method_stack_top; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 103 assertEquals(0, rect1.top); 107 assertEquals(0, r1.top); 116 assertEquals(10, rect2.top); 120 assertEquals(10, r2.top); 129 assertEquals(50, rect3.top); 133 assertEquals(50, r3.top); 294 assertEquals(0, r.top); 301 assertEquals(10, r.top); 438 assertEquals(0, r.top);
|
ScaleDrawableTest.java | 409 assertEquals(expected.top, mockDrawable.getBounds().top); 426 assertEquals(expected.top, mockDrawable.getBounds().top); 437 assertEquals(bounds.top, mockDrawable.getBounds().top); 448 assertEquals(bounds.top, mockDrawable.getBounds().top);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsListViewTest.java | 264 assertEquals(0, r1.top); 272 assertTrue(r2.top > 0); 277 assertTrue(r2.top > r1.top); 278 assertEquals(r1.bottom - r1.top, r2.bottom - r2.top); 371 mListView.setPadding(r.left, r.top, r.right, r.bottom); 377 assertEquals(r.top, mListView.getListPaddingTop()); 440 assertEquals(v.getTop(), r.top); [all...] |
/external/chromium/third_party/icu/source/tools/genrb/ |
reslist.c | 317 uint32_t top, size; local 385 usedOffset = bundle->fKeyPoint + pad ; /* top of the strings */ 388 top = usedOffset + bundle->fRoot->u.fTable.fChildrenSize; 389 root = (top) >> 2 | (bundle->fRoot->fType << 28); 394 /* add to top the size of the root item */ 395 top += bundle->fRoot->fSize; 396 top += calcPadding(top); 406 indexes[URES_INDEX_RESOURCES_TOP]= (int32_t)(top>>2); 433 if(top != size) [all...] |
/external/freetype/src/cff/ |
cffobjs.c | 507 /* support will be added later to a layout library on top of */ 602 CFF_FontRecDict top = &cff->top_font.font_dict; local 615 if ( top->units_per_em > 1 && sub->units_per_em > 1 ) 616 scaling = FT_MIN( top->units_per_em, sub->units_per_em ); 620 FT_Matrix_Multiply_Scaled( &top->font_matrix, 624 &top->font_matrix, 628 top->units_per_em, 633 sub->font_matrix = top->font_matrix; 634 sub->font_offset = top->font_offset; 636 sub->units_per_em = top->units_per_em [all...] |
/external/quake/quake/src/QW/client/ |
cl_parse.c | 881 int top, bottom; 904 top = player->topcolor; 905 if (top > 13 || top < 0) 906 top = 13; 907 top *= 16; 915 if (top < 128) // the artists made some backwards ranges. sigh. 916 memcpy (dest + TOP_RANGE, source + top, 16); 919 dest[TOP_RANGE+j] = source[top+15-j];
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageGallery.java | 820 int top = (w - height) / 2 + yPos; 821 mDstRect.set(left, top, left + width, top + height); 847 int top = (h - height) / 2 + yPos; 848 mSrcRect.set(left, top, left + width, top + height); 869 int top = h - height - 5 + yPos; 870 mSrcRect.set(left, top, left + width, top + height); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5video.c | 1179 HWND top; local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActivityStack.java | 106 // the user about an unexpected activity being launched on top. 210 * when we normally hold the top activity paused. 389 * Returns the top activity in any existing task matching the given 418 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 424 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 434 * Returns the first activity (starting from the top of the stack) that 451 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 1869 int top = mHistory.size(); local 2174 ActivityRecord top = performClearTaskLocked( local 2259 ActivityRecord top = topRunningNonDelayedActivityLocked(notTop); local 2319 ActivityRecord top = performClearTaskLocked( local 2338 ActivityRecord top = moveActivityToFrontLocked(where); local 3257 int top = mHistory.size()-1; local [all...] |
/external/chromium/third_party/icu/source/i18n/ |
ucol_tok.cpp | 114 /* know for the [top] range will explicitly set the upper bound for */ 117 /* In that respect, we use [top] for tailoring of locales that use CJK */ 152 // Set values for the top - TODO: once we have values for all the indirects, we are going 262 U_STRING_DECL(option_04, "variable top", 12); 263 U_STRING_DECL(option_05, "top", 3); 285 [top] guaranteed to be above all implicit CEs, for now and in the future (in 1.8) 366 /*08*/ {option_04, 12, NULL, 0, UCOL_ATTRIBUTE_COUNT}, /*"variable top" */ 369 /*11*/ {option_05, 3, NULL, 0, UCOL_ATTRIBUTE_COUNT}, /*"top" */ 429 U_STRING_INIT(option_04, "variable top", 12); 430 U_STRING_INIT(option_05, "top", 3) 749 UBool top = FALSE; local 1365 UBool top = FALSE; local [all...] |
/external/webkit/WebCore/rendering/ |
RenderInline.cpp | 580 int top = boundingBox.y(); local 591 toRenderInline(inlineFlow)->layer()->relativePositionOffset(left, top); 594 IntRect r(-ow + left, -ow + top, boundingBox.width() + ow * 2, boundingBox.height() + ow * 2); 939 int top = max(root->lineTop(), curr->y()); local 997 int top = max(root->lineTop(), curr->y()); local [all...] |
/build/tools/droiddoc/templates/ |
hierarchy.cs | 9 vertical-align: top;
|
/development/ndk/platforms/android-4/include/GLES/ |
glext.h | 343 GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 361 GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 383 typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 401 typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 510 GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 511 GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 517 typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 518 typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
|