Searched refs:getHeight (Results 151 - 175 of 424) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp53 const float height = mLayer->layer.getHeight();
163 const float texY = 1.0f / float(mLayer->getHeight());
164 const float height = mLayer->layer.getHeight();
208 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) {
221 layer->texCoords.set(0.0f, height / float(layer->getHeight()),
263 layer->texCoords.set(0.0f, height / float(layer->getHeight()),
316 layer->getWidth(), layer->getHeight(), layer->getFbo());
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DCameraWidgetFrame.java219 final int height = root.getHeight() - mInsets.bottom; // for bars
234 final int thisHeight = getHeight() - getPaddingTop() - getPaddingBottom();
270 final float pvHeight = mPreview.getHeight() * mPreview.getScaleY();
277 + root.getWidth() + "x" + root.getHeight());
285 root.getHeight() - navHeight));
288 final float fsHeight = root.getHeight() - navHeight;
391 int rawBottom = mTmpLoc[1] + getHeight();
/frameworks/base/services/java/com/android/server/
H A DAssetAtlasService.java147 totalPixelCount += bitmap.getWidth() * bitmap.getHeight();
157 return b2.getHeight() - b1.getHeight();
258 final Canvas canvas = acquireCanvas(buffer.getWidth(), buffer.getHeight());
274 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) {
286 canvas.translate(bitmap.getHeight(), 0.0f);
727 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) {
/frameworks/base/core/java/android/widget/
H A DAbsListView.java1205 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom;
1471 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1478 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1739 ss.height = getHeight();
1949 int height = view.getHeight();
1956 height = view.getHeight();
1958 extent -= ((bottom - getHeight()) * 100) / height;
1977 int height = view.getHeight();
1980 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0);
2005 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) {
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java509 if((mCurrentDimX != b.getWidth()) || (mCurrentDimY != b.getHeight())) {
692 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888);
1103 Bitmap newBitmap = Bitmap.createBitmap(data.getWidth(), data.getHeight(), Bitmap.Config.ARGB_8888);
1110 validate2DRange(xoff, yoff, data.getWidth(), data.getHeight());
1473 tb.setY(b.getHeight());
1502 Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888);
1614 int height = b.getHeight();
1689 int height = xpos.getHeight();
1691 xneg.getWidth() != height || xneg.getHeight() != height ||
1692 ypos.getWidth() != height || ypos.getHeight() !
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp325 float yScale = crop.getHeight() / float(winHeight);
535 mTexture.setDimensions(mActiveBuffer->getWidth(), mActiveBuffer->getHeight());
564 const uint32_t fbHeight = hw->getHeight();
641 const uint32_t hw_h = hw->getHeight();
735 c.active.crop.getHeight(),
742 c.requested.crop.getHeight(),
749 s.active.crop.getHeight(),
756 s.requested.crop.getHeight());
977 uint32_t bufHeight = buf->getHeight();
1020 front.active.crop.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
290 if (DEBUG) Log.d(TAG, " inside (" + v.getWidth() + ", " + v.getHeight() + ")");
291 boolean inside = (x > 0f && y > 0f && x < v.getWidth() & y < v.getHeight());
512 mOldHeight = mScaler.getHeight();
530 float currentHeight = mScaler.getHeight();
532 float h = mScaler.getHeight();
H A DImageWallpaper.java326 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " +
338 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
341 mBackground.getHeight());
347 final int availh = dh - mBackground.getHeight();
427 c.clipRect(0, 0, mBackground.getWidth(), mBackground.getHeight(),
445 final float bottom = top + mBackground.getHeight();
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java283 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(),
292 startY - tempLocation[1] + view.getHeight());
295 endY - tempLocation[1] + view.getHeight());
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp178 rect.set(Rect(buffer->getWidth(), buffer->getHeight()));
194 buffer->getWidth(), buffer->getHeight(), bytesCount);
196 if (buffer->getWidth() > 0 && buffer->getHeight() > 0) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java114 final int h = getHeight();
184 final float h = getHeight();
264 && y < getHeight() + mTouchSlop);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java262 long currScroll = view.getFirstVisiblePosition() * child.getHeight() - child.getBottom();
327 final int midpoint = getHeight() / 2;
346 final int height = getHeight();
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.h106 uint32_t getHeight() const;
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java108 (widget.getHeight() - padding));
/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/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBitmapOverlayFilter.java134 mBitmap.getHeight(),
H A DCropFilter.java126 mOutputHeight == -1 ? outputFormat.getHeight() : mOutputHeight);
H A DFixedRotationFilter.java74 int height = inputFormat.getHeight();
H A DImageSlicer.java79 mInputHeight = frame.getFormat().getHeight();
H A DResizeFilter.java98 mOHeight = mOWidth * inputFormat.getHeight() / inputFormat.getWidth();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java100 calcMeanAndStd(pixelBuffer, inputFrame.getWidth(), inputFrame.getHeight(), mCropRect);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCanvasTextureViewActivity.java101 if (y + 20.0f + speedY >= mSurface.getHeight() || y + speedY <= 0.0f) {

Completed in 641 milliseconds

1234567891011>>