Searched defs:top (Results 176 - 200 of 743) sorted by relevance

1234567891011>>

/external/stlport/stlport/stl/
H A D_queue.h222 const_reference top() const { return c.front(); } function in class:priority_queue
/external/webp/src/enc/
H A Dpicture_rescale.c44 // Adjust top-left corner to chroma sample position.
46 int* const left, int* const top) {
49 *top &= ~1;
53 // Adjust top-left corner and verify that the sub-rectangle is valid.
55 int* const left, int* const top,
57 SnapTopLeftPosition(pic, left, top);
58 if ((*left) < 0 || (*top) < 0) return 0;
61 if ((*top) + height > pic->height) return 0;
100 int left, int top, int width, int height,
105 if (!AdjustAndCheckRectangle(src, &left, &top, widt
45 SnapTopLeftPosition(const WebPPicture* const pic, int* const left, int* const top) argument
54 AdjustAndCheckRectangle(const WebPPicture* const pic, int* const left, int* const top, int width, int height) argument
99 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) argument
132 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DNamespaceMappings.java88 * depth can be popped of the top and the same node
375 private int top = -1; field in class:NamespaceMappings.Stack
382 clone.top = this.top;
384 for (int i=0; i <= top; i++) {
397 top++;
398 if (max <= top) {
405 m_stack[top] = o;
411 if (0 <= top) {
412 o = m_stack[top];
[all...]
/external/bison/lib/
H A Dgetopt.c151 int top = d->optind;
161 string can work normally. Our top argument must be in the range
163 if (d->__nonoption_flags_len > 0 && top >= d->__nonoption_flags_max_len)
167 char *new_str = malloc (top + 1);
174 '\0', top + 1 - d->__nonoption_flags_max_len);
175 d->__nonoption_flags_max_len = top + 1;
181 while (top > middle && middle > bottom)
183 if (top - middle > middle - bottom)
189 /* Swap it with the top part of the top segmen
148 int top = d->optind; local
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DExternalVideoSurfaceContainer.java191 * @param top The absolute CSS Y coordinate of the top side of the video element.
197 int playerId, float left, float top, float right, float bottom) {
201 mTop = top;
224 float top = topLeft.getYPix();
230 int y = Math.round(top + renderCoordinates.getScrollYPix());
232 int height = Math.round(bottom - top);
196 onExternalVideoSurfacePositionChanged( int playerId, float left, float top, float right, float bottom) argument
/external/chromium_org/ash/wm/
H A Dpartial_screenshot_view.cc121 // The partial screenshot rectangle has to be at the real top of
144 int top = std::min(start_position_.y(), current_position_.y()); local
147 return gfx::Rect(left, top, width, height);
/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/chromium_org/cc/resources/
H A Dlayer_quad.h73 const Edge& top,
79 Edge top() const { return top_; } function in class:cc::LayerQuad
/external/chromium_org/cc/trees/
H A Ddamage_tracker.cc31 int top, right, bottom, left; local
32 filters.GetOutsets(&top, &right, &bottom, &left);
33 rect->Inset(-left, -top, -right, -bottom);
/external/chromium_org/chrome/browser/accessibility/
H A Daccessibility_extension_api.cc325 int left, top, width, height; local
327 EXTENSION_FUNCTION_VALIDATE(rect_value->GetInteger(keys::kTop, &top));
330 rects.push_back(gfx::Rect(left, top, width, height));
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring_controller.cc157 // Given a vector of rects that all overlap, already sorted from top to bottom
158 // and left to right, split them into three shapes covering the top, middle,
189 // When there's no clear "top" or "bottom" segment, split the overall rect
190 // evenly so that some of the area still fits into the "top" and "bottom"
194 gfx::Rect* top,
199 // Figure out how many rects belong in the top portion.
258 *top = top_rect;
268 gfx::Rect top;
271 SplitIntoParagraphShape(rects, &top, &middle, &bottom);
274 top, middl
192 SplitIntoParagraphShape( const std::vector<gfx::Rect>& rects, gfx::Rect* top, gfx::Rect* middle, gfx::Rect* bottom) const argument
[all...]
/external/chromium_org/chrome/browser/first_run/
H A Dtry_chrome_dialog_view.cc310 int top = info.rcWork.bottom - height; local
311 return gfx::Rect(left, top, width, height);
/external/chromium_org/chrome/browser/resources/pdf/
H A Dviewport.js90 Viewport.PAGE_SHADOW = {top: 3, bottom: 7, left: 5, right: 5};
275 // of the previous page as the top for finding the page.
276 var top = 0;
278 top = this.pageDimensions_[page - 1].y +
284 if (top <= y && bottom > y)
286 else if (top > y)
408 * to the top of the most visible page.
524 y: pageDimensions.y + Viewport.PAGE_SHADOW.top,
527 height: pageDimensions.height - Viewport.PAGE_SHADOW.top -
/external/chromium_org/chrome/browser/ui/views/
H A Dchrome_views_delegate.cc151 window_preferences->SetInteger("top", bounds.y());
177 int top = 0; local
181 !dictionary->GetInteger("top", &top) ||
186 bounds->SetRect(left, top, right - left, bottom - top);
283 // reason windows opened as top level (!params.child) are always constrained
288 // requested as top_level as actual top level windows on the desktop.
322 // There may be a few remaining widgets in Chrome OS that are not top level,
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer.cc58 int top = 0, left = 0, bottom = 0, right = 0; variable
61 wp_pref->GetInteger("top", &top) &&
66 bounds->SetRect(left, top, std::max(0, right - left),
67 std::max(0, bottom - top));
392 // (e.g. can be resized from the top).
402 // the top of the work area.
/external/chromium_org/content/browser/accessibility/
H A Daccessibility_tree_formatter_win.cc136 LONG left, top, width, height; local
138 if (acc_obj->accLocation(&left, &top, &width, &height, variant_self)
145 location->SetInteger("y", top - root_top);
/external/chromium_org/native_client_sdk/src/examples/api/gamepad/
H A Dgamepad.cc114 int top,
118 for (int y = std::max(0, top);
119 y < std::min(image->size().height() - 1, top + height);
112 FillRect(pp::ImageData* image, int left, int top, int width, int height, uint32_t color) argument
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
H A Dmatrix.cc19 GLfloat top,
25 temp3 = top - bottom;
36 mat[9] = (top + bottom) / temp3;
15 glhFrustumf2(Matrix_t mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat znear, GLfloat zfar) argument
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/
H A Dmatrix.cc19 GLfloat top,
25 temp3 = top - bottom;
36 mat[9] = (top + bottom) / temp3;
15 glhFrustumf2(Matrix_t mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat znear, GLfloat zfar) argument
/external/chromium_org/net/base/
H A Dint128.h18 uint128(uint64 top, uint64 bottom);
25 void Initialize(uint64 top, uint64 bottom);
108 inline uint128::uint128(uint64 top, uint64 bottom) : lo_(bottom), hi_(top) { } argument
118 inline void uint128::Initialize(uint64 top, uint64 bottom) { argument
119 hi_ = top;
/external/chromium_org/net/websockets/
H A Dwebsocket_inflater.cc153 std::pair<char*, size_t> top = input_queue_.Top(); local
155 result = InflateWithFlush(top.first, top.second);
156 input_queue_.Consume(top.second - stream_->avail_in);
/external/chromium_org/ppapi/examples/gamepad/
H A Dgamepad.cc24 void FillRect(pp::ImageData* image, int left, int top, int width, int height, argument
26 for (int y = std::max(0, top);
27 y < std::min(image->size().height() - 1, top + height);
/external/chromium_org/remoting/base/
H A Dutil.cc74 source_buffer_rect.top(),
77 source_buffer_rect.top(),
80 dest_buffer_rect.top(),
89 RoundToTwosMultiple(dest_rect.top() + 1),
92 // Offset pointers to point to the top left corner of the inner rectangle.
93 y_offset += CalculateYOffset(inner_rect.left(), inner_rect.top(),
95 uv_offset += CalculateUVOffset(inner_rect.left(), inner_rect.top(),
97 rgb_offset += CalculateRGBOffset(inner_rect.left(), inner_rect.top(),
110 RoundToTwosMultiple(dest_rect.top()),
114 outer_rect.top()
181 int top = (rect.top() * out_size.height()) / in_size.height(); local
[all...]
/external/chromium_org/remoting/host/
H A Ddisconnect_window_win.cc217 RoundRect(hdc, rect.left, rect.top, rect.right - 1, rect.bottom - 1,
293 int window_height = window_rect.bottom - window_rect.top;
294 int top = monitor_info.rcWork.bottom - window_height; local
297 SetWindowPos(hwnd_, NULL, left, top, 0, 0, SWP_NOSIZE | SWP_NOZORDER);
346 message_rect.left, message_rect.top,
348 message_rect.bottom - message_rect.top,
364 button_rect.left, button_rect.top,
366 button_rect.bottom - button_rect.top,
376 int height = window_rect.bottom - window_rect.top;
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DFrameTree.cpp82 Frame* FrameTree::top() const function in class:blink::FrameTree
84 // FIXME: top() should never return null, so here are some hacks to deal
89 Frame* candidate = m_thisFrame->client()->top();
123 for (Frame* frame = top(); frame; frame = frame->tree().traverseNext()) {
256 return top();
365 // no siblings, no parent, self==top
369 // top view is always the last one in this ordering, so prev is nil without wrap
427 printFrames(frame->tree().top(), frame, 0);

Completed in 8671 milliseconds

1234567891011>>