/frameworks/base/graphics/java/android/graphics/drawable/ |
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...] |
/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;
|
/external/bzip2/ |
bzip.css | 32 #release p { margin-top: 0.4em; }
|
/external/dropbear/libtommath/ |
bn_mp_invmod_slow.c | 59 top: 141 goto top;
|
/external/protobuf/gtest/test/ |
gtest_xml_output_unittest.py | 82 <failure message="Failed
XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]></top>" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 84 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]><![CDATA[</top>%(stack)s]]></failure>
|
/external/skia/include/utils/ |
SkDumpCanvas.h | 81 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 87 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
SkProxyCanvas.h | 53 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 59 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/external/skia/src/animator/ |
SkTDArray_Experimental.h | 135 const T& top() const { return (*this)[fCount - 1]; } function in class:SkTDS32Array 136 T& top() { return (*this)[fCount - 1]; } function in class:SkTDS32Array
|
/external/skia/src/views/ |
SkTextBox.cpp | 125 void SkTextBox::setBox(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) 127 fBox.set(left, top, right, bottom);
|
/external/webkit/WebCore/platform/graphics/android/ |
LayerAndroid.h | 92 SkLength top, // CSS top property 96 SkLength marginTop, // CSS margin-top property 104 m_fixedTop = top;
|
/external/webkit/WebCore/plugins/android/ |
PluginViewAndroid.cpp | 439 m_npWindow.clipRect.top = m_pageRect.y(); 498 // Return the top level WebView Java object associated 569 r = IntRect(rect->left, rect->top, 570 rect->right - rect->left, rect->bottom - rect->top); 668 // only the top ScrollView can have the offset 670 ScrollView* top = parent(); local 671 while (top->parent()) 672 top = top->parent(); 673 m_pageRect.move(top->scrollOffset()) [all...] |