Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/opengl/libagl/
Dvertex.cpp69 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/
DClipboardManager.java99 public void setPrimaryClip(ClipData clip) { in setPrimaryClip() argument
101 getService().setPrimaryClip(clip); in setPrimaryClip()
171 ClipData clip = getPrimaryClip(); in getText() local
172 if (clip != null && clip.getItemCount() > 0) { in getText()
173 return clip.getItemAt(0).coerceToText(mContext); in getText()
DIClipboard.aidl29 void setPrimaryClip(in ClipData clip); in setPrimaryClip() argument
/frameworks/base/tests/BrowserTestPlugin/jni/event/
DEventPlugin.cpp47 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()
DEventPlugin.h38 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dgpclip.c50 Word16 clip = 0; in Gp_clip() local
52 clip = 1; in Gp_clip()
54 return (clip); in Gp_clip()
/frameworks/base/services/surfaceflinger/
DLayerDim.cpp43 void LayerDim::onDraw(const Region& clip) const in onDraw()
46 Region::const_iterator it = clip.begin(); in onDraw()
47 Region::const_iterator const end = clip.end(); in onDraw()
DLayerScreenshot.cpp67 void LayerScreenshot::onDraw(const Region& clip) const in onDraw()
70 Region::const_iterator it = clip.begin(); in onDraw()
71 Region::const_iterator const end = clip.end(); in onDraw()
DLayerBase.h125 virtual void draw(const Region& clip) const;
131 virtual void onDraw(const Region& clip) const = 0;
230 void clearWithOpenGL(const Region& clip, GLclampf r, GLclampf g,
232 void clearWithOpenGL(const Region& clip) const;
233 void drawWithOpenGL(const Region& clip) const;
DLayerBase.cpp367 void LayerBase::draw(const Region& clip) const in draw()
372 onDraw(clip); in draw()
383 void LayerBase::clearWithOpenGL(const Region& clip, GLclampf red, in clearWithOpenGL() argument
395 Region::const_iterator it = clip.begin(); in clearWithOpenGL()
396 Region::const_iterator const end = clip.end(); in clearWithOpenGL()
407 void LayerBase::clearWithOpenGL(const Region& clip) const in clearWithOpenGL()
409 clearWithOpenGL(clip,0,0,0,0); in clearWithOpenGL()
412 void LayerBase::drawWithOpenGL(const Region& clip) const in drawWithOpenGL()
459 Region::const_iterator it = clip.begin(); in drawWithOpenGL()
460 Region::const_iterator const end = clip.end(); in drawWithOpenGL()
DLayerDim.h39 virtual void onDraw(const Region& clip) const;
DLayerScreenshot.h44 virtual void onDraw(const Region& clip) const;
DLayer.cpp245 void Layer::onDraw(const Region& clip) const in onDraw()
268 Region holes(clip.subtract(under)); in onDraw()
298 drawWithOpenGL(clip); in onDraw()
DLayer.h67 virtual void onDraw(const Region& clip) const;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DShirtPocket.java162 final ClipData clip = mClipping; in onTouchEvent() local
163 if (clip != null) { in onTouchEvent()
164 final Bitmap icon = clip.getIcon(); in onTouchEvent()
181 startDrag(clip, shadow, null, 0); in onTouchEvent()
/frameworks/base/docs/html/guide/topics/clipboard/
Dcopy-paste.jd138 When you use the clipboard framework, you put data into a clip object, and then
139 put the clip object on the system-wide clipboard. The clip object can take one of three forms:
144 A text string. You put the string directly into the clip object, which you then put onto
145 the clipboard. To paste the string, you get the clip object from the clipboard and copy
152 {@link android.net.Uri} object into a clip object and put the clip object onto
153 the clipboard. To paste the data, you get the clip object, get the
160 data, you create an Intent, put it into a clip object, and put the clip object onto the
161 clipboard. To paste the data, you get the clip object and then copy the Intent object
166 The clipboard holds only one clip object at a time. When an application puts a clip object on
167 the clipboard, the previous clip object disappears.
[all …]
/frameworks/base/services/java/com/android/server/
DClipboardService.java87 public void setPrimaryClip(ClipData clip) { in setPrimaryClip() argument
89 if (clip != null && clip.getItemCount() <= 0) { in setPrimaryClip()
92 checkDataOwnerLocked(clip, Binder.getCallingUid()); in setPrimaryClip()
94 mPrimaryClip = clip; in setPrimaryClip()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp226 Rect clip(*mSnapshot->clipRect); in callDrawGLFunction() local
227 clip.snapToPixelBoundaries(); in callDrawGLFunction()
233 dirtyLayerUnchecked(clip, getRegion()); in callDrawGLFunction()
238 info.clipLeft = clip.left; in callDrawGLFunction()
239 info.clipTop = clip.top; in callDrawGLFunction()
240 info.clipRight = clip.right; in callDrawGLFunction()
241 info.clipBottom = clip.bottom; in callDrawGLFunction()
501 Rect clip(bounds); in createFboLayer() local
502 snapshot->transform->mapRect(clip); in createFboLayer()
503 clip.intersect(*snapshot->clipRect); in createFboLayer()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java186 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/core/java/android/speech/tts/
DAudioPlaybackHandler.java515 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); in blockUntilCompletion()
546 private static final long clip(long value, long min, long max) { in clip() method in AudioPlaybackHandler
591 float vol = clip(volume, 0.0f, 1.0f); in setupVolume()
592 float panning = clip(pan, -1.0f, 1.0f); in setupVolume()
606 private static float clip(float value, float min, float max) { in clip() method in AudioPlaybackHandler
/frameworks/base/core/jni/android/graphics/
DRegion.cpp56 const SkPath* path, const SkRegion* clip) { in Region_setPath() argument
57 SkASSERT(dst && path && clip); in Region_setPath()
58 return dst->setPath(*path, *clip); in Region_setPath()
/frameworks/base/graphics/java/android/graphics/
DRegion.java104 public boolean setPath(Path path, Region clip) { in setPath() argument
105 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); in setPath()
/frameworks/base/docs/html/intl/ja/
Dindex.jd27 <div id="list-clip">
31 </div><!-- end list-clip -->
100 div#list-clip {
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd208 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/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java321 Region_Delegate clip = sManager.getDelegate(native_clip); in nativeSetPath() local
322 if (clip != null) { in nativeSetPath()
323 dstRegion.mArea.subtract(clip.getJavaArea()); in nativeSetPath()

12