Searched refs:getHeight (Results 126 - 150 of 385) sorted by relevance

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiLayersActivity.java71 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
H A DPosTextActivity.java62 canvas.drawLine(100.0f, 0.0f, 100.0f, getHeight(), mLargePaint);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java75 final int height = getHeight();
H A DDayPickerView.java250 long currScroll = view.getFirstVisiblePosition() * child.getHeight() - child.getBottom();
315 final int midpoint = getHeight() / 2;
334 final int height = getHeight();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DCircleView.java89 mYCenter = getHeight() / 2;
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java71 assertEquals(expectedHeight, bitmap.getHeight());
/frameworks/base/core/java/android/text/method/
H A DTouch.java48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding);
158 ny = Math.min(ny, layout.getHeight() - (widget.getHeight() - padding));
H A DScrollingMovementMethod.java108 (widget.getHeight() - padding));
/frameworks/base/core/java/android/webkit/
H A DOverScrollGlow.java86 mEdgeGlowTop.onPull((float) mOverScrollDeltaY / mHostView.getHeight());
91 mEdgeGlowBottom.onPull((float) mOverScrollDeltaY / mHostView.getHeight());
162 int height = mHostView.getHeight();
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java47 assertEquals("height", 200, bm1.getHeight());
48 assertEquals("height", 200, bm2.getHeight());
49 assertEquals("height", 200, bm3.getHeight());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java108 final int h = getHeight();
158 final float h = getHeight();
236 && y < getHeight() + mTouchSlop);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java50 y <= view.getRootView().getHeight());
69 + origin.getHeight() + ")",
70 y > origin.getHeight());
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp53 const float height = mLayer->layer.getHeight();
172 const float texY = 1.0f / float(mLayer->getHeight());
173 const float height = mLayer->layer.getHeight();
229 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) {
242 layer->texCoords.set(0.0f, height / float(layer->getHeight()),
284 layer->texCoords.set(0.0f, height / float(layer->getHeight()),
337 layer->getWidth(), layer->getHeight(), layer->getFbo());
/frameworks/base/core/java/android/widget/
H A DAbsListView.java1192 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom;
1394 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1401 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1660 ss.height = getHeight();
1870 int height = view.getHeight();
1877 height = view.getHeight();
1879 extent -= ((bottom - getHeight()) * 100) / height;
1898 int height = view.getHeight();
1901 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0);
1926 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCoun
[all...]
H A DSlidingDrawer.java349 mHandleHeight = handle.getHeight();
515 (position > (mVertical ? getHeight() : getWidth()) / 2 &&
549 (mVertical ? getHeight() - mHandleHeight : getWidth() - mHandleWidth);
595 frame.bottom - deltaY + mContent.getHeight());
625 frame.right - deltaX + mContent.getWidth(), getHeight());
683 if (mAnimationPosition >= mBottomOffset + (mVertical ? getHeight() : getWidth()) - 1) {
H A DPopupWindow.java742 public int getHeight() { method in class:PopupWindow
754 * @see #getHeight()
1110 final int anchorHeight = anchor.getHeight();
1135 scrollY + mPopupHeight + anchor.getHeight() + yoff);
1143 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff;
1148 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) <
1152 p.y = root.getHeight() - mDrawingLocation[1] + yoff;
1154 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff;
1243 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset;
1601 && ((x < 0) || (x >= getWidth()) || (y < 0) || (y >= getHeight()))) {
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java484 if((mCurrentDimX != b.getWidth()) || (mCurrentDimY != b.getHeight())) {
646 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888);
1018 Bitmap newBitmap = Bitmap.createBitmap(data.getWidth(), data.getHeight(), Bitmap.Config.ARGB_8888);
1025 validate2DRange(xoff, yoff, data.getWidth(), data.getHeight());
1373 tb.setY(b.getHeight());
1401 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888);
1512 int height = b.getHeight();
1587 int height = xpos.getHeight();
1589 xneg.getWidth() != height || xneg.getHeight() != height ||
1590 ypos.getWidth() != height || ypos.getHeight() !
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java198 mBackgroundHeight = mBackground.getHeight();
275 final int arrowH = mArrowShortLeftAndRight.getHeight();
300 canvas.drawRect(0, 0, width, getHeight(), mPaint);
303 final int height = getHeight();
501 final int height = getHeight();
691 int h = d.getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java152 public float getHeight() { method in class:ExpandHelper.ViewScaler
291 if (DEBUG) Slog.d(TAG, " inside (" + v.getWidth() + ", " + v.getHeight() + ")");
292 boolean inside = (x > 0f && y > 0f && x < v.getWidth() & y < v.getHeight());
513 mOldHeight = mScaler.getHeight();
531 float currentHeight = mScaler.getHeight();
533 float h = mScaler.getHeight();
H A DImageWallpaper.java325 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " +
336 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
339 mBackground.getHeight());
345 final int availh = dh - mBackground.getHeight();
425 c.clipRect(0, 0, mBackground.getWidth(), mBackground.getHeight(),
443 final float bottom = top + mBackground.getHeight();
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp528 const uint32_t fbHeight = hw->getHeight();
549 const uint32_t fbHeight = hw->getHeight();
663 const uint32_t hw_h = hw->getHeight();
755 temp.active.crop.getHeight(),
762 temp.requested.crop.getHeight(),
769 front.active.crop.getHeight(),
776 front.requested.crop.getHeight());
1002 uint32_t bufHeight = buf->getHeight();
1045 front.active.crop.getHeight(),
1052 front.requested.crop.getHeight());
[all...]
/frameworks/av/services/camera/libcameraservice/camera3/
H A DCamera3Stream.h106 uint32_t getHeight() const;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DAdjacentListsWithAdjacentISVsInside.java69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight());
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java178 public int getHeight() { method in class:YuvImage
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h98 inline uint16_t getHeight() const { function in class:android::uirenderer::CacheTexture

Completed in 687 milliseconds

1234567891011>>