/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...] |
H A D | primitives.cpp | 105 // configure the rasterizer here, before we clip 125 // configure the rasterizer here, before we clip 173 // configure the rasterizer here, before we clip 191 // configure the rasterizer here, before we clip 540 // clip the line if needed 598 // The assumption here is that we're not going to clip very often, 599 // and even more rarely will we clip a triangle that ends up 866 // original list of vertices (polygon to clip, in fact this 882 // User clip-planes first, the clipping is always done in eye-coordinate 903 // clip eac [all...] |
H A D | array.cpp | 957 c->arrays.mvp_transform(&c->transforms.mvp, &v->clip, &v->obj); 974 c->arrays.mvp_transform(mvp, &v->clip, &v->obj); 998 v->clip.x = mla3a(rx, m[ 0], ry, m[ 4], rz, m[ 8], m[12]); 999 v->clip.y = mla3a(rx, m[ 1], ry, m[ 5], rz, m[ 9], m[13]); 1000 v->clip.z = mla3a(rx, m[ 2], ry, m[ 6], rz, m[10], m[14]); 1001 v->clip.w = mla3a(rx, m[ 3], ry, m[ 7], rz, m[11], m[15]); 1003 const GLfixed w = v->clip.w; 1004 uint32_t clip = 0; 1005 if (v->clip.x < -w) clip | [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipboardManager.java | 82 * Defines a listener callback that is invoked when the primary clip on the clipboard changes. 93 * clip changes. 115 * Sets the current primary clip on the clipboard. This is the clip that 118 * @param clip The clipped data item to set. 120 public void setPrimaryClip(ClipData clip) { argument 122 if (clip != null) { 123 clip.prepareToLeaveProcess(); 125 getService().setPrimaryClip(clip, mContext.getOpPackageName()); 131 * Returns the current primary clip o [all...] |
H A D | IClipboard.aidl | 29 void setPrimaryClip(in ClipData clip, String callingPackage);
|
H A D | Intent.java | 863 // Migrate any clip data and flags from target. 5420 * items included in the clip data. This is useful, in particular, if 5428 * Intent items in the clip (or sub-items of the clip). 5436 * @param clip The new clip to set. May be null to clear the current clip. 5438 public void setClipData(ClipData clip) { argument 5439 mClipData = clip; 6441 * <li> clip dat 6741 toShortString(boolean secure, boolean comp, boolean extras, boolean clip) argument 6748 toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, boolean clip) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | gpclip.c | 50 Word16 clip = 0; local 52 clip = 1; 54 return (clip);
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerDim.h | 37 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
H A D | Layer.h | 181 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const; 214 void draw(const sp<const DisplayDevice>& hw, const Region& clip) const; 270 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const; 323 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, 325 void drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
H A D | LayerDim.cpp | 42 void LayerDim::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const
|
H A D | Layer.cpp | 444 void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const { 445 onDraw(hw, clip); 452 void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const 477 Region holes(clip.subtract(under)); 543 drawWithOpenGL(hw, clip); 548 void Layer::clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, argument 558 const sp<const DisplayDevice>& hw, const Region& clip) const { 559 clearWithOpenGL(hw, clip, 0,0,0,0); 563 const sp<const DisplayDevice>& hw, const Region& clip) const { 775 // in particular, we want to make sure the clip (whic [all...] |
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 288 Rect* clip = &mTilingClip; local 290 clip = &(s->layer->clipRect); 293 startTiling(*clip, s->height, opaque); 297 void OpenGLRenderer::startTiling(const Rect& clip, int windowHeight, bool opaque) { argument 299 mCaches.startTiling(clip.left, windowHeight - clip.bottom, 300 clip.right - clip.left, clip.bottom - clip 532 const Rect* clip = &mTilingClip; local 792 calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, bool fboLayer) argument 825 updateSnapshotIgnoreForLayer(const Rect& bounds, const Rect& clip, bool fboLayer, int alpha) argument 847 Rect clip; local 921 Rect clip; local 977 createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo) argument 1698 SkRegion clip; local 2884 const Rect* clip = pureTranslate ? mSnapshot->clipRect : &mSnapshot->getLocalClip(); local 2976 const Rect* clip = !pureTranslate ? NULL : mSnapshot->clipRect; local 3024 const Rect* clip = &mSnapshot->getLocalClip(); local 3335 drawColorRects(const float* rects, int count, int color, SkXfermode::Mode mode, bool ignoreTransform, bool dirty, bool clip) argument [all...] |
H A D | Snapshot.h | 55 * Indicates that the clip region was modified. When this 56 * snapshot is restored so must the clip. 82 * Modifies the current clip with the new clip rectangle and 86 bool clip(float left, float top, float right, float bottom, 90 * Modifies the current clip with the new clip rectangle and 97 * Modifies the current clip with the specified region and operation. 103 * Sets the current clip. 108 * Returns the current clip i [all...] |
H A D | FontRenderer.h | 106 bool renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 111 bool renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 159 void initRender(const Rect* clip, Rect* bounds, Functor* functor);
|
H A D | FontRenderer.cpp | 662 void FontRenderer::initRender(const Rect* clip, Rect* bounds, Functor* functor) { argument 668 mClip = clip; 687 bool FontRenderer::renderPosText(SkPaint* paint, const Rect* clip, const char *text, argument 695 initRender(clip, bounds, functor); 705 bool FontRenderer::renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, argument 713 initRender(clip, bounds, functor);
|
H A D | OpenGLRenderer.h | 168 * frame is assumed to be dirty. A clip will automatically be set to 340 * Store the current display state (most importantly, the current clip and transform), and 360 // simple rect clip 585 * This method will use the clip rect that we started drawing the 597 void startTiling(const Rect& clip, int windowHeight, bool opaque = false); 619 * @return True if the clip was modified. 624 * Sets the clipping rectangle using glScissor. The clip is defined by 630 * Sets the clipping region using the stencil buffer. The clip region 638 void calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, bool fboLayer); 641 * Given the local bounds + clip o [all...] |
H A D | Snapshot.cpp | 114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { function in class:android::uirenderer::Snapshot 180 // we may have to modify the previous snapshot's clip rect and clip 181 // region if the previous restore() call did not restore the clip
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 291 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); 325 final float vol = clip(volume, 0.0f, 1.0f); 326 final float panning = clip(pan, -1.0f, 1.0f); 341 private static final long clip(long value, long min, long max) { method in class:BlockingAudioTrack 353 private static float clip(float value, float min, float max) { method in class:BlockingAudioTrack
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 49 * yet when setting transforms and clip information. 69 /** temp clip in case clipping is set before a Graphics2D exists */ 176 * Sets the clip for the graphics2D object associated with the layer. 179 * @param clipShape the shape to use a the clip shape. 183 // first reset the clip to max and then intersect the current (empty) 184 // clip with the shap. 186 mGraphics.clip(clipShape); 191 * clip shape and the given shape. 192 * @param shape the new clip shape. 194 public void clip(Shap method in class:GcSnapshot.Layer 482 public boolean clip(Shape shape, int regionOp) { method in class:GcSnapshot [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | ClipboardService.java | 154 public void setPrimaryClip(ClipData clip, String callingPackage) { argument 156 if (clip != null && clip.getItemCount() <= 0) { 164 checkDataOwnerLocked(clip, callingUid); 167 clipboard.primaryClip = clip;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 57 const SkPath* path, const SkRegion* clip) { 58 SkASSERT(dst && path && clip); 59 return dst->setPath(*path, *clip); 56 Region_setPath(JNIEnv* env, jobject, SkRegion* dst, const SkPath* path, const SkRegion* clip) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 107 * Set the region to the area described by the path and clip. 112 public boolean setPath(Path path, Region clip) { argument 113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 74 * @param shape1 the firt shape to combine which can be null if there's no original clip. 321 Region_Delegate clip = sManager.getDelegate(native_clip); 322 if (clip != null) { 323 dstRegion.mArea.subtract(clip.getJavaArea());
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ProgressBarICS.java | 161 private Drawable tileify(Drawable drawable, boolean clip) { argument 194 return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
|
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 322 private Drawable tileify(Drawable drawable, boolean clip) { argument 348 out.addState(in.getStateSet(i), tileify(in.getStateDrawable(i), clip)); 364 return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
|