/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/app/assist/ |
H A D | AssistContent.java | 85 public void setClipData(ClipData clip) { argument 86 mClipData = clip; 119 * leave the null and only report the local intent and clip data.
|
/frameworks/base/core/java/android/app/job/ |
H A D | JobInfo.java | 491 // XXX for now we consider two different clip data objects to be different, 883 * URI permissions for data associated with the clip. The exact kind 889 * Intent items in the clip (or sub-items of the clip). 895 * @param clip The new clip to set. May be null to clear the current clip. 901 public Builder setClipData(@Nullable ClipData clip, int grantFlags) { argument 902 mClipData = clip;
|
/frameworks/base/core/java/android/content/ |
H A D | ClipboardManager.java | 73 * Defines a listener callback that is invoked when the primary clip on the clipboard changes. 84 * clip changes. 97 * Sets the current primary clip on the clipboard. This is the clip that 100 * @param clip The clipped data item to set. 102 public void setPrimaryClip(ClipData clip) { argument 104 if (clip != null) { 105 clip.prepareToLeaveProcess(true); 107 mService.setPrimaryClip(clip, mContext.getOpPackageName()); 114 * Returns the current primary clip o [all...] |
H A D | Intent.java | 687 * optional index of the URI in the clip data to show first. 988 // Migrate any clip data and flags from target. 7856 * items included in the clip data. This is useful, in particular, if 7864 * Intent items in the clip (or sub-items of the clip). 7872 * @param clip The new clip to set. May be null to clear the current clip. 7874 public void setClipData(@Nullable ClipData clip) { argument 7875 mClipData = clip; 9147 toShortString(boolean secure, boolean comp, boolean extras, boolean clip) argument 9154 toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, boolean clip) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 147 int weight = clip(this.weight, 178 int score = clip(weight, 199 int score = clip(weight, 209 return clip(value, lo, /*hi*/Integer.MAX_VALUE, rect, name); 212 private static int clip(int value, int lo, int hi, Rect rect, String name) { method in class:ParameterUtils.WeightedRectangle 215 + name + " too small, clip to " + lo); 219 + name + " too small, clip to " + hi); 995 + stringFromArea(area) + " has too small weight, clip to 0");
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackQueueItem.java | 100 final float vol = clip(volume, 0.0f, 1.0f); 101 final float panning = clip(pan, -1.0f, 1.0f); 112 private static final float clip(float value, float min, float max) { method in class:AudioPlaybackQueueItem
|
H A D | BlockingAudioTrack.java | 285 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); 319 final float vol = clip(volume, 0.0f, 1.0f); 320 final float panning = clip(pan, -1.0f, 1.0f); 335 private static final long clip(long value, long min, long max) { method in class:BlockingAudioTrack 339 private static final float clip(float value, float min, float max) { method in class:BlockingAudioTrack
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 731 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { method in class:GridLayout 764 final int minorSpan = clip(minorRange, minorWasDefined, count);
|
H A D | ProgressBar.java | 427 private Drawable tileify(Drawable drawable, boolean clip) { argument 464 out.addState(in.getStateSet(i), tileify(in.getStateDrawable(i), clip)); 479 if (clip) {
|
H A D | TextView.java | 4118 // Will change text clip region 11156 ClipData clip = clipboard.getPrimaryClip(); 11157 if (clip != null) { 11159 for (int i = 0; i < clip.getItemCount(); i++) { 11162 paste = clip.getItemAt(i).coerceToStyledText(getContext()); 11165 final CharSequence text = clip.getItemAt(i).coerceToText(getContext()); 11195 private void setPrimaryClip(ClipData clip) { argument 11198 clipboard.setPrimaryClip(clip);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 70 const SkRegion* clip = reinterpret_cast<SkRegion*>(clipHandle); local 71 SkASSERT(dst && path && clip); 72 bool result = dst->setPath(*path, *clip);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 170 FS_RECTF clip = {(float) clipLeft, (float) clipTop, (float) clipRight, (float) clipBottom}; local 172 FPDFPage_TransFormWithClip(page, &transform, &clip);
|
H A D | PdfRenderer.cpp | 131 FS_RECTF clip = {(float) clipLeft, (float) clipTop, (float) clipRight, (float) clipBottom}; local 133 FPDF_RenderPageBitmapWithMatrix(bitmap, page, &transform, &clip, renderFlags);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ColorSpace.java | 3705 * .clip(true) 3763 * .clip(true) 3773 * @param clip True to clip the chromaticity diagram to the first registered color space, 3778 public Renderer clip(boolean clip) { argument 3779 mClip = clip; 3881 * @see #clip(boolean) 3900 * .clip(true) 4083 * This method respect the clip paramete [all...] |
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.readOnlyNI(), clip.mNativeRegion);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 116 * Sets a transformation and clip for a given page. The transformation matrix if 118 * the clip is null, then no clipping is performed. 122 * @param clip The clip to apply. 125 @Nullable Rect clip) { 132 if (clip == null) { 143 clip.left, clip.top, clip.right, clip 124 setTransformAndClip(int pageIndex, @Nullable Matrix transform, @Nullable Rect clip) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.cpp | 82 ClipRect renderTargetClip(opList.clip); 83 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; local 84 renderer.renderGlop(nullptr, clip, glop); 186 ClipRect renderTargetClip(opList.clip); 187 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; local 188 renderer.renderGlop(nullptr, clip, glop); 224 // Compute damage bounds and clip (since may differ from those in textOpState). 244 // need clip, so pass it and clip bounds 247 // don't need clip, ignor 323 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; local [all...] |
H A D | BakedOpRenderer.cpp | 239 void BakedOpRenderer::setupStencilRectList(const ClipBase* clip) { argument 240 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist"); 241 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList; 252 bounds.doIntersect(clip->rect); 273 void BakedOpRenderer::setupStencilRegion(const ClipBase* clip) { argument 274 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); 275 auto&& region = reinterpret_cast<const ClipRegion*>(clip)->region; 278 SkRegion::Cliperator it(region, clip 290 prepareRender(const Rect* dirtyBounds, const ClipBase* clip) argument 344 renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument 355 auto&& clip = state.computedState.clipRect(); local [all...] |
H A D | BakedOpRenderer.h | 87 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) { argument 88 mGlopReceiver(*this, dirtyBounds, clip, glop); 107 const ClipBase* clip, const Glop& glop) { 108 renderer.renderGlopImpl(dirtyBounds, clip, glop); 110 void renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop); 113 void prepareRender(const Rect* dirtyBounds, const ClipBase* clip); 114 void setupStencilRectList(const ClipBase* clip); 115 void setupStencilRegion(const ClipBase* clip); 106 DefaultGlopReceiver(BakedOpRenderer& renderer, const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) argument
|
H A D | BakedOpState.cpp | 24 static int computeClipSideFlags(const Rect& clip, const Rect& bounds) { argument 26 if (clip.left > bounds.left) clipSideFlags |= OpClipSideFlags::Left; 27 if (clip.top > bounds.top) clipSideFlags |= OpClipSideFlags::Top; 28 if (clip.right < bounds.right) clipSideFlags |= OpClipSideFlags::Right; 29 if (clip.bottom < bounds.bottom) clipSideFlags |= OpClipSideFlags::Bottom; 57 LOG_ALWAYS_FATAL_IF(!clipState, "must clip!"); 61 // Rejected based on either empty clip, or bounds not intersecting with clip 142 // NOTE: this won't succeed if a clip was allocated 153 // clip is 157 directConstruct(LinearAllocator& allocator, const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp) argument [all...] |
H A D | BakedOpState.h | 47 Rect clip; member in struct:android::uirenderer::MergedBakedOpList 51 * Holds the resolved clip, transform, and bounds of a recordedOp, when replayed with a snapshot 58 // Constructor for unbounded ops *with* transform/clip 62 // Constructor for unbounded ops without transform/clip (namely shadows) 65 // Constructor for primitive ops provided clip, and no transform 86 // returns the clip if it's needed to draw the operation, otherwise nullptr 127 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
|
H A D | ClipArea.cpp | 162 SkRegion RectangleList::convertToRegion(const SkRegion& clip) const { 169 rectangleListAsRegion.setPath(rectPathTransformed, clip); 172 rectRegion.setPath(rectPathTransformed, clip); 268 // The only way this occurs is by a clip setting operation. 303 // all clip areas that can be represented by a region. 363 // Only initial clip-to-viewport observed, so no serialization of clip necessary 423 // if either is empty, clip is empty 512 void ClipArea::applyClip(const ClipBase* clip, const Matrix4& transform) { argument 513 if (!clip) retur [all...] |
H A D | FontRenderer.cpp | 76 renderer->renderGlop(nullptr, clip, glop); 625 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { argument 631 mClip = clip; 651 bool FontRenderer::renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, argument 659 initRender(clip, bounds, functor); 669 bool FontRenderer::renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, argument 677 initRender(clip, bounds, functor);
|
H A D | FontRenderer.h | 57 const ClipBase* clip, 62 , clip(clip) 75 const ClipBase* clip; member in class:android::uirenderer::TextDrawFunctor 97 bool renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, 101 bool renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, 146 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor); 54 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkBlendMode mode, const SkPaint* paint) argument
|