Searched refs:right (Results 476 - 500 of 772) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java598 final float right = left + child.getWidth();
600 return x >= left && y >= top && x < right && y < bottom;
764 // TODO: Restrict the height here to be the right value.
833 final int right = left + childWidth;
835 child.layout(left, top, right, bottom);
843 final int right = indicatorHost.getRight();
846 mScrollIndicatorDrawable.setBounds(left, top, right, bottom);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java525 canvas.translate(mDstRect.right - mDstRect.left, 0);
567 final int dx = mDstRect.right - mDstRect.left;
603 final int right = bounds.right - mDstRect.right;
605 mOpticalInsets = Insets.of(left, top, right, bottom);
/frameworks/base/media/java/android/media/tv/
H A DTvView.java701 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
703 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right
710 mSurfaceView.layout(0, 0, right - left, bottom - top);
1247 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1249 Log.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top + ", right="
1250 + right + ", bottom=" + bottom + ",)");
1258 mSurfaceViewRight = right;
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp425 jlong timestampNs, jint left, jint top, jint right, jint bottom) {
461 cropRect.right = right;
491 jint right, jint bottom) {
546 cropRect.right = right;
424 ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
489 ImageWriter_attachAndQueueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java363 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
370 int leftRightInsets = mSystemInsets.left + mSystemInsets.right;
375 Math.max(0, (right - left - leftRightInsets - childWidth)) / 2;
385 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBounds.right,
496 buttonBounds.right, buttonBounds.bottom);
792 : actionButtonRect.right + mStackActionButton.getPaddingRight()
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp188 rect.right = this->_w;
202 out << rect.right << ", ";
209 // Parse HWC rectangle description of form [left, top, right, bottom]
236 in >> rect.right;
251 // Validate right and bottom are greater than left and top
252 if ((rect.right <= rect.left) || (rect.bottom <= rect.top)) { return rect; }
482 (float) (list->hwLayers[layer].sourceCrop.right
484 / (float) (list->hwLayers[layer].displayFrame.right
682 // side color given by startColor and the right side color given by
/frameworks/native/services/surfaceflinger/tests/
H A DSurfaceInterceptor_test.cpp422 bool hasRight(change.crop().rectangle().right() == CROP_UPDATE.right);
438 bool hasRight(change.final_crop().rectangle().right() == CROP_UPDATE.right);
482 bool hasRight(traceRegion.right() == CROP_UPDATE.right);
/frameworks/base/core/java/android/view/
H A DView.java350 * right of the left edge of its direct parent.
356 * These methods return the coordinates of the right and bottom edges of the
388 * is expressed in pixels for the left, top, right and bottom parts of the view.
391 * 2 pixels to the right of the left edge. Padding can be set using the
1456 * context click (e.g. a primary stylus button press or right mouse click) by notifying the
1628 * Use with {@link #focusSearch(int)}. Move focus to the right.
2402 * right-to-left direction.
2790 * Flag indicating that start/end padding has been resolved into left/right padding
2799 * Flag indicating that the start/end drawables has been resolved into left/right ones.
2923 * Flag indicating that the right scrol
13503 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
14498 setRight(int right) argument
15855 postInvalidate(int left, int top, int right, int bottom) argument
15899 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
15950 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument
19539 setOpticalFrame(int left, int top, int right, int bottom) argument
19631 onLayout(boolean changed, int left, int top, int right, int bottom) argument
19647 setFrame(int left, int top, int right, int bottom) argument
19714 setLeftTopRightBottom(int left, int top, int right, int bottom) argument
20862 setPadding(int left, int top, int right, int bottom) argument
20880 internalSetPadding(int left, int top, int right, int bottom) argument
25117 int right; field in class:View.AttachInfo.InvalidateInfo
[all...]
/frameworks/base/core/java/android/widget/
H A DProgressBar.java1710 dirty.right + scrollX, dirty.bottom + scrollY);
1728 int right = w;
1747 right = left + width;
1758 left = w - right;
1759 right = w - tempLeft;
1761 mIndeterminateDrawable.setBounds(left, top, right, bottom);
1765 mProgressDrawable.setBounds(0, 0, right, bottom);
H A DStackView.java1056 // if we get onLayout() right before this method is called.
1103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1323 globalInvalidateRect.right, globalInvalidateRect.bottom);
1327 globalInvalidateRect.right, globalInvalidateRect.bottom);
1356 int right = Math.max(mView.getRight() + horizontalOffsetDelta, mView.getRight());
1360 invalidateRectf.set(left, top, right, bottom);
1370 (int) Math.ceil(invalidateRectf.right),
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.cpp615 disp.framebufferTarget->sourceCropf.right =
1048 r.right = int(floorf(crop.right));
1247 l.sourceCropf.left, l.sourceCropf.top, l.sourceCropf.right, l.sourceCropf.bottom,
1248 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom,
1255 l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom,
1256 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom,
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java1933 int left, right;
1937 right = selectedTitle.getRight();
1944 right = (int) (mSelectionOffset * nextTitle.getRight() +
1945 (1.0f - mSelectionOffset) * right);
1948 left = right = -1;
1951 setIndicatorPosition(left, right);
1954 void setIndicatorPosition(int left, int right) { argument
1955 if (left != mIndicatorLeft || right != mIndicatorRight) {
1956 // If the indicator's left/right has changed, invalidate
1958 mIndicatorRight = right;
[all...]
H A DCoordinatorLayout.java957 // Align to the anchor. This puts us in an assumed right/bottom child view gravity.
966 left = anchorRect.right;
986 // Offset by the child view's gravity itself. The above assumed right/bottom gravity.
1064 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
1159 parent.right -= mLastInsets.getSystemWindowInsetRight();
1166 child.layout(out.left, out.top, out.right, out.bottom);
1289 inset.left = Math.max(inset.left, drawRect.right);
1292 inset.right = Math.max(inset.right, getWidth() - drawRect.left);
1421 int distance = getWidth() - dodgeRect.right
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java696 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
697 super.onLayout(changed, left, top, right, bottom);
843 float right = getWidth() - left;
863 mAppearAnimationRect.set(left, top, right, bottom);
864 setOutlineRect(left, top + mAppearAnimationTranslation, right,
H A DNotificationShelf.java508 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
509 super.onLayout(changed, left, top, right, bottom);
574 * if the current state would be applied right now
638 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerSinc.cpp259 void AudioResamplerSinc::setVolume(float left, float right) { argument
260 AudioResampler::setVolume(left, right);
264 mVolumeSIMD[1] = u4_28_from_float(clampFloatVol(right));
H A DAudioResampler.cpp303 void AudioResampler::setVolume(float left, float right) {
308 mVolume[1] = u4_12_from_float(clampFloatVol(right));
544 * vl, vr : left and right gain
665 * vl, vr : left and right gain
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c57 * Info 702: Shift right of signed quantity (int)
2139 i32 right)
2142 UNUSED(right);
2159 (overfilling some pels on left and/or right edge).
2164 right amount of pixels to overfill on right-edge
2175 i32 right)
2192 if (right)
2195 for ( ; right; right
2134 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2170 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2239 i32 left, x, right; local
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DCascadingMenuPopup.java302 * Determines whether the next submenu (of the given width) should display on the right or on
319 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth;
320 if (right > displayFrame.right) {
392 // Compute the horizontal offset to display the submenu to the right or to the left
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java110 // Super-special right inset handling, because scrims and backdrop need to ignore it.
111 if (insets.right != mRightInset || insets.left != mLeftInset) {
112 mRightInset = insets.right;
122 insets.right = 0;
/frameworks/support/design/tests/src/android/support/design/widget/
H A DTextInputLayoutTest.java385 final Drawable right = new ColorDrawable(Color.BLUE);
389 editText.setCompoundDrawables(left, top, right, bottom);
400 assertSame(right, compoundDrawables[2]);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DCascadingMenuPopup.java318 * Determines whether the next submenu (of the given width) should display on the right or on
335 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth;
336 if (right > displayFrame.right) {
437 // Adjust the horizontal offset to display the submenu to the right or to the left
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp349 CameraHardwareInterface::setCrop(int32_t left, int32_t top, int32_t right, int32_t bottom) { argument
358 mPreviewCrop.right = right;
986 int left, int top, int right, int bottom)
992 hw->mPreviewCrop.right = right;
985 sSetCrop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java319 args.argi3 = rectangle.right;
409 touchableRegionBounds.right,
561 (int) windowFrame.right, (int) windowFrame.bottom);
937 final int right = args.argi3;
939 mCallbacks.onRectangleOnScreenRequested(left, top, right, bottom);
1234 (int) windowFrame.right, (int) windowFrame.bottom);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp175 // NOTE: native window uses extended right-bottom coordinate
179 crop.right = mCropRight + 1;
182 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight);

Completed in 712 milliseconds

<<11121314151617181920>>