Searched defs:bounds (Results 1 - 25 of 101) sorted by path

12345

/frameworks/av/services/audioflinger/
H A DFastMixer.cpp481 // sample arrays aren't accessed atomically with respect to the bounds,
557 uint32_t bounds = mBounds; local
558 uint32_t newestOpen = bounds & 0xFFFF;
559 uint32_t oldestClosed = bounds >> 16;
H A DFastThread.h68 uint32_t bounds; member in class:android::FastThread
/frameworks/base/core/java/android/app/
H A DActivityManager.java1707 public Rect bounds = new Rect(); field in class:ActivityManager.StackInfo
1720 dest.writeInt(bounds.left);
1721 dest.writeInt(bounds.top);
1722 dest.writeInt(bounds.right);
1723 dest.writeInt(bounds.bottom);
1731 bounds = new Rect(
1759 sb.append(" bounds="); sb.append(bounds.toShortString());
H A DIActivityManager.java137 public void resizeStack(int stackId, Rect bounds) throws RemoteException; argument
/frameworks/base/core/java/android/hardware/camera2/params/
H A DFace.java71 * @param bounds Bounds of the face.
79 * if bounds is {@code null},
88 public Face(Rect bounds, int score, int id, argument
90 checkNotNull("bounds", bounds);
102 mBounds = bounds;
122 * @param bounds Bounds of the face.
126 * if bounds is {@code null},
132 public Face(Rect bounds, int score) { argument
133 this(bounds, scor
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java466 * Return the start position of the line, given the left and right bounds
470 * @param left the left bounds (0, or leading margin if ltr para)
471 * @param right the right bounds (width, minus leading margin if rtl para)
609 * If bounds is not null, return the top, left, right, bottom extents
612 * @param bounds Optional. If not null, it returns the extent of the line
615 public int getLineBounds(int line, Rect bounds) { argument
616 if (bounds != null) {
617 bounds.left = 0; // ???
618 bounds.top = getLineTop(line);
619 bounds
[all...]
/frameworks/base/core/java/android/transition/
H A DExplode.java86 Rect bounds = (Rect) endValues.values.get(PROPNAME_SCREEN_BOUNDS);
89 calculateOut(sceneRoot, bounds, mTempLoc);
93 return TranslationAnimationCreator.createAnimation(view, endValues, bounds.left, bounds.top,
103 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS);
104 int viewPosX = bounds.left;
105 int viewPosY = bounds.top;
114 endX += interruptedPosition[0] - bounds.left;
115 endY += interruptedPosition[1] - bounds.top;
116 bounds
126 calculateOut(View sceneRoot, Rect bounds, int[] outVector) argument
[all...]
H A DTransitionUtils.java93 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight());
94 matrix.mapRect(bounds);
95 int left = Math.round(bounds.left);
96 int top = Math.round(bounds.top);
97 int right = Math.round(bounds.right);
98 int bottom = Math.round(bounds.bottom);
102 Bitmap bitmap = createViewBitmap(view, matrix, bounds);
151 * @param bounds The bounds of the bitmap in the destination coordinate system (where the
153 * @return A bitmap of the given view or null if bounds ha
155 createViewBitmap(View view, Matrix matrix, RectF bounds) argument
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java347 public boolean getClipBounds(Rect bounds) { argument
348 return nGetClipBounds(mRenderer, bounds);
351 private static native boolean nGetClipBounds(long renderer, Rect bounds); argument
445 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { argument
446 if (bounds != null) {
447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
470 public int saveLayerAlpha(RectF bounds, in argument
[all...]
H A DTouchDelegate.java26 * actual view bounds. The view whose touch area is changed is called the delegate view. This
28 * instance that specifies the bounds that should be mapped to the delegate and the delegate
86 * @param bounds Bounds in local coordinates of the containing view that should be mapped to
90 public TouchDelegate(Rect bounds, View delegateView) { argument
91 mBounds = bounds;
94 mSlopBounds = new Rect(bounds);
100 * Will forward touch events to the delegate view if the event is within the bounds
115 Rect bounds = mBounds;
117 if (bounds.contains(x, y)) {
H A DViewRootImpl.java941 // Intersect with the bounds of the window to skip
2498 final Rect bounds = mAttachInfo.mTmpInvalRect;
2499 final boolean hasFocus = getAccessibilityFocusedRect(bounds);
2501 bounds.setEmpty();
2503 if (!bounds.equals(drawable.getBounds())) {
2681 final Rect bounds = mAttachInfo.mTmpInvalRect;
2682 if (getAccessibilityFocusedRect(bounds)) {
2685 drawable.setBounds(bounds);
2693 private boolean getAccessibilityFocusedRect(Rect bounds) { argument
2706 host.getBoundsOnScreen(bounds, tru
[all...]
H A DWindowManagerInternal.java55 * Called when the bounds of the screen content that is magnified changed.
58 * @param bounds The bounds.
60 public void onMagnifedBoundsChanged(Region bounds); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1409 * Gets the node bounds in parent coordinates.
1411 * @param outBounds The output node bounds.
1419 * Sets the node bounds in parent coordinates.
1426 * @param bounds The node bounds.
1430 public void setBoundsInParent(Rect bounds) { argument
1432 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds
1457 setBoundsInScreen(Rect bounds) argument
[all...]
H A DAccessibilityWindowInfo.java212 * Gets the bounds of this window in the screen.
214 * @param outBounds The out window bounds.
221 * Sets the bounds of this window in the screen.
223 * @param bounds The out window bounds.
227 public void setBoundsInScreen(Rect bounds) { argument
228 mBoundsInScreen.set(bounds);
471 builder.append(", bounds=").append(mBoundsInScreen);
/frameworks/base/core/java/android/widget/
H A DAbsListView.java167 * Indicates the view is being flung outside of normal content bounds
772 * itself to modify the bounds of the selection shown for that item.
776 * Called to allow the list item to adjust the bounds shown for
779 * @param bounds On call, this contains the bounds the list has
780 * selected for the item (that is the bounds of the entire view). The
783 public void adjustListItemSelectionBounds(Rect bounds); argument
2523 final Rect bounds = mSelectorRect;
2524 final float x = bounds.exactCenterX();
2525 final float y = bounds
[all...]
H A DExpandableListView.java175 * indicator bounds
416 // the left & right bounds
523 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument
536 divider.setBounds(bounds);
545 super.drawDivider(canvas, bounds, flatListPosition);
1164 * Sets the drawing bounds for the child indicator. For either, you can
1166 * indicator's bounds.
1169 * @param left The left position (relative to the left bounds of this View)
1171 * @param right The right position (relative to the left bounds of this
1181 * Sets the relative drawing bounds fo
[all...]
H A DFastScroller.java562 final Rect bounds = mTempBounds;
563 measurePreview(mPrimaryText, bounds);
564 applyLayout(mPrimaryText, bounds);
565 measurePreview(mSecondaryText, bounds);
566 applyLayout(mSecondaryText, bounds);
570 bounds.left -= mPreviewImage.getPaddingLeft();
571 bounds.top -= mPreviewImage.getPaddingTop();
572 bounds.right += mPreviewImage.getPaddingRight();
573 bounds.bottom += mPreviewImage.getPaddingBottom();
574 applyLayout(mPreviewImage, bounds);
587 applyLayout(View view, Rect bounds) argument
1618 animateBounds(View v, Rect bounds) argument
[all...]
H A DListView.java3192 void drawOverscrollHeader(Canvas canvas, Drawable drawable, Rect bounds) { argument
3196 canvas.clipRect(bounds);
3198 final int span = bounds.bottom - bounds.top;
3200 bounds.top = bounds.bottom - height;
3203 drawable.setBounds(bounds);
3209 void drawOverscrollFooter(Canvas canvas, Drawable drawable, Rect bounds) { argument
3213 canvas.clipRect(bounds);
3215 final int span = bounds
3412 drawDivider(Canvas canvas, Rect bounds, int childIndex) argument
[all...]
H A DRadialTimePickerView.java1535 private void getBoundsForVirtualView(int virtualViewId, Rect bounds) { argument
1567 bounds.set((int) (xCenter - radius), (int) (yCenter - radius),
H A DScrollBarDrawable.java145 protected void onBoundsChange(Rect bounds) { argument
146 super.onBoundsChange(bounds);
150 protected void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { argument
159 track.setBounds(bounds);
165 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument
170 thumbRect.set(bounds.left, bounds.top + offset,
171 bounds.right, bounds.top + offset + length);
173 thumbRect.set(bounds
[all...]
H A DTextView.java2126 * The Drawables' bounds will be set to their intrinsic bounds.
2153 * Drawable there. The Drawables' bounds will be set to their intrinsic
2154 * bounds.
2317 * Drawables' bounds will be set to their intrinsic bounds.
2346 * there. The Drawables' bounds will be set to their intrinsic bounds.
2744 * metrics, and also increases top and bottom bounds to provide more space.
4820 Rect bounds
5523 getLineBounds(int line, Rect bounds) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DMinikinSkia.cpp68 void MinikinFontSkia::GetBounds(MinikinRect* bounds, uint32_t glyph_id, argument
75 bounds->mLeft = skBounds.fLeft;
76 bounds->mTop = skBounds.fTop;
77 bounds->mRight = skBounds.fRight;
78 bounds->mBottom = skBounds.fBottom;
H A DNinePatch.cpp34 extern void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap,
92 static void draw(JNIEnv* env, SkCanvas* canvas, SkRect& bounds, const SkBitmap* bitmap, argument
96 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop),
97 SkScalarToFloat(bounds.fRight), SkScalarToFloat(bounds.fBottom));
98 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL);
103 canvas->translate(bounds.fLeft, bounds.fTop);
106 bounds
134 SkRect bounds; local
153 SkRect bounds; local
166 SkRect bounds; local
[all...]
H A DNinePatchImpl.cpp105 void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, argument
108 if (canvas && canvas->quickReject(bounds)) {
124 SkNinePatch::DrawMesh(canvas, bounds, bitmap,
148 ALOGV("======== ninepatch bounds [%g %g]\n", SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()));
155 if (bounds.isEmpty() ||
206 ALOGV("NinePatch [%d %d] bounds [%g %g %g %g] divs [%d %d]\n",
208 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds
[all...]
H A DPaint.cpp900 static void doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, argument
914 GraphicsJNI::irect_to_jrect(ir, env, bounds);
918 jstring text, jint start, jint end, jint bidiFlags, jobject bounds) {
922 doTextBounds(env, textArray + start, end - start, bounds, *paint, typeface, bidiFlags);
927 jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) {
931 doTextBounds(env, textArray + index, count, bounds, *paint, typeface, bidiFlags);
917 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
926 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument

Completed in 782 milliseconds

12345