/packages/apps/Gallery3D/src/com/cooliris/media/ |
PopupMenu.java | 240 int top = (int) (PADDING_TOP * App.PIXEL_DENSITY); local 245 option.mBottom = top + rowHeight; 246 drawable.setBounds(left, top, right, option.mBottom); 247 top += rowHeight; 251 setSize(right + PADDING_RIGHT * App.PIXEL_DENSITY, top + PADDING_BOTTOM * App.PIXEL_DENSITY);
|
/external/openssl/crypto/bn/ |
bn_mul.c | 949 int top,al,bl; local 960 fprintf(stderr,"BN_mul %d * %d\n",a->top,b->top); 967 al=a->top; 968 bl=b->top; 975 top=al+bl; 996 rr->top=8; 1004 rr->top=16; 1047 rr->top=top; [all...] |
/frameworks/base/tools/aapt/ |
Images.cpp | 266 png_bytepp rows, int left, int top, int right, int bottom) 268 png_bytep color = rows[top] + left*4; 270 if (left > right || top > bottom) { 274 while (top <= bottom) { 276 png_bytep p = rows[top]+i*4; 286 top++; 316 int left, right, top, bottom; local 322 image->height, &top, &bottom); 324 // hpatch, vpatch, left, top, right, bottom); 325 const uint32_t c = get_color(image->rows, left, top, right, bottom) 347 int top; local [all...] |
/build/tools/droiddoc/templates/assets/ |
android-developer-docs.css | 127 top:0; 268 vertical-align:top; 333 /* page-top-right container for reference pages (holds 361 margin-top:-25px; 514 border-top:2px solid #ccc; 663 vertical-align:top; 700 top:5px; 797 vertical-align:top; 952 margin-top:0; 1012 .grad-rule-top { [all...] |
/external/clearsilver/ruby/ext/hdf/ |
neo_util.c | 56 /* Only mark the array if this is the top node, only the original node should 62 if ( ! NIL_P(hdfh->top) ) 63 rb_gc_mark(hdfh->top); 65 fprintf(stderr,"mark top 0x%x\n",hdfh); 85 hdfh->top=Qnil; 207 hdfh_new->top=self; 230 hdfh_new->top=self; 253 hdfh_new->top=self; 275 hdfh_new->top=self; 296 hdfh_new->top=self [all...] |
/external/webkit/WebCore/bindings/v8/ |
SerializedScriptValue.cpp | 237 while (top()) { 239 while (!top()->isDone(&length)) { 240 // Note that doSerialize() can change current top(). 241 if (!doSerialize(top()->advance())) 244 m_writer.endComposite(top()->tag(), length); 437 StateBase* top() { return m_state; } function in class:WebCore::__anon7986::Serializer 443 StateBase* top = m_state; 444 m_state = top->nextState(); 445 delete top; 455 for (StateBase* state = top(); state; state = state->nextState()) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LayerDrawable.java | 32 * order, so the element with the largest index will be drawn on top. 130 int top = a.getDimensionPixelOffset( local 157 addLayer(dr, id, left, top, right, bottom); 170 * @param top The top padding of the new layer. 174 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { 193 childDrawable.mInsetT = top; 282 top += t; 338 padding.top = 0; 346 padding.top += mPaddingT[i] [all...] |
GradientDrawable.java | 135 /** draw the gradient from the top to the bottom */ 137 /** draw the gradient from the top-right to the bottom-left */ 141 /** draw the gradient from the bottom-right to the top-left */ 143 /** draw the gradient from the bottom to the top */ 145 /** draw the gradient from the bottom-left to the top-right */ 149 /** draw the gradient from the top-left to the bottom-right */ 178 * top-left, top-right, bottom-right, bottom-left 268 fill+stroke. Otherwise we can just draw the stroke (if any) on top 290 canvas.saveLayer(mRect.left - rad, mRect.top - rad [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidateView.java | 373 while (mFmiCandidates.bottom - mFmiCandidates.top < mContentHeight) { 395 while (mFmiFootnote.bottom - mFmiFootnote.top < mContentHeight / 2) { 502 (mFmiCandidates.bottom - mFmiCandidates.top)) / 2 503 - mFmiCandidates.top; 527 (int) mActiveCellRect.top, (int) mActiveCellRect.right, 533 mCandRects.elementAt(i).set(xPos - 1, yPos + mFmiCandidates.top, 612 if (r.left < x && r.right > x && r.top < y && r.bottom > y) { 616 float disy = (r.top + r.bottom) / 2 - y; 693 int desired_height = (int) (r.bottom - r.top);
|
/external/skia/src/core/ |
SkRegion.cpp | 40 int top = *runs++; 41 if (top <= y) 52 top = bot; 62 assert_sentinel(runs[0], false); // top 168 bool SkRegion::setRect(int32_t left, int32_t top, int32_t right, int32_t bottom) 170 if (left >= right || top >= bottom) 174 fBounds.set(left, top, right, bottom); 230 // skip the top 260 // trim off any empty spans from the top and bottom 265 assert_sentinel(runs[0], false); // top [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 254 private int top; field in class:ScreenViewer.LoupeViewer 281 g.translate(-left, -top); 339 g.translate(left, top); 344 int y = Math.max(0, Math.min((event.getY() + top) / zoom, image.getHeight() - 1)); 351 top = y * zoom - height / 2 + zoom / 2; 586 s.translate(p.left - p.scrollX, p.top - p.scrollY); 589 s.drawRect(node.left, node.top, node.width - 1, node.height - 1); 590 s.translate(node.left, node.top); 642 int y = (height - insets.top - insets.bottom) / 2; 644 g.drawLine(insets.left + x, insets.top, insets.left + x, height - insets.bottom) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
SDL_dibvideo.c | 787 HWND top; local 808 bounds.top = SDL_windowY; 818 height = bounds.bottom-bounds.top; 827 y = bounds.top; 833 top = HWND_TOPMOST; 835 top = HWND_NOTOPMOST; 837 SetWindowPos(SDL_Window, top, x, y, width, height, swp_flags); 840 SDL_windowY = SDL_bounds.top; [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
MonthView.java | 802 r.top = y; 824 r.top--; 859 r.bottom = r.top + WEEK_BANNER_HEIGHT; 865 int top = r.top; local 866 r.top = r.bottom - WEEK_BANNER_HEIGHT; 924 int top = rect.top + TEXT_TOP_MARGIN + BUSY_BITS_MARGIN; local [all...] |
/bionic/libc/tzcode/ |
strftime.c | 475 int top; local 490 top = bot - 492 if (top < -3) 493 top += DAYSPERWEEK; 494 top += len; 495 if (yday >= top) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ShapeDrawableTest.java | 220 assertEquals(0, padding.top); 227 assertEquals(10, padding.top); 234 assertEquals(0, padding.top); 241 assertEquals(5, padding.top); 248 assertEquals(0, padding.top); 355 assertEquals(2, padding.top);
|
/external/chromium/base/ |
message_loop.cc | 407 Task* task = delayed_work_queue_.top().task; 432 if (delayed_work_queue_.top().task == pending_task.task) 451 if (delayed_work_queue_.top().delayed_run_time > Time::Now()) { 452 *next_delayed_work_time = delayed_work_queue_.top().delayed_run_time; 456 PendingTask pending_task = delayed_work_queue_.top(); 460 *next_delayed_work_time = delayed_work_queue_.top().delayed_run_time; 503 // Since the top of a priority queue is defined as the "greatest" element, we 505 // top of the heap.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 151 final int top = (textureHeight-height) / 2; local 159 canvas.drawRect(left, top, left+width, top+height, debugPaint); 163 icon.setBounds(left, top, left+width, top+height); 285 bubbleRect.top = 0;
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
NativeHeapPanel.java | 111 /** top level container for mode 1 & 2 */ 114 /** top level object for the allocation mode */ 117 /** top level for the library mode */ 526 // top layout for the combos and oter controls on the right. 630 // This top level composite contains 2 other composites. [all...] |
/external/v8/src/x64/ |
virtual-frame-x64.cc | 347 // Push that register as a FrameElement on top of the frame. 375 // Store the value on top of the frame to the virtual frame slot at 376 // a given index. The value on top of the frame is left in place. 382 FrameElement top = elements_[top_index]; 384 if (top.is_copy() && top.index() == index) return; 385 ASSERT(top.is_valid()); 391 // the copy-on-write semantics of aliased elements. Reload top from 393 top = elements_[top_index]; 395 if (top.is_copy()) [all...] |
/external/webkit/WebCore/rendering/style/ |
RenderStyle.cpp | 251 a.top().type() != b.top().type() || 260 if (!a.top().isIntrinsicOrAuto() && !a.bottom().isIntrinsicOrAuto()) 463 // Make sure these left/top/right/bottom checks stay below all layout checks and above 530 void RenderStyle::setClip(Length top, Length right, Length bottom, Length left) 533 data->clip.m_top = top; 744 // top [all...] |
/external/clearsilver/util/ |
neo_hdf.c | 57 const char *value, int dup, int wf, HDF *top) 65 (*hdf)->top = top; 180 my_hdf->top = my_hdf; 190 if ((*hdf)->top == (*hdf)) 216 r = _walk_hdf (hdf->top, hdf->value, &hp); 268 r = _walk_hdf (hp->top, hp->value, &hp); 286 return _walk_hdf (hp->top, hp->value, node); 466 if (_walk_hdf(hdf->top, hdf->value, &obj)) 482 return hdf->top; 1828 HDF *top = hdf->top; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RectShapeTest.java | 114 assertEquals(0.0f, rect.top); 121 assertEquals(0.0f, rect.top);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
DynamicDrawableSpanTest.java | 86 assertEquals(0, fm.top); 95 assertEquals(-rect.bottom, fm.top); 103 " int top, int y, int bottom, Paint paint). And the following parameters are" + 104 " never used in this method: text, start, end, top, y, paint",
|
IconMarginSpanTest.java | 84 notes = "Test drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top," + 87 " used in this method: top, baseline, bottom, start, end, first", 139 assertEquals(0, fm.top); 147 assertEquals(0, fm.top);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorFilters.java | 52 int center = (r.top + r.bottom) >> 1; 131 float y = (r.top + r.bottom) * 0.5f - mPaintTextOffset;
|