Searched refs:bottom (Results 176 - 200 of 473) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp361 layer->sourceCrop.bottom = refHeight;
365 layer->displayFrame.bottom = refHeight;
375 layer->sourceCrop.bottom = equivHeight;
379 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight;
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp156 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
159 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
169 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
172 obj->addRect(left, top, right, bottom, dir);
176 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
179 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
190 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) {
191 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
197 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) {
198 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
155 arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) argument
168 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
175 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
189 addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) argument
196 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument
204 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableView.java97 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
98 super.onLayout(changed, left, top, right, bottom);
225 * notification is scrolling in the top or bottom stack.
297 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight());
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java391 cropRect.bottom = Math.min(rotatedInSize[1], cropRect.bottom);
419 cropRect.bottom = cropRect.top + defaultWallpaperSize.y / cropScale;
424 Math.min(Math.min(rotatedInSize[1] - cropRect.bottom, cropRect.top),
427 cropRect.bottom += expandHeight;
685 mCropBounds.bottom /= scaleDownSampleSize;
703 roundedTrueCrop.bottom = roundedTrueCrop.top + fullSize.getHeight();
705 if (roundedTrueCrop.bottom > fullSize.getHeight()) {
708 Math.max(0, roundedTrueCrop.bottom - roundedTrueCrop.height());
710 roundedTrueCrop.bottom
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java213 int bottom = existingBounds.bottom;
216 drawable.setBounds(left, top, right, bottom);
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java422 if (fm.bottom - fm.top < size) {
423 fm.top = fm.bottom - size;
449 fm.top = fm.bottom - size;
458 fm.bottom = fm.descent = fm.top + size;
465 fm.bottom = fm.descent = 0;
/frameworks/base/libs/hwui/
H A DRenderProperties.h426 bool setBottom(int bottom) { argument
427 if (RP_SET(mPrimitiveFields.mBottom, bottom)) {
447 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
449 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) {
453 mPrimitiveFields.mBottom = bottom;
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java606 Math.min(mContentFrame.bottom, mFrame.bottom));
611 Math.min(mVisibleFrame.bottom, mFrame.bottom));
616 Math.min(mStableFrame.bottom, mFrame.bottom));
621 Math.max(mFrame.bottom - mOverscanFrame.bottom, 0));
626 mFrame.bottom - mContentFrame.bottom);
723 getNeedsMenuLw(WindowManagerPolicy.WindowState bottom) argument
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp208 position[i*6 + 1].y = height - r->bottom;
210 position[i*6 + 2].y = height - r->bottom;
214 position[i*6 + 4].y = height - r->bottom;
232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
233 glScissor(left, bottom, right, top);
231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java325 for (int y = r.top, bottom = r.bottom; y < bottom; y += size) {
376 int bottom = (int) Math.ceil(top + height / scale);
383 bottom = Math.min(mImageHeight, bottom);
385 out.set(left, top, right, bottom);
442 for (int ty = r.top, i = 0; ty < r.bottom; ty += size, i++) {
654 source.bottom /= 2f;
657 source.bottom
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java175 final int bottom = args.argi4;
176 handleOnRectangleOnScreenRequested(left, top, right, bottom);
242 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
247 args.argi4 = bottom;
251 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
254 if (!magnifiedFrame.intersects(left, top, right, bottom)) {
275 if (bottom - top > magnifFrameInScreenCoords.height()) {
279 } else if (bottom > magnifFrameInScreenCoords.bottom) {
280 scrollY = bottom
[all...]
/frameworks/base/core/java/android/widget/
H A DTextView.java1795 * Returns the bottom padding of the view, plus space for the bottom
1882 int bottom = getCompoundPaddingBottom();
1883 int viewht = getHeight() - top - bottom;
1901 * Returns the extended bottom padding of the view, including both the
1902 * bottom Drawable if any and any extra space to keep more than maxLines
1919 int bottom = getCompoundPaddingBottom();
1920 int viewht = getHeight() - top - bottom;
1924 return bottom;
1929 return bottom
2001 setCompoundDrawables(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument
2142 setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) argument
2164 setCompoundDrawablesWithIntrinsicBounds(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument
2196 setCompoundDrawablesRelative(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2333 setCompoundDrawablesRelativeWithIntrinsicBounds(int start, int top, int end, int bottom) argument
2356 setCompoundDrawablesRelativeWithIntrinsicBounds(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2449 setPadding(int left, int top, int right, int bottom) argument
2463 setPaddingRelative(int start, int top, int end, int bottom) argument
6877 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
H A DAbsSeekBar.java460 final int top, bottom;
464 bottom = oldBounds.bottom;
467 bottom = offset + thumbHeight;
479 right + offsetX, bottom + offsetY);
483 thumb.setBounds(left, top, right, bottom);
H A DFrameLayout.java192 mForegroundPaddingBottom = padding.bottom;
295 mForegroundPaddingBottom = padding.bottom;
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
525 final int parentBottom = bottom - top - getPaddingBottomWithForeground();
H A DAbsSpinner.java180 mSpinnerPadding.bottom = mPaddingBottom > mSelectionBottomPadding ? mPaddingBottom
215 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom;
224 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
H A DCompoundButton.java394 final int bottom = top + drawableHeight;
398 buttonDrawable.setBounds(left, top, right, bottom);
402 background.setHotspotBounds(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java336 mFrame.bottom -= mSubpixelSmoothingRight;
356 mShapePath.lineTo(mFrame.right, mFrame.bottom);
357 mShapePath.lineTo(mFrame.left, mFrame.bottom);
367 final float bb = mFrame.bottom - mFrame.height() / 10f;
369 || mBoltFrame.right != br || mBoltFrame.bottom != bb) {
385 float boltPct = (mBoltFrame.bottom - levelTop) / (mBoltFrame.bottom - mBoltFrame.top);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp154 jfloat left, jfloat top, jfloat right, jfloat bottom) {
155 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom);
243 jfloat right, jfloat bottom, jlong paintHandle) {
245 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
249 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
251 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
261 jfloat right, jfloat bottom, jlong paintHandle) {
263 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
267 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
270 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngl
153 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
242 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
248 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
260 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
266 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
470 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; local
475 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth; local
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java270 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
296 public void setPaddingRelative(View view, int start, int top, int end, int bottom); argument
389 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
390 view.invalidate(left, top, right, bottom);
499 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
500 view.setPadding(start, top, end, bottom);
1018 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1019 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1120 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
1121 ViewCompatJellybeanMr1.setPaddingRelative(view, start, top, end, bottom);
1450 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
1902 setPaddingRelative(View view, int start, int top, int end, int bottom) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java338 * @param b the parent's bottom border
362 final int bottom = (parentHeight + handleHeight) / 2;
364 tab.layout(0, top, handleWidth, bottom);
365 text.layout(0 - parentWidth, top, 0, bottom);
370 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom);
371 text.layout(parentWidth, top, parentWidth + parentWidth, bottom);
381 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2;
390 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight);
659 int bottom
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java104 result = (r.left | r.top | r.bottom | r.right) != 0;
292 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
294 mHotspotBounds = new Rect(left, top, bottom, right);
296 mHotspotBounds.set(left, top, bottom, right);
300 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
515 hotspotBounds.right, hotspotBounds.bottom);
932 if (t.bottom > r.bottom) r.bottom = t.bottom;
[all...]
H A DDrawable.java152 public void setBounds(int left, int top, int right, int bottom) { argument
160 oldBounds.right != right || oldBounds.bottom != bottom) {
165 mBounds.set(left, top, right, bottom);
175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
543 * @param bottom
545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java179 public void setBounds(int left, int top, int right, int bottom) { argument
181 mDrawTop = top + (bottom-top - mHeight) / 2;
398 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
449 float bottom = top + outHeight;
450 cropRectF = new RectF(left, top, right, bottom);
535 cropRect.bottom = inHeight;
544 cropRect.bottom = cropRect.top + cropHeight;
959 * on its left, top, right, and bottom sides.
/frameworks/base/media/java/android/media/tv/
H A DTvView.java574 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
577 + ", bottom=" + bottom + ",)");
583 mSurfaceView.layout(0, 0, right - left, bottom - top);
1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1063 + right + ", bottom=" + bottom + ",)");
1072 mSurfaceViewBottom = bottom;
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp86 const int32_t bottom = Effects_log2(kMinFreq); local
88 const int32_t jump = (top - bottom) / (mNumPeaking + 2);
89 int32_t centerFreq = bottom + jump/2;

Completed in 769 milliseconds

1234567891011>>