/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | gpclip.c | 50 Word16 clip = 0; local 52 clip = 1; 54 return (clip);
|
/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.getBasePackageName()); 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 | 859 // Migrate any clip data and flags from target. 5236 * items included in the clip data. This is useful, in particular, if 5244 * Intent items in the clip (or sub-items of the clip). 5252 * @param clip The new clip to set. May be null to clear the current clip. 5254 public void setClipData(ClipData clip) { argument 5255 mClipData = clip; 6257 * <li> clip dat 6557 toShortString(boolean secure, boolean comp, boolean extras, boolean clip) argument 6564 toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, boolean clip) argument [all...] |
/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/core/java/android/webkit/ |
H A D | WebViewClassic.java | 4346 // next clip the region for the content 8538 ClipData clip = ClipData.newPlainText(getTitle(), text); 8539 cm.setPrimaryClip(clip);
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 672 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { method in class:GridLayout 705 final int minorSpan = clip(minorRange, minorWasDefined, count);
|
H A D | ProgressBar.java | 317 private Drawable tileify(Drawable drawable, boolean clip) { argument 343 out.addState(in.getStateSet(i), tileify(in.getStateDrawable(i), clip)); 359 return (clip) ? new ClipDrawable(shapeDrawable, Gravity.LEFT,
|
H A D | TextView.java | 2676 // Will change text clip region 8453 ClipData clip = clipboard.getPrimaryClip(); 8454 if (clip != null) { 8456 for (int i=0; i<clip.getItemCount(); i++) { 8457 CharSequence paste = clip.getItemAt(i).coerceToStyledText(getContext()); 8477 private void setPrimaryClip(ClipData clip) { argument 8480 clipboard.setPrimaryClip(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/libs/hwui/ |
H A D | FontRenderer.cpp | 569 void FontRenderer::initRender(const Rect* clip, Rect* bounds, Functor* functor) { argument 575 mClip = clip; 594 bool FontRenderer::renderPosText(SkPaint* paint, const Rect* clip, const char *text, argument 602 initRender(clip, bounds, functor); 612 bool FontRenderer::renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, argument 620 initRender(clip, bounds, NULL);
|
H A 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);
|
H A D | OpenGLRenderer.cpp | 277 Rect* clip = &mTilingClip; local 279 clip = &(s->layer->clipRect); 282 startTiling(*clip, s->height, opaque); 286 void OpenGLRenderer::startTiling(const Rect& clip, int windowHeight, bool opaque) { argument 288 mCaches.startTiling(clip.left, windowHeight - clip.bottom, 289 clip.right - clip.left, clip.bottom - clip 509 const Rect* clip = &mTilingClip; local 721 calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, bool fboLayer) argument 754 updateSnapshotIgnoreForLayer(const Rect& bounds, const Rect& clip, bool fboLayer, int alpha) argument 776 Rect clip; local 849 Rect clip; local 905 createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo) argument 1526 quickRejectNoScissor(float left, float top, float right, float bottom, Rect& transformed, Rect& clip) argument 1602 SkRegion clip; local 2824 const Rect* clip = pureTranslate ? mSnapshot->clipRect : &mSnapshot->getLocalClip(); local 2935 const Rect* clip = !pureTranslate ? NULL : mSnapshot->clipRect; local 2999 const Rect* clip = &mSnapshot->getLocalClip(); local 3047 Rect clip; local 3301 drawColorRects(const float* rects, int count, int color, SkXfermode::Mode mode, bool ignoreTransform, bool dirty, bool clip) argument [all...] |
H A D | OpenGLRenderer.h | 157 * frame is assumed to be dirty. A clip will automatically be set to 309 // simple rect clip 531 * This method will use the clip rect that we started drawing the 543 void startTiling(const Rect& clip, int windowHeight, bool opaque = false); 565 * @return True if the clip was modified. 570 * Sets the clipping rectangle using glScissor. The clip is defined by 576 * Sets the clipping region using the stencil buffer. The clip region 583 * the transformed rect to test and the current clip. 586 Rect& transformed, Rect& clip); 596 void calculateLayerBoundsAndClip(Rect& bounds, Rect& clip, boo [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
|
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...] |
/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/services/java/com/android/server/ |
H A D | ClipboardService.java | 152 public void setPrimaryClip(ClipData clip, String callingPackage) { argument 154 if (clip != null && clip.getItemCount() <= 0) { 161 checkDataOwnerLocked(clip, Binder.getCallingUid()); 164 clipboard.primaryClip = clip;
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 5381 + " clip=" + (intent != null ? intent.getClipData() : null) 5393 ClipData clip = intent.getClipData(); 5394 if (data == null && clip == null) { 5407 if (clip != null) { 5408 for (int i=0; i<clip.getItemCount(); i++) { 5409 Uri uri = clip.getItemAt(i).getUri(); 5421 Intent clipIntent = clip.getItemAt(i).getIntent();
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
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);
|
H A D | EventPlugin.h | 38 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 498 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); 515 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp);
|
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/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...] |