HomeSort by relevance Sort by last modified time
    Searched full:bounds (Results 201 - 225 of 1065) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/Camera/src/com/android/camera/ui/
GLView.java 155 public Rect bounds() { method in class:GLView
345 * Gets the bounds of the given descendant that relative to this view.
353 Rect bounds = view.mBounds;
354 xoffset += bounds.left;
355 yoffset += bounds.top;
  /external/skia/src/core/
SkBlitter.cpp 411 SkDEBUGCODE(const SkIRect& bounds = fRgn->getBounds();)
418 SkASSERT(left >= bounds.fLeft && right <= bounds.fRight);
450 SkIRect bounds; local
451 bounds.set(x, y, x + 1, y + height);
453 SkRegion::Cliperator iter(*fRgn, bounds);
458 SkASSERT(bounds.contains(r));
467 SkIRect bounds; local
468 bounds.set(x, y, x + width, y + height);
470 SkRegion::Cliperator iter(*fRgn, bounds);
    [all...]
SkPath.cpp 25 used when we know the bounds of the amount we are going to add to the path
29 cached bounds), and the if it can, it updates the cache bounds explicitly,
69 // Cannot use fRect for our bounds unless we know it is sorted
74 static void compute_pt_bounds(SkRect* bounds, const SkTDArray<SkPoint>& pts) {
76 bounds->set(0, 0, 0, 0);
78 bounds->set(pts.begin(), pts.count());
79 // SkDebugf("------- compute bounds %p %d", &pts, pts.count());
127 // note: don't need to look at isConvex or bounds, since just comparing the
538 the provided bounds when we can (i.e. use oval.fLeft instead of cx-rx
1326 SkRect bounds; local
    [all...]
SkScan_AntiPath.cpp 60 // take the union of the ir bounds and clip, since we may be called with an
131 // hack, until I figure out why my cubics (I think) go beyond the bounds
204 static bool CanHandleRect(const SkIRect& bounds)
206 int width = bounds.width();
210 (rb * bounds.height() <= MaskSuperBlitter::kMAX_STORAGE);
305 // hack, until I figure out why my cubics (I think) go beyond the bounds
  /external/webkit/WebCore/platform/win/
PopupMenuWin.cpp 342 // The popup needs to stay within the bounds of the screen and not overlap any toolbars
896 RECT bounds; local
897 GetClientRect(popupHandle(), &bounds); local
898 if (!::PtInRect(&bounds, mousePoint) && !(wParam & MK_LBUTTON) && client()) {
909 if ((shouldHotTrack || wParam & MK_LBUTTON) && ::PtInRect(&bounds, mousePoint))
930 RECT bounds; local
931 GetClientRect(m_popup, &bounds);
932 if (::PtInRect(&bounds, mousePoint))
955 RECT bounds; local
956 GetClientRect(popupHandle(), &bounds); local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_bmp.c 382 SDL_Rect bounds; local
394 bounds.x = 0;
395 bounds.y = 0;
396 bounds.w = saveme->w;
397 bounds.h = saveme->h;
398 if ( SDL_LowerBlit(saveme, &bounds, surface,
399 &bounds) < 0 ) {
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11wm.c 55 SDL_Rect bounds; local
170 bounds.x = 0;
171 bounds.y = 0;
172 bounds.w = icon->w;
173 bounds.h = icon->h;
174 if ( SDL_LowerBlit(icon, &bounds, sicon, &bounds) < 0 )
  /frameworks/base/core/java/android/widget/
TabWidget.java 292 final Rect bounds = mBounds; local
293 bounds.left = selectedChild.getLeft();
294 bounds.right = selectedChild.getRight();
296 leftStrip.setBounds(Math.min(0, bounds.left - leftStrip.getIntrinsicWidth()),
297 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight);
298 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(),
299 Math.max(getWidth(), bounds.right + rightStrip.getIntrinsicWidth()), myHeight);
  /external/webkit/WebKit/android/jni/
WebViewCore.cpp 728 WebCore::IntRect bounds = cachedNode->bounds(cachedFrame); local
729 if (m_cursorBounds != bounds)
730 DBG_NAV_LOGD("new cursor bounds=(%d,%d,w=%d,h=%d)",
731 bounds.x(), bounds.y(), bounds.width(), bounds.height());
732 m_cursorBounds = bounds;
846 const SkIRect& inval = pictureSet->bounds(index)
1196 WebCore::IntRect bounds; local
1356 IntRect bounds = m_cursorHitBounds; local
1494 const SkIRect& bounds = inval.getBounds(); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java 771 // the children's bounds before call onBoundsChange
781 Rect bounds = new Rect(10, 20, 30, 40); local
782 layerDrawable.onBoundsChange(bounds);
784 // all children's bounds will be changed after call onBoundsChange
785 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left);
786 assertEquals(bounds.top + inset1.top, mockDrawable1.getBounds().top);
787 assertEquals(bounds.right - inset1.right, mockDrawable1.getBounds().right);
788 assertEquals(bounds.bottom - inset1.bottom, mockDrawable1.getBounds().bottom);
789 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left);
790 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top)
    [all...]
  /frameworks/base/core/jni/android/graphics/
