/frameworks/base/libs/hwui/tests/unit/ |
ClipAreaTests.cpp | 82 SkRegion clip; local 83 clip.setRect(0, 0, 2000, 2000); 84 SkRegion rgn(list.convertToRegion(clip)); 126 // unset clip 129 // rect clip 138 << "Requery of clip on unmodified ClipArea must return same pointer."; 154 << "Requery of clip on unmodified ClipArea must return same pointer."; 168 << "Clip region should be 200x200"; 171 << "Requery of clip on unmodified ClipArea must return same pointer."; 261 // no recorded clip cas [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
PdfManipulationService.java | 150 Rect clip = new Rect(); local 151 clip.left = (int) (paddingLeftPts * displayScale); 152 clip.top = (int) (paddingTopPts * displayScale); 153 clip.right = (int) (bitmapWidth - paddingRightPts * displayScale); 154 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale); 161 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY); 341 Rect clip = new Rect(mediaBox); local 342 clip.left += paddingLeftPts; 343 clip.top += paddingTopPts; 344 clip.right -= paddingRightPts [all...] |
/hardware/intel/common/libva/va/ |
va_android.h | 75 VARectangle *cliprects, /* client supplied destination clip list */ 76 unsigned int number_cliprects, /* number of clip rects in the clip list */
|
/frameworks/base/core/java/android/content/ |
ClipData.java | 50 * important meta-data about the clip. In particular, its 52 * must return correct MIME type(s) describing the data in the clip. For help 53 * in correctly constructing a clip with the correct MIME type, use 83 * since any clip item can always be converted to a string. 88 * negotiate the transfer of that data. The clip must also be filled in with 96 * coerces the clip into text and uses that as the new note's contents. 110 * itself uses this to try to retrieve a URI clip as a stream of text: 117 * <p>To be the source of a clip, the application must construct a ClipData 118 * object that any recipient can interpret best for their context. If the clip 144 * of making a clip containing the URI of the note being copied [all...] |
/frameworks/base/libs/hwui/ |
DeferredDisplayList.cpp | 156 * and clip side flags. Positive bounds delta means new bounds fit in old. 196 // Identical round rect clip state means both ops will clip in the same way, or not at all. 204 * clip for that side. 257 " clip flags %x (batch id %x, merge id %p)", 264 // clipping in the merged case is done ahead of time since all ops share the clip (if any) 282 * Contains the effective clip rect shared by all merged ops. Initialized to the layer viewport, 380 // the clip if we aren't recording a complex clip (and can thus trust it to be a rect) 389 * When an clipping operation occurs that could cause a complex clip, record the operation and al [all...] |
ClipArea.cpp | 162 SkRegion RectangleList::convertToRegion(const SkRegion& clip) const { 169 rectangleListAsRegion.setPath(rectPathTransformed, clip); 172 rectRegion.setPath(rectPathTransformed, clip); 268 // The only way this occurs is by a clip setting operation. 303 // all clip areas that can be represented by a region. 358 * Clip serialization 363 // Only initial clip-to-viewport observed, so no serialization of clip necessary 423 // if either is empty, clip is empty 512 void ClipArea::applyClip(const ClipBase* clip, const Matrix4& transform) [all...] |
/hardware/qcom/display/msm8909/libcopybit/ |
copybit.cpp | 172 struct copybit_rect_t clip; local 173 intersect(&clip, scissor, dst); 175 if (!validateCopybitRect(&clip)) 178 e->dst_rect.x = clip.l; 179 e->dst_rect.y = clip.t; 180 e->dst_rect.w = clip.r - clip.l; 181 e->dst_rect.h = clip.b - clip.t; 185 delta_x = (clip.t - dst->t) [all...] |
/hardware/qcom/display/msm8996/libcopybit/ |
copybit.cpp | 175 struct copybit_rect_t clip; local 176 intersect(&clip, scissor, dst); 178 if (!validateCopybitRect(&clip)) 181 e->dst_rect.x = clip.l; 182 e->dst_rect.y = clip.t; 183 e->dst_rect.w = clip.r - clip.l; 184 e->dst_rect.h = clip.b - clip.t; 188 delta_x = (clip.t - dst->t) [all...] |
/external/skia/include/core/ |
SkCanvas.h | 43 This includes a reference to the device itself, and a stack of matrix/clip 169 * matrix and clip. Note: this happens automatically when the device 264 * ignoring the matrix and clip. 290 /** This call saves the current matrix, clip, and drawFilter, and pushes a 294 When the balancing call to restore() is made, the previous matrix, clip, 375 modifications to the matrix/clip/drawFilter state since the last save 381 /** Returns the number of matrix/clip states on the SkCanvas' private stack. 389 getSaveCount(). To pop all the way back to the initial matrix/clip context 433 * Modify the current clip with the specified rectangle. 434 * @param rect The rect to combine with the current clip [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vs.c | 81 * dword 0-3 is indices, point width, clip flags. 91 * dword 0-3 of the header is indices, point width, clip flags. 94 * dword 12-19 of the vertex header is the user clip distance. 113 * dword 0-3 of the header is indices, point width, clip flags. 115 * dword 8-15 of the vertex header is the user clip distance if 165 * Decide which set of clip planes should be used when clipping via 171 /* There is currently a GLSL vertex shader, so clip according to GLSL 173 * gl_ClipVertex wasn't assigned) against the eye-coordinate clip planes 174 * that were stored in EyeUserPlane at the time the clip planes were 180 * either case the clip planes are going to be compared agains [all...] |
/external/skia/gm/ |
texdata.cpp | 80 // setup new clip 81 GrClip clip(SkRect::MakeWH(2*S, 2*S)); 99 drawContext->drawRect(clip, paint, vm, SkRect::MakeWH(2*S, 2*S)); 113 drawContext->drawRect(clip, paint, vm, SkRect::MakeWH(2*S, 2*S));
|
/external/skia/gyp/ |
pathops_skpclip.gyp | 5 # GYP file to build pathops skp clip test.
|
/external/skia/src/core/ |
SkAAClip.h | 32 // Returns true iff the clip is not empty, and is just a hard-edged rect (no partial alpha). 33 // If true, getBounds() can be used in place of this clip. 39 bool setPath(const SkPath&, const SkRegion* clip = nullptr, bool doAA = true); 116 void blitMask(const SkMask&, const SkIRect& clip) override;
|
/external/skia/src/gpu/ |
GrBlurUtils.h | 34 const GrClip& clip,
|
GrSoftwarePathRenderer.cpp | 29 // gets device coord bounds of path (not considering the fill) and clip. The 30 // path bounds will be a subset of the clip bounds. returns false if 37 // compute bounds as intersection of rt size, clip, and path 43 pipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), devClipBounds);
|
/external/skia/src/svg/parser/ |
SkSVGClipPath.cpp | 25 parser._startElement("clip");
|
SkSVGPolygon.cpp | 14 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
|
SkSVGPolyline.cpp | 20 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
|
/external/skia/tools/skiaserve/urlhandlers/ |
UrlHandler.h | 49 Updates the clip visualization alpha. On all subsequent /img requests, the clip will be drawn in 50 black with the specified alpha. 0 = no visible clip, 255 = fully opaque clip.
|
/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");
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
ClipRectTBAnimation.java | 27 * dimensions of the clip, picking up the other dimensions from whatever is 29 * animation can be specified so this animation simulates as the clip would be applied after instead 71 * Calculates and sets clip rect on given transformation. It uses existing values 72 * on the Transformation for Left/Right clip parameters.
|
/hardware/qcom/display/msm8084/libcopybit/ |
copybit.cpp | 166 struct copybit_rect_t clip; local 167 intersect(&clip, scissor, dst); 169 e->dst_rect.x = clip.l; 170 e->dst_rect.y = clip.t; 171 e->dst_rect.w = clip.r - clip.l; 172 e->dst_rect.h = clip.b - clip.t; 176 delta_x = (clip.t - dst->t); 177 delta_y = (dst->r - clip.r) [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
copybit.cpp | 166 struct copybit_rect_t clip; local 167 intersect(&clip, scissor, dst); 169 e->dst_rect.x = clip.l; 170 e->dst_rect.y = clip.t; 171 e->dst_rect.w = clip.r - clip.l; 172 e->dst_rect.h = clip.b - clip.t; 176 delta_x = (clip.t - dst->t); 177 delta_y = (dst->r - clip.r) [all...] |
/hardware/qcom/display/msm8994/libcopybit/ |
copybit.cpp | 169 struct copybit_rect_t clip; local 170 intersect(&clip, scissor, dst); 172 e->dst_rect.x = clip.l; 173 e->dst_rect.y = clip.t; 174 e->dst_rect.w = clip.r - clip.l; 175 e->dst_rect.h = clip.b - clip.t; 179 delta_x = (clip.t - dst->t); 180 delta_y = (dst->r - clip.r) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
drawable1-expected-completion47.txt | 4 <clip />
|