/frameworks/native/opengl/libagl/ |
D | vertex.cpp | 69 const int32_t rw = gglRecip28(v->clip.w); in perspective() 72 v->window.x = gglMulAddx(gglMulx(v->clip.x, rw, 16), m[ 0], m[12], 28); in perspective() 73 v->window.y = gglMulAddx(gglMulx(v->clip.y, rw, 16), m[ 5], m[13], 28); in perspective() 77 v->window.z = gglMulAddx(gglMulx(v->clip.z, rw, 16), m[10], m[14], 28); in perspective() 89 uint32_t clip = v->flags & vertex_t::CLIP_ALL; in clipFrustumPerspective() local 90 const GLfixed w = v->clip.w; in clipFrustumPerspective() 91 if (v->clip.x < -w) clip |= vertex_t::CLIP_L; in clipFrustumPerspective() 92 if (v->clip.x > w) clip |= vertex_t::CLIP_R; in clipFrustumPerspective() 93 if (v->clip.y < -w) clip |= vertex_t::CLIP_B; in clipFrustumPerspective() 94 if (v->clip.y > w) clip |= vertex_t::CLIP_T; in clipFrustumPerspective() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ClipboardManager.java | 120 public void setPrimaryClip(ClipData clip) { in setPrimaryClip() argument 122 if (clip != null) { in setPrimaryClip() 123 clip.prepareToLeaveProcess(); in setPrimaryClip() 125 getService().setPrimaryClip(clip, mContext.getBasePackageName()); in setPrimaryClip() 195 ClipData clip = getPrimaryClip(); in getText() local 196 if (clip != null && clip.getItemCount() > 0) { in getText() 197 return clip.getItemAt(0).coerceToText(mContext); in getText()
|
D | IClipboard.aidl | 29 void setPrimaryClip(in ClipData clip, String callingPackage); in setPrimaryClip() argument
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
D | EventPlugin.cpp | 47 void EventPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { in drawPlugin() argument 74 clipR.left = clip.left; in drawPlugin() 75 clipR.top = clip.top; in drawPlugin() 76 clipR.right = clip.right; in drawPlugin() 77 clipR.bottom = clip.bottom; in drawPlugin() 147 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip); in handleEvent()
|
D | EventPlugin.h | 38 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
|
/frameworks/base/libs/hwui/ |
D | OpenGLRenderer.cpp | 277 Rect* clip = &mTilingClip; in startTiling() local 279 clip = &(s->layer->clipRect); in startTiling() 282 startTiling(*clip, s->height, opaque); in startTiling() 286 void OpenGLRenderer::startTiling(const Rect& clip, int windowHeight, bool opaque) { in startTiling() argument 288 mCaches.startTiling(clip.left, windowHeight - clip.bottom, in startTiling() 289 clip.right - clip.left, clip.bottom - clip.top, opaque); in startTiling() 443 Rect clip(*mSnapshot->clipRect); in callDrawGLFunction() local 444 clip.snapToPixelBoundaries(); in callDrawGLFunction() 449 dirtyLayerUnchecked(clip, getRegion()); in callDrawGLFunction() 453 info.clipLeft = clip.left; in callDrawGLFunction() [all …]
|
D | FontRenderer.h | 67 bool renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 72 bool renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, 121 void initRender(const Rect* clip, Rect* bounds, Functor* functor);
|
D | OpenGLRenderer.h | 543 void startTiling(const Rect& clip, int windowHeight, bool opaque = false); 586 Rect& transformed, Rect& clip); 596 void calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, bool fboLayer); 601 void updateSnapshotIgnoreForLayer(const Rect& bounds, const Rect& clip, 630 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo); 699 bool dirty = true, bool clip = true);
|
D | FontRenderer.cpp | 569 void FontRenderer::initRender(const Rect* clip, Rect* bounds, Functor* functor) { in initRender() argument 575 mClip = clip; in initRender() 594 bool FontRenderer::renderPosText(SkPaint* paint, const Rect* clip, const char *text, in renderPosText() argument 602 initRender(clip, bounds, functor); in renderPosText() 612 bool FontRenderer::renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, in renderTextOnPath() argument 620 initRender(clip, bounds, NULL); in renderTextOnPath()
|
D | Snapshot.h | 86 bool clip(float left, float top, float right, float bottom,
|
D | Snapshot.cpp | 114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { in clip() function in android::uirenderer::Snapshot
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | gpclip.c | 50 Word16 clip = 0; in Gp_clip() local 52 clip = 1; in Gp_clip() 54 return (clip); in Gp_clip()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | ShirtPocket.java | 161 final ClipData clip = mClipping; in onTouchEvent() local 162 if (clip != null) { in onTouchEvent() 163 final Bitmap icon = clip.getIcon(); in onTouchEvent() 180 startDrag(clip, shadow, null, 0); in onTouchEvent()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 291 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); in blockUntilCompletion() 325 final float vol = clip(volume, 0.0f, 1.0f); in setupVolume() 326 final float panning = clip(pan, -1.0f, 1.0f); in setupVolume() 341 private static final long clip(long value, long min, long max) { in clip() method in BlockingAudioTrack 353 private static float clip(float value, float min, float max) { in clip() method in BlockingAudioTrack
|
/frameworks/base/docs/html/guide/topics/text/ |
D | copy-paste.jd | 139 When you use the clipboard framework, you put data into a clip object, and then 140 put the clip object on the system-wide clipboard. The clip object can take one of three forms: 145 A text string. You put the string directly into the clip object, which you then put onto 146 the clipboard. To paste the string, you get the clip object from the clipboard and copy 153 {@link android.net.Uri} object into a clip object and put the clip object onto 154 the clipboard. To paste the data, you get the clip object, get the 161 data, you create an Intent, put it into a clip object, and put the clip object onto the 162 clipboard. To paste the data, you get the clip object and then copy the Intent object 167 The clipboard holds only one clip object at a time. When an application puts a clip object on 168 the clipboard, the previous clip object disappears. [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 195 virtual void draw(const sp<const DisplayDevice>& hw, const Region& clip) const; 201 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const; 294 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const; 343 void clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, 345 void drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
D | LayerDim.h | 39 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const;
|
D | Layer.cpp | 436 void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const { in draw() 437 onDraw(hw, clip); in draw() 444 void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const in onDraw() 469 Region holes(clip.subtract(under)); in onDraw() 518 drawWithOpenGL(hw, clip); in onDraw() 525 void Layer::clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, in clearWithOpenGL() argument 543 const sp<const DisplayDevice>& hw, const Region& clip) const { in clearWithOpenGL() 544 clearWithOpenGL(hw, clip, 0,0,0,0); in clearWithOpenGL() 548 const sp<const DisplayDevice>& hw, const Region& clip) const { in drawWithOpenGL()
|
D | LayerDim.cpp | 44 void LayerDim::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const in onDraw()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 186 mGraphics.clip(clipShape); in setClip() 194 public void clip(Shape shape) { in clip() method in GcSnapshot.Layer 195 mGraphics.clip(shape); in clip() 482 public boolean clip(Shape shape, int regionOp) { in clip() method in GcSnapshot 488 layer.clip(shape); in clip() 526 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); in clipRect() 651 Shape clip = getClip(); in doRestore() local 653 layer.setClip(clip); in doRestore()
|
/frameworks/base/services/java/com/android/server/ |
D | ClipboardService.java | 152 public void setPrimaryClip(ClipData clip, String callingPackage) { in setPrimaryClip() argument 154 if (clip != null && clip.getItemCount() <= 0) { in setPrimaryClip() 161 checkDataOwnerLocked(clip, Binder.getCallingUid()); in setPrimaryClip() 164 clipboard.primaryClip = clip; in setPrimaryClip()
|
/frameworks/base/core/jni/android/graphics/ |
D | Region.cpp | 57 const SkPath* path, const SkRegion* clip) { in Region_setPath() argument 58 SkASSERT(dst && path && clip); in Region_setPath() 59 return dst->setPath(*path, *clip); in Region_setPath()
|
/frameworks/base/docs/html/guide/topics/media/jet/ |
D | jetcreator_manual.jd | 208 a track at the moment the game event occurs might result in a music clip 209 starting in the middle. Alternatively, a clip could be started from the 213 <p>However, with the JET sync engine, a clip 217 the start of a clip and a second event signifies the end of a clip. When the 218 application calls the JET clip function, the next clip in the track is allowed 1016 103 JET clip marker</p> 1027 the JET_TriggerClip API call. The clip ID is encoded in the low 6 bits of the 1028 controller value. Bit 6 is set to one to indicate the start of a clip, and set 1029 to zero to indicate the end of a clip.</p> 1033 <p>For example, to identify a clip with a clip [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 112 public boolean setPath(Path path, Region clip) { in setPath() argument 113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); in setPath()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 321 Region_Delegate clip = sManager.getDelegate(native_clip); in nativeSetPath() local 322 if (clip != null) { in nativeSetPath() 323 dstRegion.mArea.subtract(clip.getJavaArea()); in nativeSetPath()
|