Searched defs:right (Results 176 - 200 of 301) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserView.java56 * The right button is an overflow action and provides an optimized menu
452 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
453 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java699 * @param right The right side of the rectangle used for the region.
703 public Builder setRegion(int left, int top, int right, int bottom) { argument
709 if (!mRegion.intersect(left, top, right, bottom)) {
779 region.right = Math.min((int) Math.ceil(region.right * scale),
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java361 * {@link BatchedCallback#dispatchLastEvent()} right after you complete your data changes.
592 private int findIndexOf(T item, T[] mData, int left, int right, int reason) { argument
593 while (left < right) {
594 final int middle = (left + right) / 2;
603 int exact = linearEqualitySearch(item, middle, left, right);
611 right = middle;
617 private int linearEqualitySearch(T item, int middle, int left, int right) { argument
629 for (int next = middle + 1; next < right; next++) {
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c380 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); local
381 ALOGV("Reverb_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
1671 // left input = (left dry * m_nLateGain) + right feedback from previous period
1707 // right input = (right dry * m_nLateGain) + left feedback from previous period
1777 // sum is fedback to right input (R + L)
1841 // ********** start early reflection generator, right
1870 // ********** end early reflection generator, right
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
104 Area(int left, int top, int right, int bottom, int weight): argument
105 left(left), top(top), right(right), bottom(bottom),
108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h718 int left, int top, int right, int bottom)
724 hw->mPreviewCrop.right = right;
717 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java221 public void setBounds(int left, int top, int right, int bottom) { argument
222 mDrawLeft = left + (right-left - mWidth) / 2;
455 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
475 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
539 float right = left + outWidth;
542 cropRectF = new RectF(left, top, right, bottom);
629 cropRect.right = cropRect.left + cropWidth;
632 cropRect.right = inWidth;
880 // If the URI is not of the right type, or for some reason the system wallpaper
1325 * on its left, top, right, an
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java895 private boolean binderEquals(IInterface left, IInterface right) { argument
897 return right == null;
899 return right == null ? false : left.asBinder() == right.asBinder();
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java1081 * @param right Index of the other element to compare.
1086 private final int compareSpans(int left, int right, int[] priority, argument
1089 int priority2 = priority[right];
1091 return Integer.compare(insertionOrder[left], insertionOrder[right]);
1606 // The right child of a node i of height h is i + 2^(h - 1).
1612 // * traverse right child if i is an interior node and i < n
/frameworks/base/core/java/android/view/
H A DSurfaceView.java311 protected boolean setFrame(int left, int top, int right, int bottom) { argument
312 boolean result = super.setFrame(left, top, right, bottom);
560 mSurfaceFrame.right = mWinFrame.width();
564 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f);
568 final int surfaceWidth = mSurfaceFrame.right;
681 mWinFrame.right, mWinFrame.bottom));
683 mWinFrame.right, mWinFrame.bottom, -1, mWinFrame);
699 int left, int top, int right, int bottom) {
717 && mRTLastReportedPosition.right == right
698 updateWindowPositionRT(long frameNumber, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1014 * @param right
1021 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1027 invalidate.set(left, top, right, bottom);
1047 * @param right
1052 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1054 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DAdapterView.java549 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1106 * and then alternates between moving up and moving down until 1) we find the right position, or
H A DAdapterViewAnimator.java760 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DExpandableListView.java300 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
327 * left/right child indicator when defined.
414 // the left & right bounds
419 indicatorRect.right = (mChildIndicatorRight == CHILD_INDICATOR_INHERIT) ?
423 indicatorRect.right = mIndicatorRight;
428 indicatorRect.left = width - indicatorRect.right;
429 indicatorRect.right = width - temp;
432 indicatorRect.right -= mPaddingRight;
435 indicatorRect.right += mPaddingLeft;
441 if (indicatorRect.left != indicatorRect.right) {
1172 setChildIndicatorBounds(int left, int right) argument
1221 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java867 * if leftFocus is true, or at the right of the bounds if leftFocus
902 * if leftFocus is true, or at the right of the bounds if
906 * @param right the right offset of the bounds in which a focusable must
911 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument
918 * left, and its right is above the bound's right. A partially
931 if (left < viewRight && viewLeft < right) {
938 (viewRight < right);
980 * method will scroll the view by one page left or right an
1057 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DLinearLayout.java995 // FIXME: this may not be right for something like wrapping text?
1413 // FIXME: this may not be right for something like wrapping text?
1509 * @param right
1512 void layoutVertical(int left, int top, int right, int bottom) { argument
1518 // Where right end of child should go
1519 final int width = right - left;
1614 * @param right
1617 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1645 childLeft = mPaddingLeft + right - left - mTotalLength;
1650 childLeft = mPaddingLeft + (right
[all...]
H A DSimpleMonthView.java342 // First right-of-refusal goes the touch exploration helper.
386 // day to the left, top, right, or bottom). Focus forward and back jumps out of the
879 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
885 final int w = right - left;
H A DSwitch.java826 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
852 // Adjust left and right padding to ensure there's enough room for the
855 int paddingRight = padding.right;
859 paddingRight = Math.max(paddingRight, inset.right);
912 mTempRect.left + mTempRect.right + mTouchSlop;
1087 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1088 super.onLayout(changed, left, top, right, bottom);
1102 opticalInsetRight = Math.max(0, insets.right - trackPadding.right);
1178 if (thumbInsets.right > paddin
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java288 boolean bottom, boolean right) {
299 if (right && lp.rightMargin != insets.right) {
301 lp.rightMargin = insets.right;
468 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
472 final int parentRight = right - left - getPaddingRight();
287 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp154 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
157 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
167 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
170 obj->addRect(left, top, right, bottom, dir);
174 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
177 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
188 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) {
189 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
195 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) {
196 SkRect rect = SkRect::MakeLTRB(left, top, right, botto
153 arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) argument
166 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
173 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
187 addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) argument
194 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument
202 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp183 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
184 android::uirenderer::Rect clipBounds(left, top, right, bottom);
205 jint right, jint bottom, jfloat radius, jfloat alpha) {
207 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
344 jobject clazz, jlong renderNodePtr, int right) {
345 return SET_AND_DIRTY(setRight, right, RenderNode::X);
355 int right, int bottom) {
357 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
562 bounds.right -= info.windowInsetLeft;
580 (jint) bounds.right, (jin
182 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
203 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
343 android_view_RenderNode_setRight(JNIEnv* env, jobject clazz, jlong renderNodePtr, int right) argument
353 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
608 doUpdatePosition(jlong frameNumber, jint left, jint top, jint right, jint bottom) argument
[all...]
H A Dandroid_view_SurfaceControl.cpp67 jfieldID right; member in struct:android::__anon949
137 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local
139 Rect sourceCrop(left, top, right, bottom);
206 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local
208 Rect sourceCrop(left, top, right, bottom);
754 gRectClassInfo.right = GetFieldIDOrDie(env, rectClazz, "right", "I");
/frameworks/base/graphics/java/android/graphics/
H A DPath.java453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
541 * @param right The right side of a rectangle to add to the path
545 public void addRect(float left, float top, float right, floa argument
565 addOval(float left, float top, float right, float bottom, Direction dir) argument
600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
843 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java200 public void setBounds(int left, int top, int right, int bottom) { argument
208 oldBounds.right != right || oldBounds.bottom != bottom) {
213 mBounds.set(left, top, right, bottom);
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
669 * @param right position in pixels of the right bound
673 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
827 * (right-to left). See {@link android.util.LayoutDirection}.
836 * right
[all...]
H A DRippleDrawable.java629 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
631 mHotspotBounds.set(left, top, right, bottom);

Completed in 5558 milliseconds

1234567891011>>