Searched defs:left (Results 51 - 75 of 367) sorted by relevance

1234567891011>>

/frameworks/support/transition/api14/android/support/transition/
H A DViewUtilsApi14.java144 public void setLeftTopRightBottom(View v, int left, int top, int right, int bottom) { argument
145 v.setLeft(left);
/frameworks/support/transition/base/android/support/transition/
H A DViewUtilsImpl.java45 void setLeftTopRightBottom(View v, int left, int top, int right, int bottom); argument
/frameworks/support/transition/src/android/support/transition/
H A DSidePropagation.java93 int left = loc[0] + Math.round(sceneRoot.getTranslationX());
95 int right = left + sceneRoot.getWidth();
104 epicenterX = (left + right) / 2;
109 left, top, right, bottom);
122 int left, int top, int right, int bottom) {
144 distance = viewX - left + Math.abs(epicenterY - viewY);
121 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/frameworks/support/transition/tests/src/android/support/transition/
H A DAutoTransitionTest.java99 public void onLayoutChange(View v, int left, int top, int right, int bottom, argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAlertDialogLayout.java263 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
267 final int width = right - left;
346 private void setChildFrame(View child, int left, int top, int width, int height) { argument
347 child.layout(left, top, left + width, top + height);
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/support/wear/tests/src/android/support/wear/widget/util/
H A DMoreViewAssertions.java33 public static ViewAssertion left(final Matcher<Integer> matcher) { method in class:MoreViewAssertions
37 assertThat("View left: " + HumanReadables.describe(view), view.getLeft(), matcher);
92 * Returns a new ViewAssertion against a match of the view's left position, relative to the
93 * left
96 * @param matcher matcher for the left position
130 * 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/widget/
H A DMessagingLinearLayout.java209 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
215 final int width = right - left;
H A DNotificationActionListLayout.java197 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
199 super.onLayout(changed, left, top, right, bottom);
220 childLeft = mPaddingLeft + right - left - mTotalWidth;
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp44 jfieldID left; member in struct:android::__anon1146
148 rect.left = GET_INT(dirtyRect, gRectClassInfo.left);
173 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom,
178 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
217 gRectClassInfo.left = GetFieldIDOrDie(env, clazz, "left", "I");
/frameworks/base/graphics/java/android/graphics/
H A DOutline.java173 public void setRect(int left, int top, int right, int bottom) { argument
174 setRoundRect(left, top, right, bottom, 0.0f);
181 setRect(rect.left, rect.top, rect.right, rect.bottom);
189 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument
190 if (left >= right || top >= bottom) {
200 mRect.set(left, top, right, bottom);
208 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
242 public void setOval(int left, int top, int right, int bottom) { argument
243 if (left >= right || top >= bottom) {
248 if ((bottom - top) == (right - left)) {
[all...]
H A DYuvImage.java28 * region by left, top, width and height.
139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top);
182 int[] calculateOffsets(int left, int top) { argument
185 offsets = new int[] {top * mStrides[0] + left,
187 + left / 2 * 2 };
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
218 // Make sure left, top, width and height are all even.
221 rect.left &= ~1;
223 rect.right = rect.left + width;
228 // Make sure left an
[all...]
/frameworks/base/libs/hwui/
H A DOutline.h42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument
45 && left == mBounds.left
55 mBounds.set(left, top, right, bottom);
61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
64 mPath.addRect(left, top, right, bottom);
H A DSnapshot.cpp85 void Snapshot::setClip(float left, float top, float right, float bottom) { argument
87 mClipArea->setClip(left, top, right, bottom);
104 void Snapshot::resetClip(float left, float top, float right, float bottom) { argument
109 setClip(left, top, right, bottom);
142 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius;
143 state->dangerRects[1].left = state->dangerRects[3].left = bounds.right - radius;
201 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DAssertHelpers.java58 * Assert that every element in left is less than or equals to the corresponding element in
64 * @param left Left array
67 public static void assertArrayNotGreater(String message, float[] left, float[] right) { argument
68 assertEquals("Array lengths did not match", left.length, right.length);
70 String leftString = Arrays.toString(left);
73 for (int i = 0; i < left.length; ++i) {
75 "%s: (%s should be less than or equals than %s; item index %d; left = %s; " +
77 message, left[i], right[i], i, leftString, rightString);
79 assertTrue(msg, left[i] <= right[i]);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainerImpl.java95 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
96 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java89 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
99 return mCustomOutline ? mOutlineRect.left : (int) getTranslation();
128 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
132 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
136 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);

Completed in 5921 milliseconds

1234567891011>>