Canvas.cpp 126 static int saveLayer(JNIEnv* env, jobject, SkCanvas* canvas, jobject bounds,
130 if (bounds != NULL) {
131 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
140 SkRect bounds; local
141 bounds.set(SkFloatToScalar(l), SkFloatToScalar(t), SkFloatToScalar(r),
143 return canvas->saveLayer(&bounds, paint, (SkCanvas::SaveFlags)flags);
147 jobject bounds, int alpha, int flags) {
150 if (bounds != NULL) {
151 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
161 SkRect bounds; local
    [all...]
  /external/icu4c/i18n/unicode/
uregex.h 523 * Queries the transparency of region bounds for this URegularExpression.
524 * See useTransparentBounds for a description of transparent and opaque bounds.
529 * @return TRUE if this matcher is using opaque bounds, false if it is not.
538 * Sets the transparency of region bounds for this URegularExpression.
539 * Invoking this function with an argument of TRUE will set matches to use transparent bounds.
540 * If the boolean argument is FALSE, then opaque bounds will be used.
542 * Using transparent bounds, the boundaries of the matching region are transparent
546 * With opaque bounds, no text outside of the matching region is visible to lookahead,
549 * By default, opaque bounds are used.
552 * @param b TRUE for transparent bounds; FALSE for opaque bound
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]
  /external/skia/include/core/
SkPath.h 117 not null, set rect to the bounds of the path. If the path does not
120 @param rect If not null, returns the bounds of the path if it specifies
149 /** Returns the bounds of the path's points. If the path contains 0 or 1
150 points, the bounds is set to (0,0,0,0), and isEmpty() will return true.
151 Note: this bounds may be larger than the actual shape, since curves
161 /** Calling this will, if the internal cache of the bounds is out of date,
164 will inherit the cached bounds.
403 @param oval The bounds of oval used to define the size of the arc
410 @param rect The bounds of a round-rectangle to add as a closed contour
421 @param rect The bounds of a round-rectangle to add as a closed contou
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
GraphicsLayerAndroid.cpp 657 IntSize bounds(m_size.width(), m_size.height());
658 float x = translateOperation->x(bounds);
659 float y = translateOperation->y(bounds);
660 float z = translateOperation->z(bounds);
675 IntSize bounds(m_size.width(), m_size.height());
676 float x = translateOperation->x(bounds);
686 IntSize bounds(m_size.width(), m_size.height());
687 float y = translateOperation->y(bounds);
697 IntSize bounds(m_size.width(), m_size.height());
698 float z = translateOperation->z(bounds);
    [all...]
LayerAndroid.cpp 195 void LayerAndroid::bounds(SkRect* rect) const function in class:WebCore::LayerAndroid
227 bounds(&localBounds);
245 bounds(&localBounds);
253 // The Layer bounds and the renderview bounds are not always indentical.
393 SkRect globalRect = bounds();
  /external/qemu/distrib/sdl-1.2.12/src/video/windib/
SDL_dibvideo.c 495 RECT bounds; local
807 bounds.left = SDL_windowX;
808 bounds.top = SDL_windowY;
809 bounds.right = SDL_windowX+video->w;
810 bounds.bottom = SDL_windowY+video->h;
812 AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), (GetMenu(SDL_Window) != NULL), 0);
815 AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), 0, 0);
817 width = bounds.right-bounds.left;
818 height = bounds.bottom-bounds.top
    [all...]
  /external/webkit/WebKit/mac/Carbon/
CarbonWindowAdapter.mm 41 // _frame will always reflect the window's Carbon kWindowStructureRgn bounds.
341 // Update this window's frame and content frame rectangles to match the Carbon window's structure bounds and content bounds rectangles. Return yes if the update was really necessary, no otherwise.
357 // Get the Carbon window's bounds, which are expressed in global screen coordinates, with (0,0) at the top-left of the main screen.
359 if (osStatus!=noErr) NSLog(@"A Carbon window's structure bounds couldn't be gotten.");
361 if (osStatus!=noErr) NSLog(@"A Carbon window's content bounds couldn't be gotten.");
363 // Set the frame rectangle of the border view and this window from the Carbon window's structure region bounds.
374 // Set the content view's frame rect from the Carbon window's content region bounds.
556 if (osStatus!=noErr) NSLog(@"A Carbon window's bounds couldn't be synchronized (%i).", (int)osStatus);
576 // There's no override of _setFrame:, despite the fact that NSWindow's modifies _frame, because it looks like it might work on Carbon windows as is. The synchronization of the Carbon window bounds rect to the Cocoa frame rect is done in the overrides of _oldPlaceWindow: and _windowMovedToRect:
    [all...]
  /external/webkit/WebCore/platform/graphics/win/
WKCACFLayer.cpp 215 CGRect layerBounds = bounds();
225 // smaller than the layer bounds (e.g. tiled layers)
422 if (CGRectEqualToRect(rect, bounds()))
559 CGRect rootBounds = bounds();
560 fprintf(stderr, "\n\n** Render tree at time %g (bounds %g, %g %gx%g) **\n\n",
571 CGRect layerBounds = bounds();
  /frameworks/base/awt/java/awt/geom/
RoundRectangle2D.java 377 * The x coordinate of left-upper corner of the round rectangle bounds.
382 * The y coordinate of left-upper corner of the round rectangle bounds.
387 * The width of the round rectangle bounds.
392 * The height of the round rectangle bounds.
452 // awt.4B=Iterator out of bounds
472 // awt.4B=Iterator out of bounds
  /frameworks/base/core/java/android/gesture/
GestureOverlayView.java 289 final RectF bounds = new RectF(); local
290 path.computeBounds(bounds, true);
294 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f,
295 -bounds.top + (getHeight() - bounds.height()) / 2.0f);
  /cts/tools/annotation-helper/src/spechelper/
MethodSelector.java 102 String[] bounds = tps.getBounds(); local
103 if (bounds.length > 0) {
104 sig = bounds[0];
  /dalvik/libcore/luni/src/main/java/java/io/
BufferedOutputStream.java 140 * If offset or count is outside of bounds.
162 // K002e=Offset out of bounds \: {0}
167 // K0031=Length out of bounds \: {0}
  /external/proguard/src/proguard/evaluation/
Variables.java 177 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
192 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
214 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
  /external/skia/src/views/
SkWidgetViews.cpp 309 SkRect bounds; local
310 fAnim.getInvalBounds(&bounds);
311 this->inval(&bounds);

Completed in 131 milliseconds

1 2 3 4 5 6 7 891011>>