/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelper.java | 39 public void setClipToRoundedOutline(View view, boolean clip) { argument 40 mImpl.setClipToRoundedOutline(view, clip); 44 public void setClipToRoundedOutline(View view, boolean clip); argument 52 public void setClipToRoundedOutline(View view, boolean clip) { argument 62 public void setClipToRoundedOutline(View view, boolean clip) { argument 63 RoundedRectHelperApi21.setClipToRoundedOutline(view, clip);
|
/frameworks/native/opengl/libagl/ |
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/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelperApi21.java | 39 public static void setClipToRoundedOutline(View view, boolean clip) { argument 40 view.setOutlineProvider(clip ? sOutlineProvider : ViewOutlineProvider.BACKGROUND); 41 view.setClipToOutline(clip);
|
/frameworks/base/core/java/android/content/ |
H A D | 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) { argument 120 if (clip != null) { 121 clip.prepareToLeaveProcess(); 123 getService().setPrimaryClip(clip, mContext.getOpPackageName()); 129 * Returns the current primary clip o [all...] |
H A D | IClipboard.aidl | 29 void setPrimaryClip(in ClipData clip, String callingPackage);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | gpclip.c | 50 Word16 clip = 0; local 52 clip = 1; 54 return (clip);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | DumpHeapActivity.java | 67 ClipData clip = ClipData.newUri(getContentResolver(), "Heap Dump", JAVA_URI); 68 intent.setClipData(clip); 70 intent.setType(clip.getDescription().getMimeType(0)); 103 ClipData clip = ClipData.newUri(getContentResolver(), "Heap Dump", JAVA_URI); 104 intent.setClipData(clip); 106 intent.setType(clip.getDescription().getMimeType(0));
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerDim.h | 37 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
|
H A D | Layer.h | 199 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip, 237 void draw(const sp<const DisplayDevice>& hw, const Region& clip) const; 301 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const; 357 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, 359 void drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip,
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackQueueItem.java | 100 final float vol = clip(volume, 0.0f, 1.0f); 101 final float panning = clip(pan, -1.0f, 1.0f); 112 private static final float clip(float value, float min, float max) { method in class:AudioPlaybackQueueItem
|
H A D | BlockingAudioTrack.java | 285 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); 319 final float vol = clip(volume, 0.0f, 1.0f); 320 final float panning = clip(pan, -1.0f, 1.0f); 335 private static final long clip(long value, long min, long max) { method in class:BlockingAudioTrack 339 private static final float clip(float value, float min, float max) { method in class:BlockingAudioTrack
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeClipBounds.java | 35 private static final String PROPNAME_CLIP = "android:clipBounds:clip"; 59 Rect clip = view.getClipBounds(); 60 values.values.put(PROPNAME_CLIP, clip); 61 if (clip == null) { 88 return null; // No animation required since there is no clip.
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 151 Rect clip = new Rect(); 152 clip.left = (int) (paddingLeftPts * displayScale); 153 clip.top = (int) (paddingTopPts * displayScale); 154 clip.right = (int) (bitmapWidth - paddingRightPts * displayScale); 155 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale); 162 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY); 347 Rect clip = new Rect(mediaBox); 348 clip.left += paddingLeftPts; 349 clip.top += paddingTopPts; 350 clip [all...] |
/frameworks/base/services/core/java/com/android/server/clipboard/ |
H A D | ClipboardService.java | 160 public void setPrimaryClip(ClipData clip, String callingPackage) { argument 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 clip.fixUrisLight(userId); 196 setPrimaryClipInternal(getClipboard(id), clip); 218 setPrimaryClipInternal(PerUserClipboard clipboard, ClipData clip) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Outline.h | 76 void setShouldClip(bool clip) { argument 77 mShouldClip = clip;
|
H A D | OpenGLRenderer.cpp | 199 const Rect* clip = &mTilingClip; local 201 clip = &(snapshot->layer->clipRect); 204 startTiling(*clip, getViewportHeight(), opaque, expand); 208 void OpenGLRenderer::startTiling(const Rect& clip, int windowHeight, bool opaque, bool expand) { argument 212 int leftNotZero = (clip.left > 0) ? 1 : 0; 213 int topNotZero = (windowHeight - clip.bottom > 0) ? 1 : 0; 216 clip.left - leftNotZero, 217 windowHeight - clip.bottom - topNotZero, 218 clip.right - clip 347 const Rect* clip = &mTilingClip; local 536 calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, bool fboLayer) argument 571 updateSnapshotIgnoreForLayer(const Rect& bounds, const Rect& clip, bool fboLayer, int alpha) argument 592 Rect clip; local 666 Rect clip; local 727 createFboLayer(Layer* layer, Rect& bounds, Rect& clip) argument 2263 const Rect* clip = !pureTranslate ? nullptr : &mState.currentClipRect(); local 2311 const Rect* clip = &writableSnapshot()->getLocalClip(); local 2535 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument [all...] |
H A D | FontRenderer.h | 91 bool renderPosText(const SkPaint* paint, const Rect* clip, const char *text, 96 bool renderTextOnPath(const SkPaint* paint, const Rect* clip, const char *text, 136 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
|
H A D | ClipArea.cpp | 168 SkRegion RectangleList::convertToRegion(const SkRegion& clip) const { 175 rectangleListAsRegion.setPath(rectPathTransformed, clip); 178 rectRegion.setPath(rectPathTransformed, clip); 259 // The only way this occurs is by a clip setting operation. 304 // all clip areas that can be represented by a region.
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfRenderer.cpp | 201 FX_RECT clip; local 202 clip.left = destLeft; 203 clip.right = destRight; 204 clip.top = destTop; 205 clip.bottom = destBottom; 206 fxgeDevice->SetClip_Rect(&clip);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 109 * Sets a transformation and clip for a given page. The transformation matrix if 111 * the clip is null, then no clipping is performed. 115 * @param clip The clip to apply. 118 @Nullable Rect clip) { 125 if (clip == null) { 132 clip.left, clip.top, clip.right, clip 117 setTransformAndClip(int pageIndex, @Nullable Matrix transform, @Nullable Rect clip) argument [all...] |
/frameworks/base/libs/hwui/unit_tests/ |
H A D | ClipAreaTests.cpp | 82 SkRegion clip; local 83 clip.setRect(0, 0, 2000, 2000); 84 SkRegion rgn(list.convertToRegion(clip));
|
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistContent.java | 82 public void setClipData(ClipData clip) { argument 83 mClipData = clip; 116 * leave the null and only report the local intent and clip data.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistOrbView.java | 226 boolean clip = mCircleSize < mCircleMinSize; 227 if (clip != mClipToOutline) { 228 setClipToOutline(clip); 229 mClipToOutline = clip;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 51 * yet when setting transforms and clip information. 71 /** temp clip in case clipping is set before a Graphics2D exists */ 178 * Sets the clip for the graphics2D object associated with the layer. 181 * @param clipShape the shape to use a the clip shape. 185 // first reset the clip to max and then intersect the current (empty) 186 // clip with the shap. 188 mGraphics.clip(clipShape); 193 * clip shape and the given shape. 194 * @param shape the new clip shape. 196 public void clip(Shap method in class:GcSnapshot.Layer 484 public boolean clip(Shape shape, int regionOp) { method in class:GcSnapshot [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatRatingBar.java | 88 private Drawable tileify(Drawable drawable, boolean clip) { argument 92 inner = tileify(inner, clip); 123 return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
|