/external/icu4c/tools/makeconv/ |
gencnvex.c | 117 int32_t length, top, headerSize; local 146 top=0; 149 top+=length*4; 151 indexes[UCNV_EXT_TO_U_INDEX]=top; 153 top+=length*4; 155 indexes[UCNV_EXT_TO_U_UCHARS_INDEX]=top; 157 top+=length*2; 159 indexes[UCNV_EXT_FROM_U_UCHARS_INDEX]=top; 161 top+=length*2; 163 if(top&3) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path.java | 189 bounds.top = (float)rect.getMinY(); 404 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 411 * @param top The top of a rectangle to add to the path 416 public void addRect(float left, float top, float right, float bottom, 418 moveTo(left, top); 422 lineTo(right, top); 429 lineTo(right, top); 448 Ellipse2D ovalShape = new Ellipse2D.Float(oval.left, oval.top, oval.width(), oval.height()); 499 * two radius values [X, Y]. The corners are ordered top-left, top-right [all...] |
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 104 int top = y + ((cellHeight-h)/2); local 106 child.layout(left, top, left+w, top+h);
|
/external/grub/lib/ |
getopt.c | 316 int top = optind; 326 string can work normally. Our top argument must be in the range 328 if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) 332 char *new_str = malloc (top + 1); 339 '\0', top + 1 - nonoption_flags_max_len); 340 nonoption_flags_max_len = top + 1; 346 while (top > middle && middle > bottom) 348 if (top - middle > middle - bottom) 354 /* Swap it with the top part of the top segment. * 313 int top = optind; local [all...] |
/external/skia/experimental/ |
SkSetPoly3To3_D.cpp | 7 int top = result >> 31; local 8 SkASSERT(top == 0 || top == -1);
|
/external/webkit/WebCore/platform/graphics/ |
FloatQuad.cpp | 80 float top = min4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); local 85 return FloatRect(left, top, right - left, bottom - top);
|
/external/webkit/WebCore/rendering/ |
RootInlineBox.h | 65 void setLineTopBottomPositions(int top, int bottom); 157 inline void RootInlineBox::setLineTopBottomPositions(int top, int bottom) 159 m_lineTop = top;
|
/frameworks/base/core/java/android/text/ |
Layout.java | 174 dtop = sTempRect.top; 179 int top = 0; local 182 if (dtop > top) { 183 top = dtop; 189 int first = getLineForVertical(top); 260 // the baseline is the top of the following line minus the current 456 * If bounds is not null, return the top, left, right, bottom extents 465 bounds.top = getLineTop(line); 473 * Return the vertical position of the top of the specified line 517 * top line of the Layout 1126 int top = getLineTop(line); local 1250 int top = getLineTop(startline); local 1262 dest.addRect(getLineLeft(startline), top, local 1265 dest.addRect(getLineRight(startline), top, local 1629 int ascent = 0, descent = 0, top = 0, bottom = 0; local [all...] |
/external/openssl/crypto/bn/ |
bn_nist.c | 289 static void nist_cp_bn_0(BN_ULONG *buf, BN_ULONG *a, int top, int max) 295 OPENSSL_assert(top <= max); 297 for (i = (top); i != 0; i--) 299 for (i = (max) - (top); i != 0; i--) 303 static void nist_cp_bn(BN_ULONG *buf, BN_ULONG *a, int top) 307 for (i = (top); i != 0; i--) 350 int top = a->top, i; local 388 nist_cp_bn_0(buf, a_d + BN_NIST_192_TOP, top - BN_NIST_192_TOP, BN_NIST_192_TOP); 412 r->top = BN_NIST_192_TOP 434 int top = a->top, i; local 545 int i, top = a->top; local 667 int i, top = a->top; local 780 int top = a->top, i; local [all...] |
/external/openssl/crypto/err/ |
err.c | 328 static unsigned long get_error_values(int inc,int top,const char **file,int *line, 732 es->top=(es->top+1)%ERR_NUM_ERRORS; 733 if (es->top == es->bottom) 735 es->err_flags[es->top]=0; 736 es->err_buffer[es->top]=ERR_PACK(lib,func,reason); 737 es->err_file[es->top]=file; 738 es->err_line[es->top]=line; 739 err_clear_data(es,es->top); 753 es->top=es->bottom=0 [all...] |
/frameworks/base/core/java/android/widget/ |
ScrollView.java | 47 * array of top-level items that the user can scroll through. 656 * (excluding fading edges) pretending that this View's top is located at 657 * the parameter top. 660 * @param topFocus look for a candidate is the one at the top of the bounds 663 * @param top the top offset of the bounds in which a focusable must be 671 final int top, View preferredFocusable) { 678 final int topWithoutFadingEdge = top + fadingEdgeLength; 679 final int bottomWithoutFadingEdge = top + getHeight() - fadingEdgeLength; 696 * @param topFocus look for a candidate is the one at the top of the bound [all...] |
/sdk/ninepatch/src/com/android/ninepatch/ |
NinePatch.java | 142 * @param padding array of left, top, right, bottom padding 148 padding[1] = mVerticalPadding.mFirst; // top 340 Pair<List<Pair<Integer>>> top = getPatches(row, result); local 343 mFixed = getRectangles(left.mFirst, top.mFirst); 344 mPatches = getRectangles(left.mSecond, top.mSecond); 347 mHorizontalPatches = getRectangles(left.mFirst, top.mSecond); 348 mVerticalPatches = getRectangles(left.mSecond, top.mFirst); 350 if (top.mFirst.size() > 0) { 352 mVerticalPatches = getVerticalRectangles(top.mFirst); 364 top = getPatches(row, result) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintFlagsDrawFilterTest.java | 107 rect.top = Math.min(rect.top, y); 113 assertTrue(rect.top <= rect.bottom); 117 assertTrue(rect.top >= TEXT_Y);
|
/cts/tools/dasm/src/java_cup/runtime/ |
virtual_parse_stack.java | 7 * replaces the top portion of the actual parse stack (the part that 56 /** Top of stack indicator for where we leave off in the real stack. 57 * This is measured from top of stack, so 0 would indicate that no 64 /** The virtual top portion of the stack. This stack contains Integer 65 * objects with state numbers. This stack shadows the top portion 108 /** Return value on the top of the stack (without popping it). */ 109 public int top() throws java.lang.Exception method in class:virtual_parse_stack 113 "Internal parser error: top() called on empty virtual stack");
|
/external/chromium/base/ |
at_exit.cc | 60 CallbackAndParam callback_and_param = g_top_manager->stack_.top();
|
/external/freetype/src/cff/ |
cffparse.h | 45 FT_Byte** top; member in struct:CFF_ParserRec_
|
/external/icu4c/samples/layout/ |
Surface.cpp | 20 clip.top = 0;
|
/external/skia/include/utils/ |
SkTextBox.h | 58 void setBox(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);
|
/external/skia/src/core/ |
SkSpriteBlitter.h | 31 virtual void setup(const SkBitmap& device, int left, int top,
|
/external/webkit/WebCore/css/ |
CSSBorderImageValue.cpp | 44 text += m_imageSliceRect->top()->cssText();
|
/external/webkit/WebKit/mac/Carbon/ |
HIViewAdapter.m | 123 qdRect.top = (SInt16)rect.origin.y; 167 qdRect.top = (SInt16)rect.origin.y; 203 bounds.top, bounds.left, bounds.bottom, bounds.right); 213 bounds.top, bounds.left, bounds.bottom, bounds.right); 219 cntlBounds.top, cntlBounds.left, cntlBounds.bottom, cntlBounds.right); 229 OffsetRgn(inRegion, cntlBounds.left, cntlBounds.top); 235 bounds.top, bounds.left, bounds.bottom, bounds.right); 243 SetOrigin(portBounds.left, portBounds.top);
|
/frameworks/base/core/java/com/android/internal/widget/ |
LinearLayoutWithDefaultTouchRecepient.java | 62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
|
/frameworks/base/media/libstagefright/codecs/avc/dec/include/ |
pvavcdecoder.h | 39 virtual void GetVideoDimensions(int32 *width, int32 *height, int32 *top, int32 *left, int32 *bottom, int32 *right);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
GLOptionItem.java | 113 int height = getHeight() - p.top - p.bottom; 124 p.top + (height - icon.getHeight()) / 2); 132 int yoffset = p.top + (height - title.getHeight()) / 2; 137 yoffset = p.top + (height - checkbox.getHeight()) / 2;
|
MeasureHelper.java | 42 getLength(heightSpec, mPreferredHeight + p.top + p.bottom));
|