Searched defs:clip (Results 1 - 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dgpclip.c50 Word16 clip = 0; local
52 clip = 1;
54 return (clip);
/frameworks/base/core/java/android/content/
H A DClipboardManager.java81 * 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 DIntent.java858 // Migrate any clip data and flags from target.
5065 * items included in the clip data. This is useful, in particular, if
5073 * Intent items in the clip (or sub-items of the clip).
5081 * @param clip The new clip to set. May be null to clear the current clip.
5083 public void setClipData(ClipData clip) { argument
5084 mClipData = clip;
6086 * <li> clip dat
6386 toShortString(boolean secure, boolean comp, boolean extras, boolean clip) argument
6393 toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, boolean clip) argument
[all...]
/frameworks/base/libs/hwui/
H A DSnapshot.cpp121 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { function in class:android::uirenderer::Snapshot
H A DFontRenderer.cpp533 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);
H A DOpenGLRenderer.cpp234 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...]
/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp47 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/speech/tts/
H A DBlockingAudioTrack.java291 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/services/java/com/android/server/
H A DClipboardService.java140 public void setPrimaryClip(ClipData clip) { argument
142 if (clip != null && clip.getItemCount() <= 0) {
145 checkDataOwnerLocked(clip, Binder.getCallingUid());
148 clipboard.primaryClip = clip;
/frameworks/native/opengl/libagl/
H A Dvertex.cpp52 // 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 Dcontext.h138 vec4_t clip; member in struct:android::gl::vertex_t
262 // user clip planes
H A Degl.cpp333 const Region& clip);
458 const Region& clip)
462 Region::const_iterator cur = clip.begin();
463 Region::const_iterator end = clip.end();
455 copyBlt( ANativeWindowBuffer* dst, void* dst_vaddr, ANativeWindowBuffer* src, void const* src_vaddr, const Region& clip) argument
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp57 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 DRegion.java99 * 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/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java49 * 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/native/services/surfaceflinger/
H A DLayerBase.cpp337 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
/frameworks/base/core/java/android/widget/
H A DProgressBar.java315 private Drawable tileify(Drawable drawable, boolean clip) { argument
341 out.addState(in.getStateSet(i), tileify(in.getStateDrawable(i), clip));
357 return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
H A DGridLayout.java672 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { method in class:GridLayout
705 final int minorSpan = clip(minorRange, minorWasDefined, count);
H A DTextView.java2471 // Will change text clip region
8125 ClipData clip = clipboard.getPrimaryClip();
8126 if (clip != null) {
8128 for (int i=0; i<clip.getItemCount(); i++) {
8129 CharSequence paste = clip.getItemAt(i).coerceToStyledText(getContext());
8149 private void setPrimaryClip(ClipData clip) { argument
8152 clipboard.setPrimaryClip(clip);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2218 private void handlePasteClip(ClipData clip) { argument
2221 if (clip != null && clip.getDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN)){
2222 for (int i = 0; i < clip.getItemCount(); i++) {
2223 CharSequence paste = clip.getItemAt(i).getText();
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java652 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { method in class:GridLayout
685 final int minorSpan = clip(minorRange, minorWasDefined, count);

Completed in 1817 milliseconds