/external/skia/src/gpu/ |
GrPathRenderingDrawContext.cpp | 18 void GrPathRenderingDrawContext::drawText(const GrClip& clip, const GrPaint& grPaint, 32 fStencilAndCoverTextContext->drawText(this->drawingManager()->getContext(), this, clip, grPaint, 37 void GrPathRenderingDrawContext::drawPosText(const GrClip& clip, const GrPaint& grPaint, 52 fStencilAndCoverTextContext->drawPosText(this->drawingManager()->getContext(), this, clip, 58 void GrPathRenderingDrawContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint, 71 fStencilAndCoverTextContext->drawTextBlob(this->drawingManager()->getContext(), this, clip,
|
GrClipMaskManager.h | 49 * The clip mask creator handles the generation of the clip mask. If anti 52 * mask in the stencil buffer. In the non anti-aliasing case, if the clip 54 * cases scissoring is used to bound the range of the clip mask. 61 * Creates a clip mask if necessary as a stencil buffer or alpha texture 65 * clip. devBounds is optional but can help optimize clipping. 93 * buffer clip is being used. 96 // Draw to the clip bit of the stencil buffer 98 // Clip against the existing representation of the clip in the high bi [all...] |
GrClipMaskManager.cpp | 79 // We shouldn't get here with an empty clip element. 158 * This method traverses the clip stack to see if the GrSoftwarePathRenderer 160 * entire clip should be rendered in SW and then uploaded en masse to the gpu. 167 // a clip gets complex enough it can just be done in SW regardless 170 // Set the matrix so that rendered clip elements are transformed to mask space from clip 287 static void add_rect_to_clip(const GrClip& clip, const SkRect& devRect, GrClip* out) { 288 switch (clip.clipType()) { 291 *stack = *clip.clipStack(); 292 // The stack is actually in clip space not device space 346 const GrClip& clip = doDevBoundsClip ? devBoundsClip : pipelineBuilder.clip(); local [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.
|
/external/skia/src/core/ |
SkRasterClip.cpp | 103 // These ops can only shrink the current clip. So leaving 104 // the clip unchanged conservatively respects the contract. 110 // These ops can grow the current clip up to the extents of 111 // the input clip, which is inverse filled, so we just set 112 // the current clip to the device bounds. 125 // Difference can only shrink the current clip. 126 // Leaving clip unchanged conservatively fullfills the contract. 144 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { 148 return this->setConservativeRect(path.getBounds(), clip.getBounds(), path.isInverseFillType()); 152 (void)fBW.setPath(path, clip); [all...] |
SkScan_Antihair.cpp | 19 our extends. The bug is that when this happens, we will set the clip to 20 nullptr (for speed), and thus draw outside of the clip by a pixel, which might 26 case (i.e. not setting the clip to nullptr) when we might not actually need 306 const SkIRect* clip, SkBlitter* blitter) { 314 // The caller must clip the line to [-32767.0 ... 32767.0] ahead of time 324 values are huge. A better fix might be to clip the original pts 330 do_anti_hairline(x0, y0, hx, hy, clip, blitter); 331 do_anti_hairline(hx, hy, x1, y1, clip, blitter); 375 if (clip){ 376 if (istart >= clip->fRight || istop <= clip->fLeft) [all...] |
SkScan_Hairline.cpp | 41 void SkScan::HairLineRgn(const SkPoint array[], int arrayCount, const SkRegion* clip, 50 if (clip) { 51 clipBounds.set(clip->getBounds()); 59 // We have to pre-clip the line to fit in a SkFixed, so we just chop 65 // Perform a clip in scalar space, so we catch huge values which might 67 if (clip && !SkLineClipper::IntersectLine(pts, clipBounds, pts)) { 81 if (clip) { 85 const SkIRect& bounds = clip->getBounds(); 101 if (!clip->isRect() || !clipR.contains(ptsR)) { 102 blitter = clipper.apply(origBlitter, clip); [all...] |
SkBlitBWMaskTemplate.h | 19 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS) 27 const SkIRect& clip SK_BLITBWMASK_ARGS) { 28 SkASSERT(clip.fRight <= srcMask.fBounds.fRight); 30 int cx = clip.fLeft; 31 int cy = clip.fTop; 35 unsigned height = clip.height(); 44 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) 61 int rite_edge = clip.fRight - maskLeft;
|
/frameworks/base/core/java/android/content/ |
ClipboardManager.java | 80 * Defines a listener callback that is invoked when the primary clip on the clipboard changes. 91 * clip changes. 113 * Sets the current primary clip on the clipboard. This is the clip that 116 * @param clip The clipped data item to set. 118 public void setPrimaryClip(ClipData clip) { 120 if (clip != null) { 121 clip.prepareToLeaveProcess(true); 123 getService().setPrimaryClip(clip, mContext.getOpPackageName()); 130 * Returns the current primary clip on the clipboard 196 ClipData clip = getPrimaryClip(); local [all...] |
/device/google/atv/overlay/frameworks/base/core/res/res/drawable/ |
progress_volume.xml | 26 <clip> 30 </clip> 34 <clip> 38 </clip>
|
/external/fec/ |
sim.c | 33 unsigned char addnoise(int sym,double amp,double gain,double offset,int clip){ 37 /* Clip to 8-bit offset range */ 40 else if(sample > clip) 41 sample = clip;
|
/packages/apps/TV/res/drawable/ |
progress_horizontal.xml | 27 <clip> 31 </clip> 35 <clip> 39 </clip>
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
CopyPasteTest.java | 57 ClipData clip = ClipData.newPlainText(""/*label*/, INITIAL_TEXT); local 58 mClipboard.setPrimaryClip(clip); 67 ClipData clip = ClipData.newPlainText(""/*label*/, INITIAL_TEXT); local 68 mClipboard.setPrimaryClip(clip); 98 ClipData clip = mClipboard.getPrimaryClip(); local 99 if (clip == null) { 102 ClipData.Item item = clip.getItemAt(0);
|
/external/skia/debugger/QT/ |
SkInspectorWidget.cpp | 22 tabNames[kClipStack_TabType] = "Clip Stack"; 54 void SkInspectorWidget::setClip(const SkIRect& clip) { 55 fClipEntry[0].setText(QString::number(clip.left(), 'g', kSignificantNumbersInFields)); 56 fClipEntry[1].setText(QString::number(clip.top(), 'g', kSignificantNumbersInFields)); 57 fClipEntry[2].setText(QString::number(clip.right(), 'g', kSignificantNumbersInFields)); 58 fClipEntry[3].setText(QString::number(clip.bottom(), 'g', kSignificantNumbersInFields)); 75 fClipGroup.setTitle("Current Clip");
|
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpStateTests.cpp | 33 ClipRect clip(Rect(100, 200)); 34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint); 53 // intersection of parent & transformed child clip 68 ClipRect clip(Rect(100, 200)); 69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint); 75 << "Local clip rect should be 100x200, offset by -10,-20"; 82 << "Local clip rect should be 90x190, offset by -10,-20"; 165 ClipRect clip(Rect(200, 200)); 167 Matrix4::identity(), &clip, &strokedPaint); local 183 ClipRect clip(Rect(100, 200)) 186 RectOp successOp(Rect(30, 40, 100, 200), Matrix4::identity(), &clip, &paint); local 234 RectOp rejectOp(Rect(100, 200), Matrix4::identity(), &clip, &paint); local 248 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint); local 263 RectOp rejectOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &paint); local [all...] |
/external/pdfium/public/ |
fpdf_transformpage.h | 86 * Transform the whole page with a specified matrix, then clip the page content 100 * Transform (scale, rotate, shear, move) the clip path of page object. 121 * Create a new clip path, with a rectangle inserted. 123 * @param[in] left - The left of the clip box. 124 * @param[in] bottom - The bottom of the clip box. 125 * @param[in] right - The right of the clip box. 126 * @param[in] top - The top of the clip box. 127 * @retval a handle to the clip path. 135 * Destroy the clip path. 137 * @param[in] clipPath - A handle to the clip path [all...] |
/frameworks/native/opengl/libagl/ |
vertex.cpp | 52 // Divides a vertex clip coordinates by W 56 // [x,y,z]window = vpt * ([x,y,z]clip / clip.w) 69 const int32_t rw = gglRecip28(v->clip.w); 72 v->window.x = gglMulAddx(gglMulx(v->clip.x, rw, 16), m[ 0], m[12], 28); 73 v->window.y = gglMulAddx(gglMulx(v->clip.y, rw, 16), m[ 5], m[13], 28); 77 v->window.z = gglMulAddx(gglMulx(v->clip.z, rw, 16), m[10], m[14], 28); 85 // ndc = clip / W 88 // clip to the view-volume 89 uint32_t clip = v->flags & vertex_t::CLIP_ALL local 118 uint32_t clip = 0; local [all...] |
/external/skia/include/core/ |
SkClipStack.h | 22 // Each clip in fDeque stores the stack state to which it belongs 42 //!< This element makes the clip empty (regardless of previous elements). 44 //!< This element combines a rect with the current clip using a set operation 46 //!< This element combines a round-rect with the current clip using a set operation 48 //!< This element combines a path with the current clip using a set operation 77 //!< Call to get the type of the clip element. 80 //!< Call to get the save count associated with this clip element. 101 /** If getType() is not kEmpty this indicates whether the clip shape should be anti-aliased 105 //!< Inverts the fill of the clip shape. Note that a kEmpty element remains kEmpty. 111 /** The GenID can be used by clip stack clients to cache representations of the clip. Th [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_program.h | 39 uint32_t clip_mode; /* clip/cull selection */ 40 uint8_t clip_enable; /* mask of defined clip planes */
|
/external/skia/tools/lua/ |
dump_clipstack_at_restore.lua | 14 -- io.write("Clip Stack at restore #", restoreCount, ":\n") 15 io.write("Reduced Clip Stack at restore #", restoreCount, ":\n")
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
AnimateableViewBounds.java | 27 /* An outline provider that has a clip and outline that can be animated. */ 51 * Resets the right and bottom clip for this view. 79 // TODO, If both clip and alpha change in the same frame, only invalidate once 91 /** Sets the top clip. */ 97 /** Returns the top clip. */ 102 /** Sets the bottom clip. */ 108 /** Returns the bottom clip. */ 119 // TODO, If both clip and alpha change in the same frame, only invalidate once
|
/external/skia/samplecode/ |
SampleManyRects.cpp | 49 // Rotation messes up the GPU batching because of the clip below. We don't notice 50 // that the rect is inside the clip so the clip changes interrupt batching. 59 // This clip will always contain the entire rect. It's here to give the GPU batching
|
/external/skia/src/animator/ |
SkDrawClip.h | 21 DECLARE_DRAW_MEMBER_INFO(Clip);
|
/external/webrtc/webrtc/tools/frame_editing/ |
frame_editing_lib.h | 22 // If one clip has 10 frames (1 to 10), and you specify 24 // then you will get a clip that contains frame 1, 2, 3, 8, 9 and 10. 27 // interval = -4, then you will get a clip that contains frame 1, 5, 9. 30 // interval = 2, then you will get a clip that contains frame
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
armVCM4P2_Clip8_s.s | 65 USAT16 x0, #8, x0 ;// clip two samples to [0,255] 66 USAT16 x1, #8, x1 ;// clip two samples to [0,255] 74 USAT16 x2, #8, x2 ;// clip two samples to [0,255] 75 USAT16 x3, #8, x3 ;// clip two samples to [0,255]
|