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

12345678910

/frameworks/native/include/android/
H A Drect.h33 int32_t right; member in struct:ARect
/frameworks/av/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/services/core/java/com/android/server/notification/
H A DGlobalSortKeyComparator.java25 public int compare(NotificationRecord left, NotificationRecord right) { argument
29 if (right.getGlobalSortKey() == null) {
30 throw new IllegalStateException("Missing right global sort key: " + right);
32 return left.getGlobalSortKey().compareTo(right.getGlobalSortKey());
H A DNotificationComparator.java27 public int compare(NotificationRecord left, NotificationRecord right) { argument
29 final int rightPackagePriority = right.getPackagePriority();
36 final int rightScore = right.sbn.getScore();
43 final float rightPeople = right.getContactAffinity();
50 return -1 * Long.compare(left.getRankingTimeMs(), right.getRankingTimeMs());
/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java13 public void swap(Vector values, int left, int right); argument
16 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { argument
18 int oright= right;
19 String mid= (String)values.elementAt((left + right) / 2);
23 while (mid.compareTo((String)(values.elementAt(right))) < 0)
24 right--;
25 if (left <= right) {
26 swapper.swap(values, left, right);
28 right--;
30 } 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/graphics/java/android/graphics/
H A DInsets.java33 public final int right; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
39 this.right = right;
50 * @param right the right inset
55 public static Insets of(int left, int top, int right, int bottom) { argument
56 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
59 return new Insets(left, top, right, bottom);
70 return (r == null) ? NONE : of(r.left, r.top, r.right,
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFloatRect.h29 float right; member in class:android::FloatRect
34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
36 inline float getWidth() const { return right - left; }
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java32 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainer.java44 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
45 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java66 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
73 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
76 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
80 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DSystemViewInfo.java30 int right, int bottom) {
31 super(name, cookie, left, top, right, bottom);
35 int right, int bottom, Object viewObject, Object layoutParamsObject) {
36 super(name, cookie, left, top, right, bottom, viewObject,
29 SystemViewInfo(String name, Object cookie, int left, int top, int right, int bottom) argument
34 SystemViewInfo(String name, Object cookie, int left, int top, int right, int bottom, Object viewObject, Object layoutParamsObject) argument
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatL.java33 int right, int bottom) {
34 drawable.setHotspotBounds( left, top, right, bottom);
32 setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdFillRow7.s31 right RN 4 label
61 LDR right, [sp,#0x10]
169 CMP right,#0
175 SUBS right, right, #1
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdFillRow7.S31 #define right r4 define
45 i32 right);
52 LDR right, [sp,#0x10]
130 CMP right,#0
136 SUBS right, right, #1
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h62 state left, right; member in class:android::AudioResamplerCubic
/frameworks/base/core/java/android/app/usage/
H A DUsageStats.java120 * Add the statistics from the right {@link UsageStats} to the left. The package name for
122 * @param right The {@link UsageStats} object to merge into this one.
126 public void add(UsageStats right) { argument
127 if (!mPackageName.equals(right.mPackageName)) {
129 mPackageName + "' with UsageStats for package '" + right.mPackageName + "'.");
132 if (right.mEndTimeStamp > mEndTimeStamp) {
133 mLastEvent = right.mLastEvent;
134 mEndTimeStamp = right.mEndTimeStamp;
135 mLastTimeUsed = right.mLastTimeUsed;
137 mBeginTimeStamp = Math.min(mBeginTimeStamp, right
[all...]
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java34 protected boolean right(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
/frameworks/base/core/java/android/transition/
H A DSidePropagation.java96 int right = left + sceneRoot.getWidth();
105 epicenterX = (left + right) / 2;
110 left, top, right, bottom);
123 int left, int top, int right, int bottom) {
137 distance = right - viewX + Math.abs(epicenterY - viewY);
122 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/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/core/java/android/widget/
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
67 public void setAbsolute(int left, int right) { argument
70 if (right != UNDEFINED) mRight = mExplicitRight = right;
/frameworks/base/libs/hwui/
H A DRenderer.h124 * @param right The right coordinate of the dirty rectangle
130 virtual status_t prepareDirty(float left, float top, float right, float bottom,
148 virtual int saveLayer(float left, float top, float right, float bottom,
151 int saveLayerAlpha(float left, float top, float right, float bottom, argument
155 return saveLayer(left, top, right, bottom, &paint, flags);
171 float right, float bottom) const = 0;
172 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0;
194 float left, float top, float right, float bottom, const SkPaint* paint) = 0;
197 virtual status_t drawRect(float left, float top, float right, floa
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRangeTest.java72 // OK: right arg is null
170 Range<T> left, Range<T> right) {
172 " expected to be equal to right hash code for " + right,
173 left.hashCode(), right.hashCode());
169 assertHashCodeEquals( Range<T> left, Range<T> right) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java74 outRect.right = entry.overscanRight;
81 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument
82 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
95 entry.overscanRight = right;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp46 const int right = (j < width - 1) ? 4 : 0; local
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 +
54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) +
55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left);
59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above);

Completed in 672 milliseconds

12345678910