Searched defs:right (Results 101 - 125 of 242) sorted by relevance

12345678910

/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java169 protected void onLayout(boolean changed, int left, int top, int right, argument
171 super.onLayout(changed, left, top, right, bottom);
/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp43 const int right = left + frame.width; local
46 return x >= left && x < right && y >= top && y < bottom;
/frameworks/rs/
H A DrsScriptC_LibGL.cpp234 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
238 if (right) {
239 *right = metrics->right;
250 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
256 SetMetrics(&metrics, left, right, top, bottom);
261 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
265 SetMetrics(&metrics, left, right, top, bottom);
233 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
249 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
260 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDrawableWrapper.java50 public void setBounds(int left, int top, int right, int bottom) { argument
51 super.setBounds(left, top, right, bottom);
52 mDrawable.setBounds(left, top, right, bottom);
206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
/frameworks/wilhelm/tests/automated/
H A DBufferQueue_test.cpp39 short right; member in struct:__anon1663
143 stereoBuffer1[nframes - 1 - i].right = pcm;
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c94 ALOGE("Unsupported channels (top or front left/right of center)");
133 const int indexBR = hasBacks ? indexBL + 1 : indexBL; // back right
136 const int indexSR = hasSides ? indexSL + 1 : indexSL; // side right
471 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); local
472 ALOGV("Downmix_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
950 * - if using AUDIO_CHANNEL_OUT_SIDE*, it contains both left and right
951 * - if using AUDIO_CHANNEL_OUT_BACK*, it contains both left and right
974 ALOGE("Unsupported channels (top or front left/right of center)");
1013 const int indexBR = hasBacks ? indexBL + 1 : indexBL; // back right
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c57 * Info 702: Shift right of signed quantity (int)
2139 i32 right)
2142 UNUSED(right);
2159 (overfilling some pels on left and/or right edge).
2164 right amount of pixels to overfill on right-edge
2175 i32 right)
2192 if (right)
2195 for ( ; right; right
2134 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2170 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2239 i32 left, x, right; local
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp194 void AudioResamplerDyn<TC, TI, TO>::setVolume(float left, float right) argument
196 AudioResampler::setVolume(left, right);
199 mVolumeSimd[1] = static_cast<TO>(right);
204 mVolumeSimd[1] = u4_28_from_float(clampFloatVol(right));
H A DAudioResamplerSinc.cpp504 void AudioResamplerSinc::setVolume(float left, float right) { argument
505 AudioResampler::setVolume(left, right);
509 mVolumeSIMD[1] = u4_28_from_float(clampFloatVol(right));
H A DFastMixer.cpp625 // assume same number of tail samples on each side, left and right
627 CentralTendencyStatistics left, right; local
630 right.sample(tail[n - (i + 1)]);
634 " right tail: mean=%.2f min=%.2f max=%.2f stddev=%.2f\n",
636 right.mean()*1e-6, right.minimum()*1e-6, right.maximum()*1e-6,
637 right.stddev()*1e-6);
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java856 private boolean binderEquals(IInterface left, IInterface right) { argument
858 return right == null;
860 return right == null ? false : left.asBinder() == right.asBinder();
/frameworks/base/core/java/android/net/
H A DNetworkStats.java536 public NetworkStats subtract(NetworkStats right) { argument
537 return subtract(this, right, null, null);
548 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument
550 return subtract(left, right, observer, cookie, null);
565 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument
567 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime;
570 observer.foundNonMonotonic(left, -1, right, -1, cookie);
592 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, i);
602 entry.rxBytes = left.rxBytes[i] - right.rxBytes[j];
603 entry.rxPackets = left.rxPackets[i] - right
783 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java298 protected boolean setFrame(int left, int top, int right, int bottom) { argument
299 boolean result = super.setFrame(left, top, right, bottom);
533 mSurfaceFrame.right = mWinFrame.width();
537 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f);
541 final int surfaceWidth = mSurfaceFrame.right;
/frameworks/base/core/java/android/widget/
H A DActionMenuView.java425 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
427 super.onLayout(changed, left, top, right, bottom);
437 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
485 final int midHorizontal = (right - left) / 2;
H A DActivityChooserView.java53 * The right button is an overflow action and provides an optimized menu
475 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
476 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
H A DFrameLayout.java191 mForegroundPaddingRight = padding.right;
294 mForegroundPaddingRight = padding.right;
513 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
514 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
517 void layoutChildren(int left, int top, int right, int bottom, argument
522 final int parentRight = right - left - getPaddingRightWithForeground();
H A DVideoView.java841 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
842 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java367 childLayoutParams.right = (int) (itemLeft + itemWidth);
388 // Last child on each row should extend to very right edge
390 childLayoutParams.right = menuWidth;
439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right,
744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { argument
62 bool result = dst->setRect(left, top, right, bottom);
91 static jboolean Region_op0(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom, jint op) { argument
95 ir.set(left, top, right, bottom);
139 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument
140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom);
144 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument
146 ir.set(left, top, right, bottom);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java252 padding.right += mState.mInsetRight;
266 contentInsets.right + mState.mInsetRight,
276 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
277 mState.mDrawable.setHotspotBounds(left, top, right, bottom);
358 r.right -= mState.mInsetRight;
361 mState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
H A DShapeDrawable.java138 * @param right padding for the right side (in pixels)
141 public void setPadding(int left, int top, int right, int bottom) { argument
142 if ((left | top | right | bottom) == 0) {
148 mShapeState.mPadding.set(left, top, right, bottom);
155 * in the Rect object as: left, top, right, bottom.
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPageAdapter.java123 public void setPadding(int left, int top, int right, int bottom); argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight());
276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right,
283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom);
289 printButtonLeft = right - mPrintButton.getMeasuredWidth() - params.getMarginStart();
303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java464 final float right = left + mBackground.getWidth() * mScale;
468 c.clipRect(left, top, right, bottom,
474 RectF dest = new RectF(left, top, right, bottom);
487 final float right = left + mBackground.getWidth() * mScale;
494 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom);
541 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument
545 right, bottom, 0.0f, 1.0f, 1.0f,
547 right, top, 0.0f, 1.0f, 0.0f,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableNotificationRow.java350 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
351 super.onLayout(changed, left, top, right, bottom);

Completed in 3243 milliseconds

12345678910