/external/chromium_org/third_party/skia/src/gpu/ |
SkGpuDevice.cpp | 597 SkMaskFilter* filter, const SkRegion& clip, 601 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), filter, &context->getMatrix(), &srcM, 613 if (clip.quickReject(dstM.fBounds)) { 618 // the current clip (and identity matrix) and GrPaint settings 849 // Given a bitmap, an optional src rect, and a context with a clip and matrix determine what 855 const GrClipData* clip = context->getClip(); local 856 clip->getConservativeBounds(context->getRenderTarget(), clippedSrcIRect, NULL); [all...] |
/external/chromium_org/ui/native_theme/ |
native_theme_base.cc | 971 SkRect clip; local [all...] |
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_context.c | 112 struct pipe_clip_state clip; member in struct:cso_context 774 /* clip state */ 792 const struct pipe_clip_state *clip) 794 if (clip_state_cmp(&ctx->clip, clip)) { 795 clip_state_cpy(&ctx->clip, clip); 796 ctx->pipe->set_clip_state(ctx->pipe, clip); 803 clip_state_cpy(&ctx->clip_saved, &ctx->clip); 809 if (clip_state_cmp(&ctx->clip, &ctx->clip_saved)) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_private.h | 79 float clip[4]; member in struct:vertex_header 109 struct draw_stage *clip; member in struct:draw_context::__anon31727 219 boolean force_passthrough; /**< never clip or shade */ 293 /* Clip derived state:
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_emit.c | 71 struct r300_clip_state* clip = (struct r300_clip_state*)state; local 74 WRITE_CS_TABLE(clip->cb, size); [all...] |
r300_state.c | 544 struct r300_clip_state *clip = local 549 BEGIN_CB(clip->cb, r300->clip_state.size); [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_xv.c | 86 RegionRec clip; member in struct:xorg_xv_port_priv 104 REGION_EMPTY(pScrn->pScreen, &priv->clip); 601 /* Clip */ 651 REGION_NULL(pScreen, &priv->clip);
|
/external/mesa3d/src/mesa/swrast/ |
s_span.c | 694 * Clip a pixel span to the current buffer/window boundaries: 748 /* Clip to right */ 754 /* Clip to the left */ 762 /* Clip 'leftClip' pixels from the left side. 1538 GLint clip = x + count - rb->Width; local [all...] |
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 244 public void clip(Shape s) method in class:OverrideGraphics2D 246 graphics.clip(s); 549 public void setClip(Shape clip) 551 graphics.setClip(clip);
|
/external/skia/src/gpu/ |
SkGpuDevice.cpp | 629 SkMaskFilter* filter, const SkRegion& clip, 633 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), filter, &context->getMatrix(), &srcM, 645 if (clip.quickReject(dstM.fBounds)) { 650 // the current clip (and identity matrix) and GrPaint settings 880 // Given a bitmap, an optional src rect, and a context with a clip and matrix determine what 886 const GrClipData* clip = context->getClip(); local 887 clip->getConservativeBounds(context->getRenderTarget(), clippedSrcIRect, NULL); [all...] |
/external/webp/src/dsp/ |
dec.c | 168 const uint8_t* const clip = clip0 + dst[-1]; local 171 dst[x] = clip[top[x]];
|
enc.c | 234 const uint8_t* const clip = clip1 + 255 - left[-1]; local 236 const uint8_t* const clip_table = clip + left[y]; 472 const uint8_t* const clip = clip1 + 255 - top[-1]; local 474 const uint8_t* const clip_table = clip + top[-2 - y];
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
ParameterUtils.java | 147 int weight = clip(this.weight, 178 int score = clip(weight, 199 int score = clip(weight, 209 return clip(value, lo, /*hi*/Integer.MAX_VALUE, rect, name); 212 private static int clip(int value, int lo, int hi, Rect rect, String name) { method in class:ParameterUtils.WeightedRectangle 215 + name + " too small, clip to " + lo); 219 + name + " too small, clip to " + hi); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 50 * yet when setting transforms and clip information. 70 /** temp clip in case clipping is set before a Graphics2D exists */ 177 * Sets the clip for the graphics2D object associated with the layer. 180 * @param clipShape the shape to use a the clip shape. 184 // first reset the clip to max and then intersect the current (empty) 185 // clip with the shap. 187 mGraphics.clip(clipShape); 192 * clip shape and the given shape. 193 * @param shape the new clip shape. 195 public void clip(Shape shape) method in class:GcSnapshot.Layer 483 public boolean clip(Shape shape, int regionOp) { method in class:GcSnapshot 691 Shape clip = getClip(); local [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
copybit_c2d.cpp | 1344 struct copybit_rect_t clip; local [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
copybit_c2d.cpp | 1350 struct copybit_rect_t clip; local [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
copybit_c2d.cpp | 1316 struct copybit_rect_t clip; local [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
copybit_c2d.cpp | 1344 struct copybit_rect_t clip; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CanvasTest.java | 215 // test save current clip only, don't know how to get clip saved, 382 // test save current clip only, don't know how to get clip saved, 468 // test save current clip only, don't know how to get clip saved, 554 // test save current clip only, don't know how to get clip saved, 638 // test save current clip only, don't know how to get clip saved 992 final Rect clip = mCanvas.getClipBounds(); local 1007 Rect clip = mCanvas.getClipBounds(); local 1837 final RectF clip = new RectF(mCanvas.getClipBounds()); local [all...] |
/external/chromium_org/cc/trees/ |
occlusion_tracker_unittest.cc | 2725 typename Types::LayerType* clip = this->CreateLayer(parent, local 2762 typename Types::LayerType* clip = this->CreateLayer(parent, local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab.cc | 705 gfx::Rect clip; local 706 controller_->ShouldPaintTab(this, &clip); 707 if (clip.size().GetArea()) { 709 intersection.intersect(RectToSkRect(clip)); 726 gfx::Rect clip; 727 if (!controller_->ShouldPaintTab(this, &clip)) 729 if (!clip.IsEmpty()) { 731 canvas->ClipRect(clip); 739 if (!clip.IsEmpty()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 1120 void CanvasRenderingContext2D::clip(const String& windingRuleString) function in class:blink::CanvasRenderingContext2D 1125 void CanvasRenderingContext2D::clip(Path2D* domPath, const String& windingRuleString) function in class:blink::CanvasRenderingContext2D [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
CompositedLayerMapping.cpp | 84 EFillBox clip = box->style()->backgroundClip(); local 85 switch (clip) { 357 // We ignore overflow clip here; we want composited overflow content to 361 // updateAncestorClippingLayerGeometry will fail as the clip rect will be 363 // FIXME: this should use cached clip rects, but this sometimes give 399 // Our scrolling layer will clip. 409 // In such scenarios, an ancestor clipping layer is necessary to apply the composited clip for this layer. 463 // If we have a border radius or clip path on a scrolling layer, we need a clipping mask to properly 464 // clip the scrolled contents, even if there are no composited descendants. 468 // Clip path clips the entire subtree, including scrollbars. It must be attached directly ont [all...] |
/external/chromium_org/third_party/freetype/src/smooth/ |
ftgrays.c | 1788 FT_BBox* clip; local [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
quant.c | 103 static WEBP_INLINE int clip(int v, int m, int M) { function 225 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; 226 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; 228 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; 229 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; 231 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; 232 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; 266 const int qstep = kAcTable[clip(m->quant_, 0, 127)] >> 2; 376 enc->dqm_[i].quant_ = clip(q, 0, 127); 395 dq_uv_ac = clip(dq_uv_ac, MIN_DQ_UV, MAX_DQ_UV) [all...] |