HomeSort by relevance Sort by last modified time
    Searched full:clip (Results 51 - 75 of 1666) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/res/res/drawable/
progress_horizontal.xml 33 <clip>
44 </clip>
48 <clip>
59 </clip>
  /packages/apps/TV/res/drawable/
program_guide_table_item_background.xml 30 <clip android:gravity="end" >
32 </clip>
44 <clip android:gravity="end" >
46 </clip>
  /frameworks/base/libs/hwui/
BakedOpRenderer.cpp 243 void BakedOpRenderer::setupStencilRectList(const ClipBase* clip) {
244 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist");
245 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList;
256 bounds.doIntersect(clip->rect);
277 void BakedOpRenderer::setupStencilRegion(const ClipBase* clip) {
278 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region");
279 auto&& region = reinterpret_cast<const ClipRegion*>(clip)->region;
282 SkRegion::Cliperator it(region, clip->rect.toSkIRect())
359 auto&& clip = state.computedState.clipRect(); local
    [all...]
BakedOpState.cpp 24 static int computeClipSideFlags(const Rect& clip, const Rect& bounds) {
26 if (clip.left > bounds.left) clipSideFlags |= OpClipSideFlags::Left;
27 if (clip.top > bounds.top) clipSideFlags |= OpClipSideFlags::Top;
28 if (clip.right < bounds.right) clipSideFlags |= OpClipSideFlags::Right;
29 if (clip.bottom < bounds.bottom) clipSideFlags |= OpClipSideFlags::Bottom;
55 LOG_ALWAYS_FATAL_IF(!clipState, "must clip!");
59 // Rejected based on either empty clip, or bounds not intersecting with clip
140 // NOTE: this won't succeed if a clip was allocated
151 // clip isn't empty, so construct the o
    [all...]
BakedOpState.h 47 Rect clip; member in struct:android::uirenderer::MergedBakedOpList
51 * Holds the resolved clip, transform, and bounds of a recordedOp, when replayed with a snapshot
58 // Constructor for unbounded ops *with* transform/clip
62 // Constructor for unbounded ops without transform/clip (namely shadows)
65 // Constructor for primitive ops provided clip, and no transform
86 // returns the clip if it's needed to draw the operation, otherwise nullptr
126 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
Snapshot.h 40 * Temporary structure holding information for a single outline clip.
98 * Indicates that the clip region was modified. When this
99 * snapshot is restored so must the clip.
124 * Modifies the current clip with the new clip rectangle and
128 void clip(const Rect& localClip, SkRegion::Op op);
131 * Modifies the current clip with the new clip rectangle and
138 * Modifies the current clip with the specified region and operation.
144 * Modifies the current clip with the specified path and operation
    [all...]
  /external/skia/src/gpu/
GrClip.cpp 16 * getConservativeBounds returns the conservative bounding box of the clip
51 static const GrClip clip; local
52 return clip;
  /external/skia/tests/
FillPathTest.cpp 31 SkIRect clip; local
36 clip.set(0, height - expected_lines, width, height);
42 SkScan::FillPath(path, clip, &blitter);
  /frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
RoundedRectHelperApi21.java 41 public static void setClipToRoundedOutline(View view, boolean clip, int roundedCornerRadius) {
42 if (clip) {
57 view.setClipToOutline(clip);
  /packages/apps/Music/res/drawable/
progress_horizontal.xml 30 <clip android:drawable="@drawable/panel_now_playing_progress_bg"/>
38 <clip>
46 </clip>
  /packages/services/Car/car-support-lib/src/android/support/car/ui/
PathClippingView.java 21 * Interface for a view that can apply a clip given to it in the form of a {@link android.graphics.Path}.
25 * Notify listener of a new clip path.
26 * @param clipPath Clipping path. If {@code null}, clip should no longer be performed.
  /frameworks/base/core/java/android/content/
ClipDescription.java 40 * The MIME type for a clip holding plain text.
45 * The MIME type for a clip holding HTML text.
50 * The MIME type for a clip holding one or more URIs. This should be
59 * The MIME type for a clip holding an Intent.
96 * Create a new clip.
98 * @param label Label to show to the user describing this clip.
144 * Return the label for this clip.
151 * Check whether the clip description contains the given MIME type.
154 * @return Returns true if one of the MIME types in the clip description
167 * Filter the clip description MIME types by the given MIME type. Return
    [all...]
  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
common.h 94 * Clip a signed integer value into the amin-amax range.
95 * @param a value to clip
96 * @param amin minimum value of the clip range
97 * @param amax maximum value of the clip range
111 * Clip a signed 64bit integer value into the amin-amax range.
112 * @param a value to clip
113 * @param amin minimum value of the clip range
114 * @param amax maximum value of the clip range
128 * Clip a signed integer value into the 0-255 range.
129 * @param a value to clip
    [all...]
  /external/opencv3/3rdparty/libwebp/dsp/
yuv.c 29 static WEBP_INLINE uint8_t clip(int v, int max_value) { function
47 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255);
48 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15);
59 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255);
60 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15);
  /frameworks/base/core/java/android/transition/
ChangeClipBounds.java 35 private static final String PROPNAME_CLIP = "android:clipBounds:clip";
59 Rect clip = view.getClipBounds(); local
60 values.values.put(PROPNAME_CLIP, clip);
61 if (clip == null) {
88 return null; // No animation required since there is no clip.
  /frameworks/base/libs/hwui/renderstate/
Scissor.cpp 76 void Scissor::set(int viewportHeight, const Rect& clip) {
78 GLint x = std::max(0, (int)clip.left);
79 GLint y = std::max(0, viewportHeight - (int)clip.bottom);
80 GLint width = std::max(0, ((int)clip.right) - x);
81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y);
  /frameworks/base/services/core/java/com/android/server/clipboard/
ClipboardService.java 160 public void setPrimaryClip(ClipData clip, String callingPackage) {
162 if (clip != null && clip.getItemCount() <= 0) {
170 checkDataOwnerLocked(clip, callingUid);
174 setPrimaryClipInternal(clipboard, clip);
186 // Copy clip data to related users if allowed. If disallowed, then remove
187 // primary clip in related users to prevent pasting stale content.
189 clip = null;
191 // We want to fix the uris of the related user's clip without changing the
192 // uris of the current user's clip
204 setPrimaryClipInternal(getClipboard(id), clip); local
    [all...]
  /external/skia/bench/
AAClipBench.cpp 52 // jostle the clip regions each time to prevent caching
69 // this path tests out directly draw the clip primitive
70 // use it to comparing just drawing the clip vs. drawing using
71 // the clip
86 // 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...]
  /prebuilts/go/darwin-x86/src/image/draw/
clip_test.go 37 "clip dr",
50 "clip sr",
63 "clip dr and sr",
76 "clip dr and sr, sp outside sr (top-left)",
89 "clip dr and sr, sp outside sr (middle-left)",
102 "clip dr and sr, sp outside sr (bottom-left)",
115 "clip dr and sr, sp inside sr",
143 "clip sr and mr",
166 clip(dst, &r, src, &sp, nil, nil)
168 clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp
    [all...]
  /prebuilts/go/linux-x86/src/image/draw/
clip_test.go 37 "clip dr",
50 "clip sr",
63 "clip dr and sr",
76 "clip dr and sr, sp outside sr (top-left)",
89 "clip dr and sr, sp outside sr (middle-left)",
102 "clip dr and sr, sp outside sr (bottom-left)",
115 "clip dr and sr, sp inside sr",
143 "clip sr and mr",
166 clip(dst, &r, src, &sp, nil, nil)
168 clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
CanvasStateTests.java 44 assertTrue("clip state should be non empty", isNonEmpty);
47 assertFalse("clip state should be empty", isNonEmpty);
73 assertTrue("clip state should be non empty", isNonEmpty);
75 // Note: we don't test that non-intersecting clip regions empty the clip,
92 assertTrue("clip state should be non empty", isNonEmpty);
96 assertFalse("clip state should be empty", isNonEmpty);
  /external/skia/gm/
convexpolyclip.cpp 150 static const char kTxt[] = "Clip Me!";
164 const Clip* clip = iter.get(); variable
169 clip->getBounds(&bounds);
177 clip->setOnCanvas(canvas, SkRegion::kIntersect_Op, SkToBool(aa));
192 clip->getBounds(&bounds);
201 clip->asClosedPath(&closedClipPath);
203 clip->setOnCanvas(canvas, SkRegion::kIntersect_Op, SkToBool(aa));
221 class Clip {
229 Clip () : fClipType(kNone_ClipType) {
    [all...]
  /external/skia/src/core/
SkBlitter_PM4f.cpp 85 void blitLCDMask(const SkMask& mask, const SkIRect& clip) {
88 const int x = clip.fLeft;
89 const int width = clip.width();
90 const int y = clip.fTop;
91 const int height = clip.height();
105 void blitMask(const SkMask& mask, const SkIRect& clip) override {
107 this->blitLCDMask(mask, clip);
111 this->INHERITED::blitMask(mask, clip);
115 SkASSERT(mask.fBounds.contains(clip));
117 const int x = clip.fLeft
    [all...]
SkBlitter_A8.cpp 122 void SkA8_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) {
129 SkA8_BlitBW(fDevice, mask, clip);
131 SkA8_BlendBW(fDevice, mask, clip, fSrcA,
137 int x = clip.fLeft;
138 int y = clip.fTop;
139 int width = clip.width();
140 int height = clip.height();
322 void SkA8_Shader_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) {
324 this->INHERITED::blitMask(mask, clip);
328 int x = clip.fLeft
    [all...]
  /external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
box-handler.js 24 webAnimations1.propertyInterpolation('clip', 'rect(10px, 10px, 10px, 10px)', 'rect(50px, 50px, 50px, 50px)')(0.25),
28 webAnimations1.propertyInterpolation('clip', 'rect(-10px, -10px, -10px, -10px)', 'rect(50px, 50px, 50px, 50px)')(0.25),
32 webAnimations1.propertyInterpolation('clip', 'rect(10%, 10%, 10%, 10%)', 'rect(50%, 50%, 50%, 50%)')(0.25),
36 webAnimations1.propertyInterpolation('clip', 'rect(10px, 10%, 10px, 10%)', 'rect(50px, 50%, 50px, 50%)')(0.25),
40 webAnimations1.propertyInterpolation('clip', 'rect(0px, 0px, 0px, 0px)', 'rect(0.001px, 0.001px, 0.001px, 0.001px)')(0.05),
44 webAnimations1.propertyInterpolation('clip', 'rect(0px, 0px, 0px, 0px)', 'rect(0.001px, 0.001px, 0.001px, 0.001px)')(0.5),
48 webAnimations1.propertyInterpolation('clip', 'rect(10px, 10px, 10px, 10px)', 'rect(20px, 20px, 20px, 20px)')(0.25),
52 webAnimations1.propertyInterpolation('clip', 'rect(10px, 10%, 10px, 10%)', 'rect(10em, 10px, 10em, 10px)')(0.4),
57 'clip',
64 'clip',
    [all...]

Completed in 1599 milliseconds

1 23 4 5 6 7 8 91011>>