/frameworks/base/core/java/android/view/ |
H A D | TouchDelegate.java | 26 * 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 D | WindowManagerInternal.java | 55 * 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/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 76 int usage, const Rect& bounds, void** vaddr) 82 bounds.left, bounds.top, bounds.width(), bounds.height(), 90 int usage, const Rect& bounds, android_ycbcr *ycbcr) 96 bounds.left, bounds.top, bounds.width(), bounds 75 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument 89 lockYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr) argument 114 lockAsync(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr, int fenceFd) argument 136 lockAsyncYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable21.java | 52 Rect bounds, Rect outRect) { 54 bounds, outRect, View.LAYOUT_DIRECTION_LTR); 51 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 91 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight()); 92 matrix.mapRect(bounds); 93 int left = Math.round(bounds.left); 94 int top = Math.round(bounds.top); 95 int right = Math.round(bounds.right); 96 int bottom = Math.round(bounds.bottom); 100 Bitmap bitmap = createViewBitmap(view, matrix, bounds); 120 * @param bounds The bounds of the bitmap in the destination coordinate system (where the 122 * @return A bitmap of the given view or null if bounds ha 124 createViewBitmap(View view, Matrix matrix, RectF bounds) argument [all...] |
H A D | Explode.java | 86 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...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | FocusedStackFrame.java | 65 private void draw(Rect bounds, int color) { argument 66 if (false && DEBUG_STACK) Slog.i(TAG, "draw: bounds=" + bounds.toShortString() + 68 mTmpDrawRect.set(bounds); 79 final int w = bounds.width(); 80 final int h = bounds.height(); 102 private void positionSurface(Rect bounds) { argument 103 if (false && DEBUG_STACK) Slog.i(TAG, "positionSurface: bounds=" + bounds.toShortString()); 104 mSurfaceControl.setSize(bounds [all...] |
/frameworks/native/include/ui/ |
H A D | Region.h | 51 inline Rect bounds() const { return getBounds(); } function in class:android::Region 56 // the region becomes its bounds 178 // bounds of the region. However, if the region is
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawableFactory.java | 56 Rect bounds, Rect outRect) { 58 bounds, outRect, ViewCompat.LAYOUT_DIRECTION_LTR); 55 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/av/services/audioflinger/ |
H A D | FastThread.h | 68 uint32_t bounds; member in class:android::FastThread
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | Face.java | 71 * @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/jni/android/graphics/ |
H A D | MinikinSkia.cpp | 68 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 D | NinePatch.cpp | 34 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 D | NinePatchImpl.cpp | 105 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...] |
/frameworks/minikin/libs/minikin/ |
H A D | MinikinFontFreeType.cpp | 56 void MinikinFontFreeType::GetBounds(MinikinRect* bounds, uint32_t glyph_id, argument
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | TileDrawable.java | 76 protected void onBoundsChange(Rect bounds) { argument 77 super.onBoundsChange(bounds); 83 if (bounds.isEmpty()) { 86 final int l = bounds.left + (bounds.width() / 2) - (mInnerWidth / 2); 87 final int t = bounds.top + (bounds.height() / 2) - (mInnerHeight / 2);
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
H A D | RoundRectDrawable.java | 74 private void updateBounds(Rect bounds) { argument 75 if (bounds == null) { 76 bounds = getBounds(); 78 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom); 79 mBoundsI.set(bounds); 84 // to make sure they have same bounds. 90 protected void onBoundsChange(Rect bounds) { argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 142 protected void onBoundsChange(Rect bounds) { argument 143 super.onBoundsChange(bounds); 147 protected void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { argument 156 track.setBounds(bounds); 162 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument 167 thumbRect.set(bounds.left, bounds.top + offset, 168 bounds.right, bounds.top + offset + length); 170 thumbRect.set(bounds [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | NinePatch.java | 23 * bounds of the graphic. For a thorough explanation of a NinePatch image, 248 * @param bounds The location and size of the NinePatch. 251 * report, else a {@link Region} holding the parts of the specified bounds 254 public final Region getTransparentRegion(Rect bounds) { argument 255 long r = nativeGetTransparentRegion(mBitmap.ni(), mNativeChunk, bounds);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 210 protected void onBoundsChange(Rect bounds) { argument 211 mClipState.mDrawable.setBounds(bounds); 222 final Rect bounds = getBounds(); 224 int w = bounds.width(); 229 int h = bounds.height(); 235 Gravity.apply(mClipState.mGravity, w, h, bounds, r, layoutDirection);
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.h | 55 // global op bounds, mapped by mMatrix to be in screen space coordinates, clipped 61 int mClipSideFlags; // specifies which sides of the bounds are clipped, unclipped if cleared 84 DeferredDisplayList(const Rect& bounds, bool avoidOverdraw = true) : argument 85 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) { 151 // layer space bounds of rendering 199 bool opaqueOverBounds; // opaque over bounds in DeferredDisplayState - can skip ops below
|
H A D | Snapshot.cpp | 99 const SkIRect& bounds = clipRegion->getBounds(); local 100 clipRect->set(bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom); 219 void Snapshot::setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, argument 221 if (bounds.isEmpty()) { 243 state->dangerRects[i] = bounds; 245 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius; 246 state->dangerRects[0].right = state->dangerRects[2].right = bounds [all...] |
H A D | StatefulBaseRenderer.cpp | 179 Rect* bounds = mSnapshot->previous->clipRect; local 180 clip.setRect(bounds->left, bounds->top, bounds->right, bounds->bottom); 198 Rect bounds; local 200 if (!outline->getAsRoundRect(&bounds, &radius)) return; // only RR supported 205 clipRect(bounds.left, bounds.top, bounds [all...] |
H A D | VertexBuffer.h | 105 * Brute force bounds computation, used only if the producer of this 106 * vertex buffer can't determine bounds more simply/efficiently 140 void setBounds(Rect bounds) { mBounds = bounds; } argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FakeShadowDrawable.java | 105 protected void onBoundsChange(Rect bounds) { argument 106 super.onBoundsChange(bounds); 265 private void buildComponents(Rect bounds) { argument 270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset, 271 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
|