Searched defs:top (Results 176 - 200 of 312) sorted by relevance

1234567891011>>

/frameworks/support/design/src/android/support/design/widget/
H A DSnackbar.java513 public void onLayoutChange(View view, int left, int top, int right, int bottom) {
654 void onLayoutChange(View view, int left, int top, int right, int bottom); argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java415 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
437 // retract currBottom to overlap the info views on top of main
483 onSizeChanged(0, 0, right - left, bottom - top);
737 // and out. It's meant to be used when the info views are overlaid on top of
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java41 * several top level options as action buttons while spilling remaining options over as
436 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
438 super.onLayout(changed, left, top, right, bottom);
443 final int midVertical = (bottom - top) / 2;
H A DActivityChooserView.java452 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
453 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java698 * @param top The top of the rectangle used for the region.
703 public Builder setRegion(int left, int top, int right, int bottom) { argument
709 if (!mRegion.intersect(left, top, right, bottom)) {
778 region.top = (int) Math.floor(region.top * scale);
867 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
104 Area(int left, int top, int right, int bottom, int weight): argument
105 left(left), top(top), right(right), bottom(bottom),
108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
280 float top; member in struct:android::camera2::Parameters::CropRegion
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h718 int left, int top, int right, int bottom)
723 hw->mPreviewCrop.top = top;
717 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java221 public void setBounds(int left, int top, int right, int bottom) { argument
223 mDrawTop = top + (bottom-top - mHeight) / 2;
457 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
477 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
540 float top = (inHeight - outHeight) * verticalAlignment;
541 float bottom = top + outHeight;
542 cropRectF = new RectF(left, top, right, bottom);
587 roundedTrueCrop.top, roundedTrueCrop.width(),
625 cropRect.top
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java51 * normally appear on top of it. This can be used to place overlays such as
52 * buttons on top of the Surface, though note however that it can have an
58 * properties are used to draw a sibling view on top of the SurfaceView, the
311 protected boolean setFrame(int left, int top, int right, int bottom) { argument
312 boolean result = super.setFrame(left, top, right, bottom);
369 * Control whether the surface view's surface is placed on top of another
371 * This is typically used to place overlays on top of an underlying media
386 * Control whether the surface view's surface is placed on top of its
391 * SurfaceView is in will be visible on top of its surface.
473 + " top
698 updateWindowPositionRT(long frameNumber, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java85 * Requests that the content being animated be forced on top of all other
1013 * @param top
1021 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1027 invalidate.set(left, top, right, bottom);
1046 * @param top
1052 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1054 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java313 if (menuItemLayoutInfoPre.top != menuItemLayoutInfoPost.top) {
315 menuItemLayoutInfoPre.top - menuItemLayoutInfoPost.top, 0);
1030 int top; field in class:ActionMenuPresenter.MenuItemLayoutInfo
1034 top = view.getTop();
1039 top += view.getTranslationY();
H A DAdapterView.java72 * The offset in pixels from the top of the AdapterView to the top
549 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1173 // Either we hit the top, or we are trying to move down
H A DAdapterViewAnimator.java760 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DGridView.java292 * @param nextTop The location where the top of the item associated with pos
388 * Fills the list from pos up to the top of the list view.
402 end = mListPadding.top;
428 * Fills the list from top to bottom, starting with mFirstPosition
430 * @param nextTop The location where the top of the first item should be
501 final int top = getChildAt(0).getTop();
502 final int offset = childrenTop - top;
549 * @param top the top of the view at that position
553 private View fillSpecific(int position, int top) { argument
[all...]
H A DLinearLayout.java365 final int top = child.getTop() - lp.topMargin - mDividerHeight;
366 drawHorizontalDivider(canvas, top);
438 void drawHorizontalDivider(Canvas canvas, int top) { argument
439 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top,
440 getWidth() - getPaddingRight() - mDividerPadding, top + mDividerHeight);
1508 * @param top
1512 void layoutVertical(int left, int top, int right, int bottom) { argument
1533 childTop = mPaddingTop + bottom - top - mTotalLength;
1538 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2;
1613 * @param top
1617 layoutHorizontal(int left, int top, int right, int bottom) argument
1740 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DSimpleMonthView.java386 // day to the left, top, right, or bottom). Focus forward and back jumps out of the
879 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
886 final int h = bottom - top;
995 // Compute top edge.
999 final int top = getPaddingTop() + headerHeight + row * rowHeight;
1001 outBounds.set(left, top, left + colWidth, top + rowHeight);
H A DSwitch.java1087 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1088 super.onLayout(changed, left, top, right, bottom);
1175 if (thumbInsets.top > padding.top) {
1176 trackTop += thumbInsets.top - padding.top;
1220 final int switchInnerTop = switchTop + padding.top;
1263 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2;
1264 canvas.translate(left, top);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java287 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
295 if (top && lp.topMargin != insets.top) {
297 lp.topMargin = insets.top;
318 // The top and bottom action bars are always within the content area.
402 // If tabs are not embedded, increase space on top to account for them.
407 // This is the space needed on top of the window for all of the action bar
430 mContentInsets.top += topInset;
433 mInnerInsets.top += topInset;
468 protected void onLayout(boolean changed, int left, int top, in argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp153 static void arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
157 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
167 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
170 obj->addRect(left, top, right, bottom, dir);
174 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
177 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
187 static void addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
189 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
194 static void addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
196 SkRect rect = SkRect::MakeLTRB(left, top, righ
166 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
173 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
202 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp183 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
184 android::uirenderer::Rect clipBounds(left, top, right, bottom);
204 jobject clazz, jlong renderNodePtr, jint left, jint top,
207 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
339 jobject clazz, jlong renderNodePtr, int top) {
340 return SET_AND_DIRTY(setTop, top, RenderNode::Y);
354 jobject clazz, jlong renderNodePtr, int left, int top,
357 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
563 bounds.top -= info.windowInsetTop;
579 (jint) bounds.left, (jint) bounds.top,
182 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
203 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
338 android_view_RenderNode_setTop(JNIEnv* env, jobject clazz, jlong renderNodePtr, int top) argument
353 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
608 doUpdatePosition(jlong frameNumber, jint left, jint top, jint right, jint bottom) argument
[all...]
H A Dandroid_view_SurfaceControl.cpp68 jfieldID top; member in struct:android::__anon949
136 int top = env->GetIntField(sourceCropObj, gRectClassInfo.top); local
139 Rect sourceCrop(left, top, right, bottom);
205 int top = env->GetIntField(sourceCropObj, gRectClassInfo.top); local
208 Rect sourceCrop(left, top, right, bottom);
755 gRectClassInfo.top = GetFieldIDOrDie(env, rectClazz, "top", "I");
/frameworks/base/graphics/java/android/graphics/
H A DPath.java453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
540 * @param top The top of a rectangle to add to the path
545 public void addRect(float left, float top, floa argument
565 addOval(float left, float top, float right, float bottom, Direction dir) argument
600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
843 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java115 * drawables on top of each other.
145 * this method, the custom drawable class must be a public top-level
155 * method may be used for both public top-level classes and public
200 public void setBounds(int left, int top, int right, int bottom) { argument
207 if (oldBounds.left != left || oldBounds.top != top ||
213 mBounds.set(left, top, right, bottom);
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
668 * @param top position in pixels of the top boun
673 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
H A DRippleDrawable.java629 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
631 mHotspotBounds.set(left, top, right, bottom);
790 final int top = bounds.top;
791 mMaskCanvas.translate(-left, -top);
797 mMaskCanvas.translate(left, top);
858 mMaskMatrix.setTranslate(bounds.left - x, bounds.top - y);
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp130 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, argument
136 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, (int) flags));
181 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom);
185 bool DisplayListCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument
186 return mState.quickRejectConservative(left, top, right, bottom);
195 bool DisplayListCanvas::clipRect(float left, float top, float right, float bottom, argument
197 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op));
198 return mState.clipRect(left, top, right, bottom, op);
236 void DisplayListCanvas::drawBitmap(const SkBitmap& bitmap, float left, float top, argument
239 translate(left, top);
345 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument
350 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
355 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
387 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
392 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
[all...]

Completed in 457 milliseconds

1234567891011>>