Searched refs:top (Results 176 - 200 of 608) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_decoder.h73 u32 *left, u32 *width, u32 *top, u32 *height);
/frameworks/base/core/java/android/text/method/
H A DTouch.java41 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 DViewOverlay.java27 * 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 DViewStructure.java42 * @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 DWindowManagerInternal.java67 * @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 DScrollBarDrawable.java129 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 DFloatingActionMode.java175 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 DInternalSelectionView.java198 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 DPictureDrawable.java68 canvas.translate(bounds.left, bounds.top);
H A DNinePatchDrawable.java185 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 DTaskViewThumbnail.java69 // 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 DDisplaySettings.java74 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 DTestWallpaper.java208 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 DInvisibleRecipientChip.java96 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 DSharedElementCallback.java201 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 DDrawableUtils.java75 case "top":
76 result.top = field.getInt(insets);
H A DListViewCompat.java87 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 DRenderProperties.h424 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 DChangeBounds.java82 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 DGcSnapshot.java50 * 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 Dmat4.h134 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 DhwcColorEquiv.cpp356 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 DrsRuntime.h104 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 DCoordinatorLayout.java66 * <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 Dandroid_graphics_Canvas.cpp164 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...]

Completed in 1727 milliseconds

1234567891011>>