/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelperApi21.java | 43 public static void setClipToRoundedOutline(View view, boolean clip, int roundedCornerRadius) { argument 44 if (clip) { 59 view.setClipToOutline(clip);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelper.java | 42 public void setClipToRoundedOutline(View view, boolean clip, int radius) { argument 43 mImpl.setClipToRoundedOutline(view, clip, radius); 49 public void setClipToRoundedOutline(View view, boolean clip) { argument 50 mImpl.setClipToRoundedOutline(view, clip, view.getResources().getDimensionPixelSize( 55 public void setClipToRoundedOutline(View view, boolean clip, int radius); argument 66 public void setClipToRoundedOutline(View view, boolean clip, int radius) { argument 79 public void setClipToRoundedOutline(View view, boolean clip, int radius) { argument 80 RoundedRectHelperApi21.setClipToRoundedOutline(view, clip, radius);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatProgressBarHelper.java | 71 private Drawable tileify(Drawable drawable, boolean clip) { argument 75 inner = tileify(inner, clip); 108 return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
|
H A D | ListPopupWindow.java | 1409 private void setPopupClipToScreenEnabled(boolean clip) { argument 1412 sClipToWindowEnabledMethod.invoke(mPopup, clip);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 719 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { method in class:GridLayout 752 final int minorSpan = clip(minorRange, minorWasDefined, count);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 2916 void handlePasteClip(ClipData clip) { argument 2917 if (clip == null) { 2922 final ClipDescription clipDesc = clip.getDescription(); 2931 final ClipDescription clipDescription = clip.getDescription(); 2932 for (int i = 0; i < clip.getItemCount(); i++) { 2941 final CharSequence pastedItem = clip.getItemAt(i).getText();
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 139 vec4_t clip; member in struct:android::gl::vertex_t 267 // user clip planes
|
H A D | egl.cpp | 335 const Region& clip); 455 const Region& clip) 459 Region::const_iterator cur = clip.begin(); 460 Region::const_iterator end = clip.end(); 452 copyBlt( ANativeWindowBuffer* dst, void* dst_vaddr, ANativeWindowBuffer* src, void const* src_vaddr, const Region& clip) argument
|
H A D | 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 local 118 uint32_t clip = 0; local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 407 // Now we need to calculate the parent bounds, so we can clip ourselves to those. 1005 void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const { 1006 onDraw(hw, clip, false); 1039 void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip, argument 1064 Region holes(clip.subtract(under)); 1639 // in particular, we want to make sure the clip (which is part
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 53 * yet when setting transforms and clip information. 73 /** temp clip in case clipping is set before a Graphics2D exists */ 180 * Sets the clip for the graphics2D object associated with the layer. 183 * @param clipShape the shape to use a the clip shape. 187 // first reset the clip to max and then intersect the current (empty) 188 // clip with the shap. 190 mGraphics.clip(clipShape); 195 * clip shape and the given shape. 196 * @param shape the new clip shape. 198 public void clip(Shap method in class:GcSnapshot.Layer 486 public boolean clip(Shape shape, int regionOp) { method in class:GcSnapshot [all...] |
/frameworks/base/services/core/java/com/android/server/clipboard/ |
H A D | ClipboardService.java | 179 ClipData clip = 184 setPrimaryClipInternal(getClipboard(0), clip); 246 public void setPrimaryClip(ClipData clip, String callingPackage) { argument 248 if (clip != null && clip.getItemCount() <= 0) { 251 if (clip.getItemAt(0).getText() != null && 254 clip.getItemAt(0).getText().toString()); 261 checkDataOwnerLocked(clip, callingUid); 265 setPrimaryClipInternal(clipboard, clip); 277 // Copy clip dat 400 setPrimaryClipInternal(PerUserClipboard clipboard, ClipData clip) argument [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | GrantedUriPermissions.java | 78 ClipData clip = intent.getClipData(); 79 if (clip != null) { 80 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, tag, 87 public static GrantedUriPermissions createFromClip(IActivityManager am, ClipData clip, argument 93 if (clip != null) { 94 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, 100 private static GrantedUriPermissions grantClip(IActivityManager am, ClipData clip, argument 103 final int N = clip.getItemCount(); 105 curPerms = grantItem(am, clip.getItemAt(i), sourceUid, targetPackage, targetUserId,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 212 /* Create an outline provider to clip and outline the view */ 414 * Returns whether this view should be clipped, or any views below should clip against this 418 // Never clip for freeform tasks or if invisible 426 void setClipViewInStack(boolean clip) { argument 427 if (clip != mClipViewInStack) { 428 mClipViewInStack = clip; 717 // Reset the clip state for the drag view after the end animation completes 725 // Reset the clip state for the drag view after the cancel animation completes
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 116 * Sets a transformation and clip for a given page. The transformation matrix if 118 * the clip is null, then no clipping is performed. 122 * @param clip The clip to apply. 125 @Nullable Rect clip) { 132 if (clip == null) { 143 clip.left, clip.top, clip.right, clip 124 setTransformAndClip(int pageIndex, @Nullable Matrix transform, @Nullable Rect clip) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.cpp | 82 ClipRect renderTargetClip(opList.clip); 83 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; local 84 renderer.renderGlop(nullptr, clip, glop); 186 ClipRect renderTargetClip(opList.clip); 187 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; local 188 renderer.renderGlop(nullptr, clip, glop); 224 // Compute damage bounds and clip (since may differ from those in textOpState). 244 // need clip, so pass it and clip bounds 247 // don't need clip, ignor 323 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; local [all...] |
H A D | BakedOpRenderer.cpp | 239 void BakedOpRenderer::setupStencilRectList(const ClipBase* clip) { argument 240 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist"); 241 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList; 252 bounds.doIntersect(clip->rect); 273 void BakedOpRenderer::setupStencilRegion(const ClipBase* clip) { argument 274 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); 275 auto&& region = reinterpret_cast<const ClipRegion*>(clip)->region; 278 SkRegion::Cliperator it(region, clip 290 prepareRender(const Rect* dirtyBounds, const ClipBase* clip) argument 344 renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument 355 auto&& clip = state.computedState.clipRect(); local [all...] |
H A D | BakedOpRenderer.h | 87 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) { argument 88 mGlopReceiver(*this, dirtyBounds, clip, glop); 107 const ClipBase* clip, const Glop& glop) { 108 renderer.renderGlopImpl(dirtyBounds, clip, glop); 110 void renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop); 113 void prepareRender(const Rect* dirtyBounds, const ClipBase* clip); 114 void setupStencilRectList(const ClipBase* clip); 115 void setupStencilRegion(const ClipBase* clip); 106 DefaultGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument
|
H A D | BakedOpState.cpp | 24 static int computeClipSideFlags(const Rect& clip, const Rect& bounds) { argument 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; 57 LOG_ALWAYS_FATAL_IF(!clipState, "must clip!"); 61 // Rejected based on either empty clip, or bounds not intersecting with clip 142 // NOTE: this won't succeed if a clip was allocated 153 // clip is 157 directConstruct(LinearAllocator& allocator, const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp) argument [all...] |
H A D | 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 127 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
|
H A D | 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. 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) { argument 513 if (!clip) retur [all...] |
H A D | FontRenderer.cpp | 76 renderer->renderGlop(nullptr, clip, glop); 625 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { argument 631 mClip = clip; 651 bool FontRenderer::renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, argument 659 initRender(clip, bounds, functor); 669 bool FontRenderer::renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, argument 677 initRender(clip, bounds, functor);
|
H A D | FontRenderer.h | 57 const ClipBase* clip, 62 , clip(clip) 75 const ClipBase* clip; member in class:android::uirenderer::TextDrawFunctor 97 bool renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, 101 bool renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, 146 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor); 54 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkBlendMode mode, const SkPaint* paint) argument
|
H A D | FrameBuilder.cpp | 35 FrameBuilder::FrameBuilder(const SkRect& clip, argument 47 auto fbo0 = mAllocator.create<LayerBuilder>(viewportWidth, viewportHeight, Rect(clip)); 51 clip.fLeft, clip.fTop, clip.fRight, clip.fBottom, 301 nullptr, // no record-time clip - need only respect defer-time one 442 // apply reorder clip to shadow, so it respects clip at beginning of reorderable chunk 491 // transformFromCompositingAncestor, and record-time clip i [all...] |