/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 29 short left; member in struct:__anon1667 244 mixBuffer->left += (short) (source->left * track->mGains[0]); 250 mixBuffer->left += source->left; 258 mixBuffer->left = (short) (source->left * track->mGains[0]);
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 82 return new PointF(mBounds.left, mBounds.top); 116 int left = view.getLeft(); 120 view.setLeftTopRightBottom(left, top, right, bottom); 133 int left = Math.round(topLeft.x); 137 view.setLeftTopRightBottom(left, top, right, bottom); 150 int left = Math.round(topLeft.x); 152 int right = left + view.getWidth(); 154 view.setLeftTopRightBottom(left, top, right, bottom); 290 final int startLeft = startBounds.left; 291 final int endLeft = endBounds.left; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 337 mLayerBounds.left, mLayerBounds.top, 527 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 528 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 595 // then go to previous layer, only if there are any left, and its flags 665 // upper left coordinates. 745 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 757 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 758 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 855 src.left, sr [all...] |
/frameworks/native/include/ui/ |
H A D | mat4.h | 134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far); 136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far); 232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument 234 m[0][0] = 2 / (right - left); 237 m[3][0] = -(right + left) / (right - left); 244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument 246 T A = (right + left) / (right - left); 250 m[0][0] = (2 * near) / (right - left); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 109 edgesOut.left = leftEdge; 124 float cropLeft = -edges.left / scale; 205 mCenterX += Math.ceil(edges.left / scale); 296 if (edges.left > 0) { 297 adjustment[0] = edges.left / scale;
|
/frameworks/rs/ |
H A D | rsRuntime.h | 104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 106 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 108 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 202 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, 204 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 848 int left; 857 left = anchorRect.left; 860 left = anchorRect.right; 863 left = anchorRect.left + anchorRect.width() / 2; 884 left -= childWidth; 890 left -= childWidth / 2; 911 left = Math.max(getPaddingLeft() + lp.leftMargin, 912 Math.min(left, [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 141 int32_t mulRL(int left, int32_t in, uint32_t vRL) argument 145 if (left) { 158 int16_t v = left ? int16_t(vRL) : int16_t(vRL>>16); 179 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) argument 183 if (left) { 196 int16_t s = left ? int16_t(inRL) : int16_t(inRL>>16); 251 void AudioResamplerSinc::setVolume(float left, float right) { argument 252 AudioResampler::setVolume(left, right); 255 mVolumeSIMD[0] = u4_28_from_float(clampFloatVol(left));
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 85 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top, 115 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom, 126 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom)); 129 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom)); 209 float boundsDelta = mBounds.left - opBounds.left; 245 if (newClipSideFlags & kClipSide_Left) mClipRect.left = state->mClip.left; 271 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBounds.bottom,
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ExprModel.java | 131 public ComparisonExpr comparison(String op, Expr left, Expr right) { argument 132 return register(new ComparisonExpr(op, left, right)); 202 public MathExpr math(Expr left, String op, Expr right) { argument 203 return register(new MathExpr(left, op, right)); 206 public TernaryExpr logical(Expr left, String op, Expr right) { argument 208 // left && right 209 // left ? right : false 210 return register(new TernaryExpr(left, right, symbol("false", boolean.class))); 212 // left || right 213 // left 218 bitshift(Expr left, String op, Expr right) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 104 result = (r.left | r.top | r.bottom | r.right) != 0; 113 final int left = padding.left; 115 padding.left = right; 116 padding.right = left; 292 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 294 mHotspotBounds = new Rect(left, top, right, bottom); 296 mHotspotBounds.set(left, top, right, bottom); 300 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 520 d.setHotspotBounds(hotspotBounds.left, hotspotBound [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 165 return left(widget, buffer); 245 * Performs a left movement action. 246 * Moves the cursor or scrolls left by one character. 252 protected boolean left(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 429 int left = Integer.MAX_VALUE; 432 if (lineLeft < left) { 433 left = lineLeft; 436 return left; 457 * Performs a scroll left action. 458 * Scrolls left b [all...] |
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 150 final State startStateX = new State(startClip.left, startClip.right, startX); 151 final State endStateX = new State(endClip.left, endClip.right, endX); 182 final State startStateX = new State(startClip.left, startClip.right, startX); 183 final State endStateX = new State(endClip.left, endClip.right, endX); 297 tempState.lower = tempRect.left + (int) tempState.trans; 312 tempRect.left = value.lower - (int) value.trans;
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 303 double oldLeft = (rectangle.left + 1000) / 2000.0; 307 int left = mCropRectangle.left + toIntConstrained( 311 int right = mCropRectangle.left + toIntConstrained( 315 transformed[index] = new MeteringRectangle(left, top, right - left, bottom - top, 573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 207 b.left, b.top, b.width(), b.height()); 473 float src_x = viewport.left; 475 float dst_x = frame.left; 512 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom, 513 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom, 514 mScissor.left, mScissor.top, mScissor.right, mScissor.bottom,
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 164 jfloat left, jfloat top, jfloat right, jfloat bottom) { 165 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom); 252 static void drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 255 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint); 258 static void drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 261 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint); 270 static void drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 273 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint); 276 static void drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 280 get_canvas(canvasHandle)->drawArc(left, to 163 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 321 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument 482 SkScalar left = x; local [all...] |
H A D | android_view_RenderNode.cpp | 115 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) { 116 android::uirenderer::Rect clipBounds(left, top, right, bottom); 136 jobject clazz, jlong renderNodePtr, jint left, jint top, 139 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 266 jobject clazz, jlong renderNodePtr, int left) { 267 return SET_AND_DIRTY(setLeft, left, RenderNode::X); 286 jobject clazz, jlong renderNodePtr, int left, int top, 289 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 114 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 135 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 265 android_view_RenderNode_setLeft(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left) argument 285 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 171 final int left = args.argi1; 175 handleOnRectangleOnScreenRequested(left, top, right, bottom); 244 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument 246 args.argi1 = left; 253 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument 256 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 263 if (right - left > magnifFrameInScreenCoords.width()) { 266 scrollX = left - magnifFrameInScreenCoords.left; 270 } else if (left < magnifFrameInScreenCoord [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 300 centerX = Math.min(Math.max(mTranslateRect.left + widthBuffer, 400 float maxX = mTranslateRect.left * relativeDistance; 446 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 452 // We're at the left-side of the image; allow intercepting movements to the right 455 // We're at the right-side of the image; allow intercepting movements to the left 479 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 485 // We're at the left-side of the image; allow intercepting movements to the right 488 // We're at the right-side of the image; allow intercepting movements to the left 659 final int cropWidth = mCropRect.right - mCropRect.left; 665 matrix.postTranslate(-mCropRect.left, 751 onLayout(boolean changed, int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 645 mOutsets.set(Math.max(mContentFrame.left - mOutsetFrame.left, 0), 655 mContentFrame.set(Math.max(mContentFrame.left, mFrame.left), 660 mVisibleFrame.set(Math.max(mVisibleFrame.left, mFrame.left), 665 mStableFrame.set(Math.max(mStableFrame.left, mFrame.left), 670 mOverscanInsets.set(Math.max(mOverscanFrame.left - mFrame.left, [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 219 int32_t left, int32_t top, 230 int32_t *left, int32_t *top,
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AMessage.h | 89 int32_t left, int32_t top, int32_t right, int32_t bottom); 106 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const;
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVCanvas.cpp | 45 for (int32_t x = rect.left; x < rect.right; ++x) { 64 int32_t srcStartX = srcRect.left;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 91 if (ev.isWithinBoundsNoHistory(mBounds.left, mBounds.top, 95 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top,
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 122 pageInfo.mPageHeight, pageInfo.mContentRect.left, pageInfo.mContentRect.top, 298 * the page top left. 346 * the page top left. 351 if (contentRect != null && (contentRect.left < 0
|