/development/samples/NotePad/src/com/example/android/notepad/ |
NoteEditor.java | 466 ClipData clip = clipboard.getPrimaryClip(); local 467 if (clip != null) { 473 ClipData.Item item = clip.getItemAt(0);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_context.h | 77 struct pipe_clip_state clip; member in struct:softpipe_context
|
/external/chromium_org/third_party/skia/tests/ |
AAClipTest.cpp | 182 SkAAClip clip; local 188 clip.setPath(path, NULL, true); 189 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 202 clip.setPath(path, NULL, true); 203 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); 310 SkAAClip clip; local 311 clip.setPath(path, NULL, 1 == i); 314 clip.copyToMask(&mask); 328 SkAAClip clip; local 329 clip.setPath(path) 414 SkAAClip clip; local [all...] |
DeferredCanvasTest.cpp | 845 SkRect clip; local [all...] |
/external/chromium_org/third_party/skia/tools/ |
filtermain.cpp | 188 // where the rect is entirely within the clip and the clip is an intersect 223 // where the rect entirely encloses the clip 356 // the last (smallest) clip rect is a subset of the drawBitmapRectToRect's dest rect 534 // the clip rect is BW and a subset of the drawBitmapRectToRect's dest rect 544 SkClipRectCommand* clip = local 549 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) { 566 if (!dbmr->dstRect().contains(clip->rect())) { 575 SkClipRectCommand* clip local 618 SkClipRectCommand* clip = local [all...] |
/external/chromium_org/ui/gfx/ |
canvas.cc | 560 SkRect clip; local 561 return canvas_->getClipBounds(&clip) && 562 clip.intersect(SkIntToScalar(x), SkIntToScalar(y), SkIntToScalar(x + w),
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_context.h | 77 struct pipe_clip_state clip; member in struct:softpipe_context
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_surface.c | 466 /* clip the source rectangle to the source surface */ 498 /* clip the destination rectangle against the clip rectangle */ 500 SDL_Rect *clip = &dst->clip_rect; local 503 dx = clip->x - dstrect->x; 509 dx = dstrect->x + w - clip->x - clip->w; 513 dy = clip->y - dstrect->y; 519 dy = dstrect->y + h - clip->y - clip->h [all...] |
/external/skia/tests/ |
AAClipTest.cpp | 182 SkAAClip clip; local 188 clip.setPath(path, NULL, true); 189 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 202 clip.setPath(path, NULL, true); 203 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); 310 SkAAClip clip; local 311 clip.setPath(path, NULL, 1 == i); 314 clip.copyToMask(&mask); 389 SkAAClip clip; local 395 clip.setRect(r, true) [all...] |
/external/skia/tools/ |
filtermain.cpp | 189 // where the rect is entirely within the clip and the clip is an intersect 224 // where the rect entirely encloses the clip 357 // the last (smallest) clip rect is a subset of the drawBitmapRectToRect's dest rect 535 // the clip rect is BW and a subset of the drawBitmapRectToRect's dest rect 545 SkClipRectCommand* clip = local 550 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) { 567 if (!dbmr->dstRect().contains(clip->rect())) { 576 SkClipRectCommand* clip local 619 SkClipRectCommand* clip = local [all...] |
/frameworks/base/core/java/android/speech/tts/ |
BlockingAudioTrack.java | 286 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); 320 final float vol = clip(volume, 0.0f, 1.0f); 321 final float panning = clip(pan, -1.0f, 1.0f); 336 private static final long clip(long value, long min, long max) { method in class:BlockingAudioTrack 340 private static final float clip(float value, float min, float max) { method in class:BlockingAudioTrack
|
/external/chromium_org/android_webview/browser/ |
browser_view_renderer.cc | 310 gfx::Rect clip = viewport; local 329 clip, 866 "clip left top right bottom: [%d %d %d %d] ",
|
/external/chromium_org/content/renderer/pepper/ |
pepper_graphics_2d_host.cc | 459 const PP_Rect& clip, 462 if (!ValidateAndConvertRect(clip_specified ? &clip : NULL, 468 // If we're being asked to scroll by more than the clip rect size, just 658 gfx::Rect clip = PP_ToGfxRect(bound_instance_->view_data().clip_rect); local 659 is_plugin_visible = !clip.IsEmpty(); 663 if (!gfx::IntersectRects(clip, op_rect).IsEmpty()) { 733 void PepperGraphics2DHost::ExecuteScroll(const gfx::Rect& clip, 737 gfx::ScrollCanvas(image_data_->GetCanvas(), clip, gfx::Vector2d(dx, dy)); 738 *invalidated_rect = clip;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
FillLayer.h | 74 EFillBox clip() const { return static_cast<EFillBox>(m_clip); } function in class:blink::FillLayer
|
/external/chromium_org/third_party/libwebp/enc/ |
analysis.c | 72 static WEBP_INLINE int clip(int v, int m, int M) { function 94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); 95 enc->dqm_[n].beta_ = clip(beta, 0, 255); 110 return clip(alpha, 0, MAX_ALPHA);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_context.h | 104 struct pipe_clip_state clip; member in struct:nv30_context
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_context.h | 148 struct pipe_clip_state clip; member in struct:nv50_context
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_context.h | 152 struct pipe_clip_state clip; member in struct:nvc0_context
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_driver.c | 583 drmModeClip *clip = alloca(num_cliprects * sizeof(drmModeClip)); local 589 clip[i].x1 = rect->x1; 590 clip[i].y1 = rect->y1; 591 clip[i].x2 = rect->x2; 592 clip[i].y2 = rect->y2; 596 ret = drmModeDirtyFB(ms->fd, ms->fb_id, clip, num_cliprects); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_context.h | 105 struct pipe_clip_state clip; member in struct:st_context::__anon19190
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleAll.cpp | 320 SkRect clip; local 321 clip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160)); 324 canvas->clipRect(clip); 327 if (clip.fRight < SkIntToScalar(320)) 328 clip.offset(SkIntToScalar(160), 0); 329 else if (clip.fBottom < SkIntToScalar(480)) 330 clip.offset(-SkIntToScalar(320), SkIntToScalar(160)); 403 // !!! draw through a clip 406 SkRect clip = {0, 0, SkIntToScalar(320), SkIntToScalar(120)}; local 407 canvas->clipRect(clip); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkScalerContext.cpp | 433 SkRasterClip clip; local 434 clip.setRect(SkIRect::MakeWH(dstW, dstH)); 451 draw.fRC = &clip; 452 draw.fClip = &clip.bwRgn();
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawTarget.cpp | 128 void GrDrawTarget::setClip(const GrClipData* clip) { 129 clipWillBeSet(clip); 130 fClip = clip; 432 const GrClipData* clip = this->getClip(); local 433 clip->getConservativeBounds(rt, ©Rect); 868 // clip the left edge to src and dst bounds, adjusting dstPoint if necessary 878 // clip the top edge to src and dst bounds, adjusting dstPoint if necessary 888 // clip the right edge to the src and dst bounds. 896 // clip the bottom edge to the src and dst bounds. [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_context.h | 104 struct pipe_clip_state clip; member in struct:nv30_context
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_context.h | 148 struct pipe_clip_state clip; member in struct:nv50_context
|