/frameworks/av/media/libeffects/loudness/dsp/core/ |
H A D | dynamic_range_compression.cpp | 83 const float rect = std::max(overshoot, 0.0f); local 85 const float cv = rect * slope_; 112 const float rect = std::max(overshoot, 0.0f); local 114 const float cv = rect * slope_;
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 4822 OMX_CONFIG_RECTTYPE rect; local 4823 InitOMXParams(&rect); 4824 rect.nPortIndex = portIndex; 4830 &rect, sizeof(rect)) != OK) { 4831 rect.nLeft = 0; 4832 rect.nTop = 0; 4833 rect.nWidth = videoDef->nFrameWidth; 4834 rect.nHeight = videoDef->nFrameHeight; 4837 if (rect [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 353 int stride, const android_native_rect_t& rect) ; 567 int h, int stride, const android_native_rect_t& rect) { 576 bool inside = rect.left <= x && x < rect.right && 577 rect.top <= y && y < rect.bottom; 580 bool inside = rect.left <= 2*x && 2*x < rect.right && 581 rect.top <= 2*y && 2*y < rect 566 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 666 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect) { argument 668 if (image == nullptr || rect == nullptr) { 669 ALOGE("%s: bad argument. image %p rect %p", 670 __FUNCTION__, image, rect); 684 rect->left = 0; 685 rect->top = 0; 686 rect->right = width; 687 rect->bottom = height;
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 640 // Get a crop rect that will fit this 1091 private final void validateRect(Rect rect) { argument 1092 if (rect != null && rect.isEmpty()) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 322 * Translate the screen rect to the application frame. 324 public void translateRectInScreenToAppWinFrame(Rect rect) { argument 325 rect.scale(applicationInvertedScale); 379 public void translateRectInAppWindowToScreen(Rect rect) { argument 380 rect.scale(applicationScale); 386 public void translateRectInScreenToAppWindow(Rect rect) { argument 387 rect.scale(applicationInvertedScale);
|
H A D | Configuration.java | 1744 public void setAppBounds(Rect rect) { argument 1745 if (rect == null) { 1750 setAppBounds(rect.left, rect.top, rect.right, rect.bottom);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1742 * is 800x480. The rect passed from the driver is (-1000, -1000, 0, 0). 1743 * The corresponding viewfinder rect should be (0, 0, 400, 240). It is 1771 public Rect rect; field in class:Camera.Face 1799 * the same space as the ones for {@link #rect}. This is an optional 1808 * in the same space as the ones for {@link #rect}.This is an optional 1817 * the same space as the ones for {@link #rect}. This is an optional 2029 * @param rect the bounds of the area. 2032 public Area(Rect rect, int weight) { argument 2033 this.rect = rect; 2067 public Rect rect; field in class:Camera.Area [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 126 public final Rect rect; field in class:ParameterUtils.WeightedRectangle 134 public WeightedRectangle(Rect rect, int weight) { argument 135 this.rect = checkNotNull(rect, "rect must not be null"); 150 rect, 153 int x = clipLower(rect.left, /*lo*/0, rect, "left"); 154 int y = clipLower(rect.top, /*lo*/0, rect, "to 208 clipLower(int value, int lo, Rect rect, String name) argument 212 clip(int value, int lo, int hi, Rect rect, String name) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MeteringRectangle.java | 128 * @param rect a non-{@code null} rectangle with all x,y,w,h dimensions >= 0 134 public MeteringRectangle(Rect rect, int meteringWeight) { argument 135 checkNotNull(rect, "rect must not be null"); 137 mX = checkArgumentNonnegative(rect.left, "rect.left must be nonnegative"); 138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative"); 139 mWidth = checkArgumentNonnegative(rect.width(), "rect [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 58 * @param size a non-{@code null} rect 62 * @throws NullPointerException if {@code rect} was {@code null} 64 public static Rect createRect(RectF rect) { argument 65 checkNotNull(rect, "rect must not be null"); 68 rect.roundOut(r); 74 * Map the rectangle in {@code rect} with the transform in {@code transform} into 81 * @param rect a non-{@code null} rectangle 86 public static Rect mapRect(Matrix transform, Rect rect) { argument 88 checkNotNull(rect, "rec 105 createSize(Rect rect) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AppTransitionAnimationSpec.java | 19 public final Rect rect; field in class:AppTransitionAnimationSpec 21 public AppTransitionAnimationSpec(int taskId, GraphicBuffer buffer, Rect rect) { argument 23 this.rect = rect; 29 rect = in.readParcelable(null); 41 dest.writeParcelable(rect, 0 /* flags */); 58 return "{taskId: " + taskId + ", buffer: " + buffer + ", rect: " + rect + "}";
|
H A D | RecordingCanvas.java | 368 public final void drawRect(@NonNull RectF rect, @NonNull Paint paint) { argument 370 rect.left, rect.top, rect.right, rect.bottom, paint.getNativeInstance()); 386 public final void drawRoundRect(@NonNull RectF rect, float rx, float ry, @NonNull Paint paint) { argument 387 drawRoundRect(rect.left, rect.top, rect.right, rect [all...] |
H A D | RenderNode.java | 289 public boolean setClipBounds(@Nullable Rect rect) { argument 290 if (rect == null) { 293 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom);
|
H A D | View.java | 6643 * @param outRect rect to populate with hotspot bounds 7343 * @param rect The rectangle to be mapped 7347 public void mapRectFromViewToScreenCoords(RectF rect, boolean clipToParent) { argument 7349 getMatrix().mapRect(rect); 7352 rect.offset(mLeft, mTop); 7358 rect.offset(-parentView.mScrollX, -parentView.mScrollY); 7361 rect.left = Math.max(rect.left, 0); 7362 rect.top = Math.max(rect 15552 transformRect(final Rect rect) argument [all...] |
H A D | ViewGroup.java | 5840 // in case the dirty rect extends outside the bounds of this container 5863 * @param rect A rectangle defined in descendant's coordinate space. 5865 public final void offsetDescendantRectToMyCoords(View descendant, Rect rect) { argument 5866 offsetRectBetweenParentAndChild(descendant, rect, true, false); 5873 * @param rect A rectangle defined in descendant's coordinate space. 5875 public final void offsetRectIntoDescendantCoords(View descendant, Rect rect) { argument 5876 offsetRectBetweenParentAndChild(descendant, rect, false, false); 5880 * Helper method that offsets a rect either from parent to descendant or 5883 void offsetRectBetweenParentAndChild(View descendant, Rect rect, argument 5899 rect [all...] |
H A D | Window.java | 639 * @param rect The area where caption content is positioned, relative to the top view. 641 void onRestrictedCaptionAreaChanged(Rect rect); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 2864 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 2865 return mProvider.getViewDelegate().requestChildRectangleOnScreen(child, rect, immediate);
|
H A D | WebViewProvider.java | 409 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 1358 * If rect is off screen, scroll just enough to get it (or at least the 1361 * @param rect The rectangle. 1365 private boolean scrollToChildRect(Rect rect, boolean immediate) { argument 1366 final int delta = computeScrollDeltaToGetChildRectOnScreen(rect); 1383 * @param rect The rect. 1386 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { argument 1395 // leave room for left fading edge as long as rect isn't at very left 1396 if (rect.left > 0) { 1400 // leave room for right fading edge as long as rect is [all...] |
H A D | ListView.java | 659 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 661 int rectTopWithinChild = rect.top; 663 // offset so rect is in coordinates of the this view 664 rect.offset(child.getLeft(), child.getTop()); 665 rect.offset(-child.getScrollX(), -child.getScrollY()); 673 // leave room for top fading edge as long as rect isn't at very top 683 // leave room for bottom fading edge as long as rect isn't at very bottom 685 || (rect.bottom < (bottomOfBottomChild - fadingEdge))) { 692 if (rect.bottom > listUnfadedBottom && rect [all...] |
H A D | ScrollView.java | 1385 * If rect is off screen, scroll just enough to get it (or at least the 1388 * @param rect The rectangle. 1392 private boolean scrollToChildRect(Rect rect, boolean immediate) { argument 1393 final int delta = computeScrollDeltaToGetChildRectOnScreen(rect); 1410 * @param rect The rect. 1413 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { argument 1422 // leave room for top fading edge as long as rect isn't at very top 1423 if (rect.top > 0) { 1427 // leave room for bottom fading edge as long as rect is [all...] |
H A D | SearchView.java | 838 private void getChildBoundsWithinSearchView(View view, Rect rect) { argument 843 rect.set(left , top, left + view.getWidth(), top + view.getHeight()); 1791 * view. This rect is used for initial hit testing. 1797 * view. This rect is used for event coordinate mapping. 1802 * mTargetBounds inflated to include some slop. This rect is to track whether the motion events
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | FloatingToolbar.java | 158 public FloatingToolbar setContentRect(Rect rect) { argument 159 mContentRect.set(Preconditions.checkNotNull(rect)); 670 // There is enough space at the top of the content rect for the overflow. 677 // There is enough space at the top of the content rect for the main panel 684 // There is enough space at the bottom of the content rect for the overflow. 691 // There is enough space at the bottom of the content rect for the main panel
|
H A D | NotificationExpandButton.java | 60 private void extendRectToMinTouchSize(Rect rect) { argument 62 rect.left = rect.centerX() - touchTargetSize / 2; 63 rect.right = rect.left + touchTargetSize; 64 rect.top = rect.centerY() - touchTargetSize / 2; 65 rect.bottom = rect.top + touchTargetSize;
|