/external/skia/gm/ |
simpleaaclip.cpp | 15 static void paint_rgn(SkCanvas* canvas, const SkAAClip& clip, 20 clip.copyToMask(&mask); 70 void buildRgn(SkAAClip* clip, SkRegion::Op op) { 71 clip->setPath(fBasePath, nullptr, true); 75 clip->op(clip2, op); 90 SkAAClip clip; local 92 this->buildRgn(&clip, op); 97 paint_rgn(canvas, clip, paint); 106 // create the clip mask with the supplied boolean op 117 // draw a rect that will entirely cover the clip mask are [all...] |
complexclip2.cpp | 20 enum Clip { 26 ComplexClip2GM(Clip clip, bool antiAlias) 27 : fClip(clip) 110 static const char* ClipStr(Clip clip) { 111 switch (clip) { 119 SkDEBUGFAIL("Unknown clip type."); 197 Clip fClip;
|
/external/skia/include/c/ |
sk_canvas.h | 19 Save the current matrix and clip on the canvas. When the 21 and clip are restored. 44 the matrix and clip state since the last save call. It is an 82 Modify the current clip with the specified rectangle. The new 83 current clip will be the intersection of the old clip and the 88 Modify the current clip with the specified path. The new 89 current clip will be the intersection of the old clip and the 95 Fill the entire canvas (restricted to the current clip) with th [all...] |
/external/skia/tests/ |
ClipCubicTest.cpp | 16 // the width of the clip. Test that we don't crash/assert if we try to draw 17 // with a device/clip that is larger. 85 // Test no clip, with plenty of room. 93 // Test no clip, touching first point. 101 // Test no clip, touching last point. 109 // Test all clip. 115 // Test clip at 1. 127 // Test clip at 2. 139 // Test clip at 11. 151 // Test clip at 10 [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
copybit.cpp | 162 struct copybit_rect_t clip; local 163 intersect(&clip, scissor, dst); 165 e->dst_rect.x = clip.l; 166 e->dst_rect.y = clip.t; 167 e->dst_rect.w = clip.r - clip.l; 168 e->dst_rect.h = clip.b - clip.t; 172 delta_x = (clip.t - dst->t); 173 delta_y = (dst->r - clip.r) [all...] |
/external/skia/src/effects/ |
SkGpuBlurUtils.cpp | 49 const GrClip& clip, 64 drawContext->fillRectWithLocalMatrix(clip, paint, SkMatrix::I(), dstRect, localMatrix); 68 const GrClip& clip, 94 drawContext->fillRectWithLocalMatrix(clip, paint, SkMatrix::I(), dstRect, localMatrix); 98 const GrClip& clip, 109 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture, 151 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture, 155 convolve_gaussian_1d(drawContext, clip, leftRect, srcOffset, texture, 157 convolve_gaussian_1d(drawContext, clip, rightRect, srcOffset, texture, 159 convolve_gaussian_1d(drawContext, clip, midRect, srcOffset, texture [all...] |
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/ |
ReceiveShare.java | 38 ClipData clip = intent.getClipData(); local 39 if (clip != null && clip.getItemCount() > 0) { 40 uri = clip.getItemAt(0).getUri(); 107 ClipData clip = ClipData.newUri(getContentResolver(), "Something", uri); 108 intent.setClipData(clip);
|
/external/skia/site/user/api/ |
skregion.md | 9 uses them to represent (internally) the current clip on the 65 clip...() methods are called. The clip data is first transformed into 68 region with the existing clip using the specified operator. 81 By default, intersect op is used when a clip call is made, but the 86 // returns true if the resulting clip is non-empty (i.e. drawing can
|
/external/skia/src/core/ |
SkEdge.h | 39 int setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shiftUp); 40 // call this version if you know you don't have a clip 43 void chopLineWithClip(const SkIRect& clip); 45 inline bool intersectsClip(const SkIRect& clip) const { 46 SkASSERT(fFirstY < clip.fBottom); 47 return fLastY >= clip.fTop;
|
/hardware/intel/img/psb_video/src/x11/ |
psb_x11.h | 121 VARectangle *cliprects, /* client supplied clip list */ 122 unsigned int number_cliprects, /* number of clip rects in the clip list */ 139 VARectangle *cliprects, /* client supplied clip list */ 140 unsigned int number_cliprects, /* number of clip rects in the clip list */
|
/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/ |
AbstractPhotosHelper.java | 41 * This method will select the first clip to open and play. This will block until the clip 47 * Setup expectations: Photos is open and a clip is currently playing. 49 * This method will pause the current clip and block until paused. 54 * Setup expectations: Photos is open and a clip is currently paused in the foreground. 56 * This method will play the current clip and block until it is playing.
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidClipboard.java | 43 ClipData clip = honeycombClipboard.getPrimaryClip(); local 44 if (clip == null) return null; 45 CharSequence text = clip.getItemAt(0).getText();
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/ |
RayCastCallback.java | 28 * this fixture and continue return 0: terminate the ray cast return fraction: clip the ray to this point return 1: don't clip 36 * @return -1 to filter, 0 to terminate, fraction to clip the ray for closest hit, 1 to continue **/
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/ |
RayCastCallback.java | 28 * this fixture and continue return 0: terminate the ray cast return fraction: clip the ray to this point return 1: don't clip 36 * @return -1 to filter, 0 to terminate, fraction to clip the ray for closest hit, 1 to continue **/
|
/external/skia/tools/skiaserve/urlhandlers/ |
InfoHandler.cpp | 45 // TODO this is really slow and we should cache the matrix and clip 50 SkIRect clip = request->fDebugCanvas->getCurrentClip(); local 53 info["ClipRect"] = SkJSONCanvas::MakeIRect(clip);
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
ClipRectLRAnimation.java | 25 * dimensions of the clip, picking up the other dimensions from whatever is 40 * Calculates and sets clip rect on given transformation. It uses existing values 41 * on the Transformation for Top/Bottom clip parameters.
|
/hardware/intel/common/libva/va/ |
va_backend_tpi.h | 61 VARectangle *cliprects, /* client supplied clip list */ 62 unsigned int number_cliprects, /* number of clip rects in the clip list */
|
va_x11.h | 61 VARectangle *cliprects, /* client supplied destination clip list */ 62 unsigned int number_cliprects, /* number of clip rects in the clip list */
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
AccessPermissionWithDiffSigTest.java | 86 private void assertReadingClipNotAllowed(ClipData clip, String msg) { 87 for (int i=0; i<clip.getItemCount(); i++) { 88 ClipData.Item item = clip.getItemAt(i); 176 private void assertWritingClipNotAllowed(ClipData clip, String msg) { 177 for (int i=0; i<clip.getItemCount(); i++) { 178 ClipData.Item item = clip.getItemAt(i); 277 ClipData clip = new ClipData("foo", new String[] { "foo/bar" }, local 279 clip.addItem(new ClipData.Item(grantClip2Uri)); 280 // Intents in the ClipData should allow their data: and clip URIs 283 clip.addItem(new ClipData.Item(new Intent(Intent.ACTION_VIEW, grantClip3Uri))) 1256 final ClipData clip = makeSingleClipData(target); local 1390 final ClipData clip = makeSingleClipData(target); local 1434 final ClipData clip = makeSingleClipData(target); local 1486 final ClipData clip = makeSingleClipData(target); local 1555 final ClipData clip = makeSingleClipData(target); local [all...] |
/external/skia/src/gpu/ |
GrBlurUtils.cpp | 29 const GrClip& clip, 45 drawContext->fillRectWithLocalMatrix(clip, *grp, SkMatrix::I(), maskRect, inverse); 77 // the current clip (and identity matrix) and GrPaint settings 138 // setup new clip 139 GrClip clip(clipRect); 145 drawContext->drawPath(clip, tempPaint, translate, devPath, strokeInfo); 151 const GrClip& clip, 162 clip.getConservativeBounds(drawContext->width(), drawContext->height(), &clipBounds); 213 clip, 234 if (draw_mask(drawContext, clip, viewMatrix, maskRect, paint, filtered)) [all...] |
GrDrawContext.cpp | 108 void GrDrawContext::drawText(const GrClip& clip, const GrPaint& grPaint, 122 fAtlasTextContext->drawText(fContext, this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps, 126 void GrDrawContext::drawPosText(const GrClip& clip, const GrPaint& grPaint, 141 fAtlasTextContext->drawPosText(fContext, this, clip, grPaint, skPaint, viewMatrix, 147 void GrDrawContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint, 160 fAtlasTextContext->drawTextBlob(fContext, this, clip, skPaint, viewMatrix, fSurfaceProps, blob, 187 void GrDrawContext::drawPaint(const GrClip& clip, 203 // by definition this fills the entire clip, no need for AA 220 this->drawRect(clip, *paint, viewMatrix, r); 230 GrPipelineBuilder pipelineBuilder(*paint, fRenderTarget, clip); [all...] |
/external/skia/src/gpu/batches/ |
GrCopySurfaceBatch.cpp | 21 // clip the left edge to src and dst bounds, adjusting dstPoint if necessary 31 // clip the top edge to src and dst bounds, adjusting dstPoint if necessary 41 // clip the right edge to the src and dst bounds. 49 // clip the bottom edge to the src and dst bounds.
|
/external/skia/src/svg/parser/ |
SkSVGUse.cpp | 29 parser._endElement(); // clip
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
armVCM4P2_Clip8_s.s | 69 VQSHRUN dclip0,qx0,#0 ;// dclip0[i]=clip qx0[i] to [0,255] 70 VQSHRUN dclip1,qx1,#0 ;// dclip1[i]=clip qx1[i] to [0,255] 80 VQSHRUN dclip0,qx0,#0 ;// dclip0[i]=clip qx0[i] to [0,255] 81 VQSHRUN dclip1,qx1,#0 ;// dclip1[i]=clip qx1[i] to [0,255]
|
/frameworks/base/core/java/android/view/animation/ |
ClipRectAnimation.java | 22 * An animation that controls the clip of an object. See the 35 * @param fromClip the clip rect to animate from 36 * @param toClip the clip rect to animate to 40 throw new RuntimeException("Expected non-null animation clip rects");
|