/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/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.h | 38 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
|
H A D | EventPlugin.cpp | 47 void EventPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { argument 70 // create and clip a canvas 74 clipR.left = clip.left; 75 clipR.top = clip.top; 76 clipR.right = clip.right; 77 clipR.bottom = clip.bottom; 147 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip);
|
/frameworks/base/core/java/android/content/ |
H A D | ClipboardManager.java | 81 * Defines a listener callback that is invoked when the primary clip on the clipboard changes. 92 * clip changes. 114 * Sets the current primary clip on the clipboard. This is the clip that 117 * @param clip The clipped data item to set. 119 public void setPrimaryClip(ClipData clip) { argument 121 getService().setPrimaryClip(clip); 127 * Returns the current primary clip on the clipboard. 138 * Returns a description of the current primary clip on the clipboard 150 * Returns true if there is currently a primary clip o [all...] |
H A D | IClipboard.aidl | 29 void setPrimaryClip(in ClipData clip);
|
/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 | 38 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
H A D | LayerScreenshot.h | 46 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
H A D | LayerBase.h | 148 virtual void draw(const sp<const DisplayDevice>& hw, const Region& clip) const; 154 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const = 0; 268 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const; 274 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, 276 void drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
H A D | LayerDim.cpp | 45 void LayerDim::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const
|
H A D | LayerBase.cpp | 337 void LayerBase::draw(const sp<const DisplayDevice>& hw, const Region& clip) const 339 onDraw(hw, clip); 347 void LayerBase::clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, argument 364 void LayerBase::clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const 366 clearWithOpenGL(hw, clip, 0,0,0,0); 369 void LayerBase::drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const
|
H A D | Layer.h | 76 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
H A D | LayerScreenshot.cpp | 124 void LayerScreenshot::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const
|
H A D | Layer.cpp | 310 void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const 335 Region holes(clip.subtract(under)); 382 drawWithOpenGL(hw, clip); 492 // in particular, we want to make sure the clip (which is part
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | ShirtPocket.java | 161 final ClipData clip = mClipping; 162 if (clip != null) { 163 final Bitmap icon = clip.getIcon(); 180 startDrag(clip, shadow, null, 0); 209 final ClipData clip = mClipping; 210 if (clip != null) { 211 final Bitmap icon = clip.getIcon(); 228 v.startDrag(clip, shadow, null, 0);
|
/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/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 234 Rect* clip = mTilingSnapshot->clipRect; local 236 clip = s->clipRect; 239 mCaches.startTiling(clip->left, s->height - clip->bottom, 240 clip->right - clip->left, clip->bottom - clip->top, opaque); 386 Rect clip(*mSnapshot->clipRect); 387 clip 448 const Rect* clip = mTilingSnapshot->clipRect; local 693 Rect clip; local 780 createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo) argument 1237 quickRejectNoScissor(float left, float top, float right, float bottom, Rect& transformed, Rect& clip) argument 2595 const Rect* clip = pureTranslate ? mSnapshot->clipRect : &mSnapshot->getLocalClip(); local 2690 const Rect* clip = pureTranslate ? mSnapshot->clipRect : local 2751 const Rect* clip = &mSnapshot->getLocalClip(); local 2800 Rect clip; local [all...] |
H A D | FontRenderer.h | 55 bool renderText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 58 bool renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 61 bool renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 122 void initRender(const Rect* clip, Rect* bounds);
|
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 * Sets the current clip. 102 * Returns the current clip in local coordinates. The clip rec [all...] |
H A D | FontRenderer.cpp | 533 void FontRenderer::initRender(const Rect* clip, Rect* bounds) { argument 538 mClip = clip; 570 bool FontRenderer::renderText(SkPaint* paint, const Rect* clip, const char *text, argument 577 initRender(clip, bounds); 584 bool FontRenderer::renderPosText(SkPaint* paint, const Rect* clip, const char *text, argument 592 initRender(clip, bounds); 599 bool FontRenderer::renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, argument 607 initRender(clip, bounds);
|
/frameworks/base/services/java/com/android/server/ |
H A D | ClipboardService.java | 140 public void setPrimaryClip(ClipData clip) { argument 142 if (clip != null && clip.getItemCount() <= 0) { 145 checkDataOwnerLocked(clip, Binder.getCallingUid()); 148 clipboard.primaryClip = clip;
|
/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/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 | 99 * Set the region to the area described by the path and clip. 104 public boolean setPath(Path path, Region clip) { argument 105 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());
|