/external/icu/icu4c/source/samples/layout/ |
Surface.cpp | 21 RECT clip; local 23 clip.top = 0; 24 clip.left = 0; 25 clip.bottom = height; 26 clip.right = width; 30 ExtTextOut(fHdc, x, y - fAscent, ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_clip.c | 42 /* Second state atom for user clip planes: 46 struct pipe_clip_state clip; local 50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); 52 /* if we have a vertex shader that writes clip vertex we need to pass 62 memcpy(clip.ucp, 64 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp)); 66 if (memcmp(&st->state.clip, &clip, sizeof(clip)) != 0) { 67 st->state.clip = clip [all...] |
/external/skia/experimental/sksg/ |
SkSGGeometryNode.cpp | 17 void GeometryNode::clip(SkCanvas* canvas, bool aa) const { function in class:sksg::GeometryNode
|
/external/skqp/experimental/sksg/ |
SkSGGeometryNode.cpp | 17 void GeometryNode::clip(SkCanvas* canvas, bool aa) const { function in class:sksg::GeometryNode
|
/external/skia/tests/ |
FillPathTest.cpp | 34 SkIRect clip; local 39 clip.set(0, height - expected_lines, width, height); 45 SkScan::FillPath(path, clip, &blitter);
|
ClipperTest.cpp | 29 * We had a bug where we misinterpreted the bottom of the clip, and 32 * should just draw to [1,1], [2,2], [3,3] modulo the clip. 61 const SkRect clip = { 0, 0, SkIntToScalar(300), SkIntToScalar(200) }; local 66 clipper.clipCubic(pts, clip);
|
/external/skqp/tests/ |
FillPathTest.cpp | 34 SkIRect clip; local 39 clip.set(0, height - expected_lines, width, height); 45 SkScan::FillPath(path, clip, &blitter);
|
/external/toybox/toys/posix/ |
nl.c | 75 char *clip = ""; local 80 else if (!strcmp(TT.n, "ln")) clip = "-"; 81 else if (!strcmp(TT.n, "rz")) clip = "0"; 84 sprintf(toybuf, "%%%s%s", clip, "*ld%s");
|
/external/mesa3d/src/compiler/nir/ |
nir_lower_clip_cull_distance_arrays.c | 30 * This pass combines separate clip and cull distance arrays into a 31 * single array that contains both. Clip distances come first, then 37 * Get the length of the clip/cull distance array, looking past 47 * underlying clip/cull distance array length, not the per-vertex 74 * Rewrite any clip/cull distances to refer to the new combined array. 130 nir_variable *clip = NULL; local 134 clip = var; 140 const unsigned clip_array_size = get_unwrapped_array_length(nir, clip); 148 if (clip) 149 clip->data.compact = true [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip_state.c | 44 sizeof(*vp), 32, &brw->clip.vp_offset); 60 struct brw_clip_unit_state *clip; local 69 clip = brw_state_batch(brw, AUB_TRACE_CLIP_STATE, 70 sizeof(*clip), 32, &brw->clip.state_offset); 71 memset(clip, 0, sizeof(*clip)); 74 clip->thread0.grf_reg_count = (ALIGN(brw->clip.prog_data->total_grf, 16) / 76 clip->thread0.kernel_start_pointer [all...] |
/external/skia/src/gpu/ |
SkGpuDevice.h | 159 GrClipStackClip clip() const { return GrClipStackClip(&this->cs()); } function in class:SkGpuDevice 163 * matrix, clip, and the device's render target has already been set on GrContext.
|
/external/skqp/src/gpu/ |
SkGpuDevice.h | 159 GrClipStackClip clip() const { return GrClipStackClip(&this->cs()); } function in class:SkGpuDevice 163 * matrix, clip, and the device's render target has already been set on GrContext.
|
/external/webp/src/dec/ |
quant_dec.c | 16 static WEBP_INLINE int clip(int v, int M) { function 91 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)]; 92 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)]; 94 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2; 98 m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16; 101 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)]; 102 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
gpclip.c | 50 Word16 clip = 0; local 52 clip = 1; 54 return (clip);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
PieRenderer.java | 106 Path clip = new Path(); local 115 clip.arcTo(new RectF(bounds.left - rad, 120 clip.lineTo(cx, cy); 121 clip.close(); 122 canvas.clipPath(clip);
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_vertex.c | 45 GLvector4f clip; member in struct:vertex_stage_data 57 /* This function implements cliptesting for user-defined clip planes. 63 GLvector4f *clip, \ 76 GLfloat *coord = (GLfloat *)clip->data; \ 77 GLuint stride = clip->stride; \ 78 GLuint count = clip->count; \ 161 VB->ClipPtr = TransformRaw( &store->clip, 181 /* Cliptest and perspective divide. Clip functions must clear 245 _mesa_vector4f_alloc( &store->clip, 0, size, 32 ); 252 !store->clip.data | [all...] |
/external/proguard/src/proguard/gui/splash/ |
ClipSprite.java | 26 * This Sprite encapsulates another Sprite, which is clipped by a clip Sprite. 40 * @param insideClipColor the background color inside the clip sprite. 41 * @param outsideClipColor the background color outside the clip sprite. 42 * @param clipSprite the clip Sprite. 63 Rectangle clip = graphics.getClipBounds(); local 66 graphics.fillRect(0, 0, clip.width, clip.height); 75 // Clear the clip area.
|
/frameworks/base/libs/hwui/ |
Snapshot.cpp | 63 if (saveFlags & SaveFlags::Clip) { 75 void Snapshot::clip(const Rect& localClip, SkClipOp op) { function in class:android::uirenderer::Snapshot 106 // we may have to modify the previous snapshot's clip rect and clip 107 // region if the previous restore() call did not restore the clip 124 // ignore, don't replace, already have a high priority clip 177 // Clip must be intersected with root, instead of current clip. 187 // current clip is being replaced, but must intersect with clip roo [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowClipboardManagerTest.java | 59 ClipData clip = ClipData.newPlainText(null, "BLARG?"); local 60 clipboardManager.setPrimaryClip(clip); 61 assertThat(clipboardManager.getPrimaryClip()).isEqualTo(clip);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowClipboardManager.java | 24 private ClipData clip; field in class:ShadowClipboardManager 27 public void setPrimaryClip(ClipData clip) { 29 if (clip != null) { 30 clip.prepareToLeaveProcess(true); 33 if (clip != null) { 34 ReflectionHelpers.callInstanceMethod(ClipData.class, clip, "prepareToLeaveProcess"); 38 this.clip = clip; 47 return clip; 52 return clip == null ? null : clip.getDescription() [all...] |
/external/skia/bench/ |
AAClipBench.cpp | 53 // jostle the clip regions each time to prevent caching 70 // this path tests out directly draw the clip primitive 71 // use it to comparing just drawing the clip vs. drawing using 72 // the clip 87 // This bench tests out nested clip stacks. It is intended to simulate 203 SkAAClip clip; local 205 clip.setPath(fPath, &fRegion, fDoAA); 207 clip.setRect(fRect, fDoAA); 220 // test conversion of a complex clip to a aaclip 235 SkAAClip clip; local [all...] |
SKPBench.cpp | 25 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, 28 , fClip(clip) 80 SkRect clip = SkRect::Make(bounds); local 81 clip.offset(-SkIntToScalar(tileRect.fLeft), -SkIntToScalar(tileRect.fTop)); 82 fSurfaces.top()->getCanvas()->clipRect(clip);
|
/external/skia/gm/ |
aarectmodes.cpp | 56 SkRect clip = {0, 130, 772, 531}; local 57 canvas->clipRect(clip);
|
/external/skia/samplecode/ |
SampleClip.cpp | 109 SkAAClip clip; local 111 clip.setRect(r); 121 SampleCode::TitleR(evt, "Clip");
|
SampleText.cpp | 128 SkRect clip; variable 129 clip.set(SkIntToScalar(25), SkIntToScalar(34), SkIntToScalar(88), SkIntToScalar(155));
|