/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_decoder.h | 73 u32 *left, u32 *width, u32 *top, u32 *height);
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 41 final int top = layout.getLineForVertical(y); 42 Alignment a = layout.getParagraphAlignment(top); 43 boolean ltr = layout.getParagraphDirection(top) > 0; 53 for (int i = top; i <= bottom; i++) {
|
/frameworks/base/core/java/android/view/ |
H A D | ViewOverlay.java | 27 * An overlay is an extra layer that sits on top of a View (the "host view") 306 int top = child.mTop; 310 dirty.offset(left, top); 319 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 321 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty);
|
H A D | ViewStructure.java | 42 * @param top The view's top position, in pixels relative to its parent's top edge. 50 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, argument
|
H A D | WindowManagerInternal.java | 67 * @param top The rectangle top. 71 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 129 if (canvas.quickReject(r.left, r.top, r.right, r.bottom, Canvas.EdgeType.AA)) { 213 thumb.setBounds(bounds.left, bounds.top + offset, 214 bounds.right, bounds.top + offset + length); 223 thumb.setBounds(bounds.left + offset, bounds.top,
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | FloatingActionMode.java | 175 Math.max(mContentRectOnScreen.top, mViewRectOnScreen.top), 214 && a.top <= b.bottom && b.top <= a.bottom;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 198 final int top = mPaddingTop + row * rowHeight; 200 top, 202 top + rowHeight); 257 int y = previouslyFocusedRect.top
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PictureDrawable.java | 68 canvas.translate(bounds.left, bounds.top);
|
H A D | NinePatchDrawable.java | 185 int top = Bitmap.scaleFromDensity(insets.top, sdensity, tdensity); 188 return Insets.of(left, top, right, bottom); 208 dest.top = Bitmap.scaleFromDensity(src.top, sdensity, tdensity); 277 padding.set(scaledPadding.right, scaledPadding.top, 282 return (padding.left | padding.top | padding.right | padding.bottom) != 0; 297 bounds.top + outlineInsets.top, 314 return Insets.of(mOpticalInsets.right, mOpticalInsets.top, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewThumbnail.java | 69 // Task bar clipping, the top of this thumbnail can be clipped against the opaque header 105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 106 super.onLayout(changed, left, top, right, bottom); 170 int top = (int) Math.max(0, taskBar.getTranslationY() + 172 mClipRect.set(0, top, getMeasuredWidth(), getMeasuredHeight());
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplaySettings.java | 74 outRect.top = entry.overscanTop; 82 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument 83 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 95 entry.overscanTop = top;
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 208 c.drawRect(0+mMainInsets.left, 0+mMainInsets.top, 212 c.drawRect(0 + mStableInsets.left, 0 + mStableInsets.top, 237 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top 241 c.drawText("System Insets: (" + mMainInsets.left + ", " + mMainInsets.top
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | InvisibleRecipientChip.java | 96 final float x, final int top, final int y, final int bottom, final Paint paint) { 95 draw(final Canvas canvas, final CharSequence text, final int start, final int end, final float x, final int top, final int y, final int bottom, final Paint paint) argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | SharedElementCallback.java | 201 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top); 231 int top = existingBounds.top; 236 drawable.setBounds(left, top, right, bottom);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DrawableUtils.java | 75 case "top": 76 result.top = field.getInt(insets);
|
H A D | ListViewCompat.java | 87 mSelectionTopPadding = padding.top; 210 selectorRect.top -= mSelectionTopPadding; 372 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 374 super.setHotspotBounds(left, top, right, bottom);
|
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 424 bool setTop(int top) { argument 425 if (RP_SET(mPrimitiveFields.mTop, top)) { 469 bool setLeftTop(int left, int top) { argument 471 bool topResult = setTop(top); 475 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 476 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 479 mPrimitiveFields.mTop = top;
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 82 return new PointF(mBounds.left, mBounds.top); 117 int top = view.getTop(); 120 view.setLeftTopRightBottom(left, top, right, bottom); 134 int top = Math.round(topLeft.y); 137 view.setLeftTopRightBottom(left, top, right, bottom); 151 int top = Math.round(topLeft.y); 153 int bottom = top + view.getHeight(); 154 view.setLeftTopRightBottom(left, top, right, bottom); 292 final int startTop = startBounds.top; 293 final int endTop = endBounds.top; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 50 * This is based on top of {@link Graphics2D} but can operate independently if none are available 264 * Creates a new {@link GcSnapshot} on top of another one, with a layer data to be restored 337 mLayerBounds.left, mLayerBounds.top, 363 * Restores the top {@link GcSnapshot}, and returns the next one. 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); 691 // them, starting with the top one (which is the current local layer). 745 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 757 mLayerBounds.left, mLayerBounds.top, mLayerBound [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 235 m[1][1] = 2 / (top - bottom); 238 m[3][1] = -(top + bottom) / (top - bottom); 244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument 247 T B = (top + bottom) / (top - bottom); 251 m[1][1] = (2 * near) / (top [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 356 layer->sourceCrop.top = 0; 360 layer->displayFrame.top = 0; 370 layer->sourceCrop.top = 0; 374 layer->displayFrame.top = refHeight; 376 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight;
|
/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); 203 float bottom, float top, float near, float far); 205 float bottom, float top, float near, float far);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 66 * <li>As a top-level application decor or chrome layout</li> 849 int top; 870 top = anchorRect.top; 873 top = anchorRect.bottom; 876 top = anchorRect.top + anchorRect.height() / 2; 897 top -= childHeight; 903 top -= childHeight / 2; 914 top [all...] |
/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, top, righ 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 487 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; local 492 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; local [all...] |