Searched refs:top (Results 301 - 325 of 2342) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/tools/telemetry/telemetry/core/
H A Dbitmaptools.cc31 Box() : left(), top(), right(), bottom() {}
34 // left, top, width, height
38 if (!(ReadInt(&left) && ReadInt(&top) &&
43 if (left < 0 || top < 0 || width < 0 || height < 0) {
48 bottom = top + height;
55 if (top > y) top = y;
60 int height() const { return bottom - top; }
63 int top; member in struct:Box
118 total_size = (box.bottom - box.top) * row_strid
[all...]
/external/chromium_org/ui/gfx/win/
H A Dhwnd_util.cc48 ::SetWindowPos(hwnd, 0, bounds.left, bounds.top,
49 bounds.right - bounds.left, bounds.bottom - bounds.top,
167 window_bounds.top = center_bounds.top;
168 if (pref.height() < (center_bounds.bottom - center_bounds.top)) {
169 window_bounds.top +=
170 (center_bounds.bottom - center_bounds.top - pref.height()) / 2;
172 window_bounds.bottom = window_bounds.top + pref.height();
179 POINT topleft = { window_bounds.left, window_bounds.top };
182 window_bounds.top
[all...]
/external/iproute2/netem/
H A Dstats.c24 double mu=0.0, sigma=0.0, sumsquare=0.0, sum=0.0, top=0.0, rho=0.0; local
47 top += ((double)x[i]-mu)*((double)x[i-1]-mu);
51 rho = top/sigma2;
57 /*printf("correlation rho = %10.6f\n", top/((double)(n-1)*sigma*sigma));*/
/external/pixman/demos/
H A Dtrap-test.c24 trap.top.l = pixman_int_to_fixed (50) + 0x8000;
25 trap.top.r = pixman_int_to_fixed (150) + 0x8000;
26 trap.top.y = pixman_int_to_fixed (30);
/external/pixman/test/
H A Da1-trap-test.c24 trap.top.l = pixman_double_to_fixed (0.5);
25 trap.top.r = pixman_double_to_fixed (1.5);
26 trap.top.y = pixman_double_to_fixed (0.5);
/external/skia/src/svg/
H A DSkSVGCircle.cpp30 SkScalar left, top, right, bottom; local
32 top = cy - r;
38 sprintf(scratch, "%g", SkScalarToDouble(top));
39 parser._addAttribute("top", scratch);
H A DSkSVGEllipse.cpp32 SkScalar left, top, right, bottom; local
34 top = cy - ry;
40 sprintf(scratch, "%g", SkScalarToDouble(top));
41 parser._addAttribute("top", scratch);
/external/pcre/dist/
H A Dpcre_get.c81 int top, bot; local
85 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
87 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
95 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
97 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
105 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
107 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
116 while (top > bot)
118 int mid = (top + bot) / 2;
123 if (c > 0) bot = mid + 1; else top
164 int top, bot; local
[all...]
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DApiCompatibilityUtils.java154 public static void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
156 view.setPaddingRelative(start, top, end, bottom);
159 view.setPadding(start, top, end, bottom);
191 public static void setCompoundDrawablesRelative(TextView textView, Drawable start, Drawable top, argument
198 textView.setCompoundDrawables(isRtl ? end : start, top, isRtl ? start : end, bottom);
200 textView.setCompoundDrawablesRelative(start, top, end, bottom);
202 textView.setCompoundDrawables(start, top, end, bottom);
211 Drawable start, Drawable top, Drawable end, Drawable bottom) {
215 textView.setCompoundDrawablesWithIntrinsicBounds(isRtl ? end : start, top,
218 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, en
210 setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, Drawable start, Drawable top, Drawable end, Drawable bottom) argument
228 setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, int start, int top, int end, int bottom) argument
[all...]
/external/valgrind/main/callgrind/
H A Dcontext.c48 s->top = s->bottom;
58 dst->top = CLG_(current_fn_stack).top;
67 CLG_(current_fn_stack).top = s->top;
295 cs->entry[cs->sp].fn_sp = CLG_(current_fn_stack).top - CLG_(current_fn_stack).bottom;
297 if (fn && (*(CLG_(current_fn_stack).top) == fn)) return;
299 ((*(CLG_(current_fn_stack).top))->group == fn->group)) return;
302 fn_entries = CLG_(current_fn_stack).top - CLG_(current_fn_stack).bottom;
311 CLG_(current_fn_stack).top
[all...]
/external/chromium_org/cc/layers/
H A Dtiled_layer.h91 int top,
97 int top,
104 int top,
111 int top,
118 int top,
/external/chromium_org/chrome/browser/resources/uber/
H A Duber_shared.css29 padding-top: 55px;
47 top: 0;
71 top: 21px;
101 top: 13px;
105 border-top: 1px solid #eee;
106 margin-top: 16px;
118 margin-top: 8px;
137 margin-top: 1.2em;
144 /* Styles for a hideable notification banner at the top of a page. */
146 margin-top
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-layout-trbl/
H A Dcore-slide-extracted.js47 if (this.target.style.top !== '') {
107 this.target.style.top = t + 'px';
111 if (s.style.top === '' && s.style.bottom !== '') {
115 s.style.top = t + 'px';
130 if (s.style.bottom === '' && s.style.top !== '') {
/external/chromium_org/third_party/skia/src/core/
H A DSkMaskFilter.cpp36 const int dy = dst->fBounds.top() - src.fBounds.top();
53 blitter->blitRect(r.left(), r.top(), r.width(), r.height());
59 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
76 // top-left
82 m.fBounds.offsetTo(outerR.left(), outerR.top());
86 // top-right
92 m.fBounds.offsetTo(outerR.right() - m.fBounds.width(), outerR.top());
119 outerR.top() + cy - mask.fBounds.top(),
[all...]
/external/chromium_org/third_party/skia/src/pipe/utils/
H A DSamplePipeControllers.cpp47 int32_t top = 0; local
52 bottom = i + 1 == NumberOfTiles ? bitmap.height() : top + height;
53 rect.setLTRB(0, top, bitmap.width(), bottom);
54 top = bottom;
65 SkIntToScalar(-rect.top()));
/external/openssl/crypto/bn/
H A Dbn_mont.c135 int num = mont->N.top;
137 if (num>1 && a->top==num && b->top==num)
143 r->top = num;
184 nl=n->top;
185 if (nl == 0) { ret->top=0; return(1); }
194 /* clear the top words of T */
196 for (i=r->top; i<max; i++) /* memset? XXX */
199 memset(&(rp[r->top]),0,(max-r->top)*sizeo
[all...]
/external/pdfium/fpdfsdk/include/fxedit/
H A Dfxet_list.h46 left = top = right = bottom = 0.0f;
49 CLST_Rect(FX_FLOAT left,FX_FLOAT top, argument
53 this->top = top;
61 this->top = rect.top;
68 left = top = right = bottom = 0.0f;
74 this->top = rect.top;
98 if (this->top > thi
[all...]
/external/skia/src/core/
H A DSkMaskFilter.cpp36 const int dy = dst->fBounds.top() - src.fBounds.top();
53 blitter->blitRect(r.left(), r.top(), r.width(), r.height());
59 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
76 // top-left
82 m.fBounds.offsetTo(outerR.left(), outerR.top());
86 // top-right
92 m.fBounds.offsetTo(outerR.right() - m.fBounds.width(), outerR.top());
119 outerR.top() + cy - mask.fBounds.top(),
[all...]
/external/skia/src/pipe/utils/
H A DSamplePipeControllers.cpp47 int32_t top = 0; local
52 bottom = i + 1 == NumberOfTiles ? bitmap.height() : top + height;
53 rect.setLTRB(0, top, bitmap.width(), bottom);
54 top = bottom;
65 SkIntToScalar(-rect.top()));
/external/chromium_org/storage/browser/fileapi/
H A Drecursive_operation_delegate.cc69 pending_directory_stack_.top().push(root);
76 DCHECK(!pending_directory_stack_.top().empty());
79 const FileSystemURL& url = pending_directory_stack_.top().front();
92 DCHECK(!pending_directory_stack_.top().empty());
101 const FileSystemURL& parent = pending_directory_stack_.top().front();
128 pending_directory_stack_.top().push(url);
192 if (!pending_directory_stack_.top().empty()) {
206 DCHECK(!pending_directory_stack_.top().empty());
209 pending_directory_stack_.top().front(),
218 DCHECK(!pending_directory_stack_.top()
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Dbn.c146 if (bn_wexpand(dest, src->top) == NULL) {
150 memcpy(dest->d, src->d, sizeof(src->d[0]) * src->top);
152 dest->top = src->top;
162 bn->top = 0;
229 const int max = bn->top - 1;
243 bn->top = bn->neg = 0;
262 bn->top = 1;
301 memcpy(a, bn->d, sizeof(BN_ULONG) * bn->top);
318 int tmp_top = bn->top;
[all...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
H A DSAX2RTFDTM.java173 * (I'm counting on the fact that getOwnerDocument() is implemented on top
326 boolean top=mark_size.empty();
328 m_size=top ? m_emptyNodeCount : mark_size.pop();
337 int ds= top ? m_emptyNSDeclSetCount : mark_nsdeclset_size.pop();
342 int ds1= top ? m_emptyNSDeclSetElemsCount : mark_nsdeclelem_size.pop();
348 m_data.setSize(top ? m_emptyDataCount : mark_data_size.pop());
349 m_chars.setLength(top ? m_emptyCharsCount : mark_char_size.pop());
350 m_dataOrQName.setSize(top ? m_emptyDataQNCount : mark_doq_size.pop());
/external/chromium_org/printing/
H A Dpage_setup.cc18 top(0),
27 top = 0;
35 top == rhs.top &&
127 effective_margins_.top = std::max(std::max(requested_margins_.top,
154 content_area_.set_y(effective_margins_.top);
/external/chromium_org/third_party/libwebp/dec/
H A Dtree.c284 uint8_t* const top = dec->intra_t_ + 4 * mb_x; local
307 memset(top, ymode, 4 * sizeof(*top));
316 const uint8_t* const prob = kBModesProba[top[x]][ymode];
336 top[x] = ymode;
338 memcpy(modes, top, 4 * sizeof(*top));
/external/chromium_org/third_party/skia/gm/
H A Dpatch.cpp29 SkPoint top[SkPatchUtils::kNumPtsCubic]; local
30 SkPatchUtils::getTopCubic(cubics, top);
38 SkPoint corners[4] = { bottom[0], bottom[3], top[0], top[3] };
41 canvas->drawPoints(SkCanvas::kLines_PointMode, 4, top, paint);
45 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, top + 1, paint);
58 canvas->drawPoints(SkCanvas::kPoints_PointMode, 2, top + 1, paint);
97 //top points

Completed in 1041 milliseconds

<<11121314151617181920>>