Searched defs:right (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/native/include/android/
H A Drect.h28 int32_t right; member in struct:ARect
/frameworks/base/media/libeffects/lvm/lib/Common/src/
H A DFrom2iToMS_16x16.c33 LVM_INT32 temp1,left,right; local
40 right = (LVM_INT32)*src;
44 temp1 = (left+right)>>1;
49 temp1 = (left-right)>>1;
/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java15 public void swap(Vector values, int left, int right); argument
18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { argument
20 int oright= right;
21 String mid= (String)values.elementAt((left + right) / 2);
25 while (mid.compareTo((String)(values.elementAt(right))) < 0)
26 right--;
27 if (left <= right) {
28 swapper.swap(values, left, right);
30 right--;
32 } while (left <= right);
[all...]
/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java26 int left, int right,
25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandedView.java49 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
50 super.onLayout(changed, left, top, right, bottom);
H A DTrackingView.java40 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
41 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java80 protected boolean right(TextView widget, Spannable buffer) { method in class:LinkMovementMethod
85 return super.right(widget, buffer);
H A DScrollingMovementMethod.java61 * Scrolls the text to the right if possible.
63 protected boolean right(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
75 int right = 0;
78 right = (int) Math.max(right, layout.getLineRight(i));
82 if (scr < right - (widget.getWidth() - padding)) {
83 int s = Math.min(scr + em, right - (widget.getWidth() - padding));
159 handled |= right(widget, buffer);
H A DArrowKeyMovementMethod.java105 private boolean right(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
152 handled |= right(widget, buffer);
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java26 * <li>Provides methods to move the cursor up / down / left / right.</li>
161 * Move right one box, potentially flipping to the next month.
165 public boolean right() { method in class:DayOfMonthCursor
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java61 protected boolean setFrame(int left, int top, int right, int bottom) { argument
63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
66 return super.setFrame(left, top, right, bottom);
100 int left, right;
104 right = chld.right + bkg.right;
108 right = getRight();
110 background.setBounds(left, top, right, bottom);
140 r.bottom = r.right
[all...]
/frameworks/base/services/audioflinger/
H A DA2dpAudioInterface.h90 virtual status_t setVolume(float left, float right) { return INVALID_OPERATION; } argument
H A DAudioHardwareGeneric.h52 virtual status_t setVolume(float left, float right) { return INVALID_OPERATION; } argument
H A DAudioHardwareStub.h38 virtual status_t setVolume(float left, float right) { return NO_ERROR; } argument
H A DAudioResamplerCubic.h62 state left, right; member in class:android::AudioResamplerCubic
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java184 final int left, final int top, final int right, final int bottom,
198 new Rect(left, top, right, bottom),
220 left, top, right - left, bottom - top, destDensity, srcDensity);
183 draw(int canvas_instance, final int left, final int top, final int right, final int bottom, int bitmap_instance, byte[] c, int paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java143 public void setPadding(int left, int top, int right, int bottom) { argument
144 super.setPadding(left, top, right, bottom);
168 int right = getWidth();
170 right - mCheckMarkWidth - mBasePaddingRight,
172 right - mBasePaddingRight,
H A DFrameLayout.java137 mForegroundPaddingRight = padding.right;
214 mForegroundPaddingRight = padding.right;
279 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
283 final int parentRight = right - left - mPaddingRight - mForegroundPaddingRight;
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dms_stereo.c107 Word32 left, right; local
109 right = (mdctSpectrumRight[j] >> 1);
110 mdctSpectrumLeft[j] = left + right;
111 mdctSpectrumRight[j] = left - right;
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java269 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
271 region.set(left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java234 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
235 super.onLayout(changed, left, top, right, bottom);
295 * Shortcut has changed and we're showing it right now, need to
/frameworks/base/graphics/java/android/graphics/
H A DRect.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public int right; field in class:Rect
49 * checking is performed, so the caller must ensure that left <= right and
54 * @param right The X coordinate of the right side of the rectagle
57 public Rect(int left, int top, int right, int bottom) { argument
60 this.right = right;
74 right
235 set(int left, int top, int right, int bottom) argument
327 contains(int left, int top, int right, int bottom) argument
369 intersect(int left, int top, int right, int bottom) argument
442 intersects(int left, int top, int right, int bottom) argument
472 union(int left, int top, int right, int bottom) argument
[all...]
H A DRectF.java26 * represented by the coordinates of its 4 edges (left, top, right bottom).
29 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
34 public float right; field in class:RectF
44 * checking is performed, so the caller must ensure that left <= right and
49 * @param right The X coordinate of the right side of the rectagle
52 public RectF(float left, float top, float right, float bottom) { argument
55 this.right = right;
69 right
141 set(float left, float top, float right, float bottom) argument
246 contains(float left, float top, float right, float bottom) argument
288 intersect(float left, float top, float right, float bottom) argument
361 intersects(float left, float top, float right, float bottom) argument
410 union(float left, float top, float right, float bottom) argument
[all...]
/frameworks/base/include/private/ui/
H A DRegionHelper.h81 TYPE left, right; local
82 int inside = spannerInner.next(current.left, current.right);
84 if (current.left < current.right &&
225 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
232 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
237 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
246 inline int next(TYPE& left, TYPE& right) argument
250 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
262 void advance(region& reg, TYPE& left, TYPE& right) { argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java88 * @param right
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
116 float right = top * aspect;
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);

Completed in 4515 milliseconds

123