Searched defs:left (Results 26 - 50 of 334) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java26 * <li>Provides methods to move the cursor up / down / left / right.</li>
136 * Move left one box, potentially flipping to the previous month.
140 public boolean left() { 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
69 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRangeTest.java65 // OK: left arg is null
170 Range<T> left, Range<T> right) {
171 assertEquals("Left hash code for " + left +
173 left.hashCode(), right.hashCode());
169 assertHashCodeEquals( Range<T> left, Range<T> right) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFixedSizeFrameLayout.java58 protected final void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
59 mLayoutBounds.set(left, top, right, bottom);
90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DMinimizedDockShadow.java53 private void updatePaint(int left, int top, int right, int bottom) { argument
70 0, 0, right - left, 0,
75 right - left, 0, 0, 0,
82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
85 updatePaint(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java83 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
93 return mCustomOutline ? mOutlineRect.left : (int) getTranslation();
114 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
118 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
122 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
/frameworks/base/services/core/java/com/android/server/policy/
H A DRecentApplicationsBackground.java60 protected boolean setFrame(int left, int top, int right, int bottom) { argument
62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
65 return super.setFrame(left, top, right, bottom);
105 int left, right;
108 left = chld.left - bkg.left;
112 left = 0;
115 background.setBounds(left, top, right, bottom);
144 r.left
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java78 outRect.left = entry.overscanLeft;
87 public void setOverscanLocked(String uniqueId, String name, int left, int top, int right, argument
89 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
102 entry.overscanLeft = left;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp45 const int left = (j > 0)? -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);
58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) +
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
48 int xStart = static_cast<int>(width * left);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/base/tools/aapt2/
H A DFlags.cpp105 *out << " " << std::setw(kWidth) << std::left << argLine << line << "\n";
109 *out << " " << std::setw(kWidth) << std::left << "-h" << "Displays this help menu\n"; member in class:aapt::std
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMathExpr.java27 MathExpr(Expr left, String op, Expr right) { argument
28 super(left, right);
108 final Expr left = getLeft();
110 final Expr constExpr = left.isDynamic() ? right : left;
111 final Expr varExpr = left.isDynamic() ? left : right;
122 if (!left.isDynamic()) { // const - x = value => x = const - value)
131 if (!left.isDynamic()) { // const / x = value => x = const / value
/frameworks/native/libs/ui/
H A DRect.cpp34 left = 0;
44 if (left < rhs.left) {
46 } else if (left == rhs.left) {
60 right -= left - x;
62 left = x;
68 left += x;
76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
81 const Rect result(left
104 int left = height - result.bottom; local
[all...]
/frameworks/support/v4/donut/android/support/v4/view/
H A DWindowInsetsCompat.java34 * Returns the left system window inset in pixels.
40 * @return The left system window inset
127 * <p>A round window's left, top, right and bottom edges reach all the way to the
151 * @param left New left inset in pixels
157 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
190 * Returns the left stable inset in pixels.
198 * @return The left stable inset
/frameworks/support/v4/tests/java/android/support/v4/testutils/
H A DTestUtils.java131 * Checks whether the specified rectangle matches the specified left / top / right /
135 int left, int top, int right, int bottom) {
136 Assert.assertEquals(failMessagePrefix + " left", rectangle.left, left);
134 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/support/v7/appcompat/src/android/support/v7/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
69 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
/frameworks/av/media/libmedia/
H A DMetadata.cpp146 size_t left = curr - mBegin; local
147 while (left > 0) {
150 if (size < kRecordHeaderSize || size > left) {
160 left -= size;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dms_stereo.c106 Word32 left, right; local
107 left = (mdctSpectrumLeft[j] >> 1);
109 mdctSpectrumLeft[j] = left + right;
110 mdctSpectrumRight[j] = left - right;
/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.cpp146 // assume same number of tail samples on each side, left and right
148 CentralTendencyStatistics left, right; local
150 left.sample(tail[i]);
155 " left tail: mean=%.2f min=%.2f max=%.2f stddev=%.2f\n"
157 left.mean()*1e-6, left.minimum()*1e-6, left.maximum()*1e-6, left.stddev()*1e-6,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp43 bool operator == (const SortedVector<T> &left, const SortedVector<T> &right) argument
45 if (left.size() != right.size()) {
49 if (left[index] != right[index]) {
56 bool operator == (const AudioProfile &left, const AudioProfile &compareTo) argument
58 return (left.getFormat() == compareTo.getFormat()) &&
59 (left.getChannels() == compareTo.getChannels()) &&
60 (left.getSampleRates() == compareTo.getSampleRates());
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java69 protected boolean left(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
H A DLinkMovementMethod.java79 protected boolean left(TextView widget, Spannable buffer) { method in class:LinkMovementMethod
84 return super.left(widget, buffer);
/frameworks/base/core/java/android/view/inputmethod/
H A DSparseRectFArray.java45 * {@code rects[mKeys[0]].left}, {@code rects[mKeys[0]].top},
47 * {@code rects[mKeys[1]].left}, {@code rects[mKeys[1]].top},
49 * {@code rects[mKeys[2]].left}, {@code rects[mKeys[2]].top}, ....
194 * @param left left of the rectangle.
203 final float left, final float top, final float right, final float bottom,
208 mCoordinates[baseCoordinatesIndex + 0] = left;
202 append(final int key, final float left, final float top, final float right, final float bottom, final int flags) argument
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java145 * <p> Comparison does as follows. If the first value of {@code left} is larger than the
146 * first value of {@code right}, {@code left} is large than {@code right}. If the first
147 * value of {@code left} is less than the first value of {@code right}, {@code left} is less
148 * than {@code right}. If the first value of {@code left} and the first value of
150 * in {@code left} and {@code right} are equal, {@code left} and {@code right} is equal.</p>
152 * @param left The length must be equal to {@code right}.
153 * @param right The length must be equal to {@code left}.
154 * @return 1 if {@code left} i
158 compare(@onNull byte[] left, @NonNull byte[] right) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java187 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
193 final int width = right - left;

Completed in 574 milliseconds

1234567891011>>