Searched refs:getHeight (Results 251 - 275 of 602) sorted by relevance

<<11121314151617181920>>

/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) {
H A DDisplayListLayersActivity.java116 canvas.drawRect(0, 0, getWidth(), getHeight(), mPaint);
H A DFramebufferBlendActivity.java55 mTexHeight = mTexture.getHeight();
H A DHardwareCanvasTextureViewActivity.java104 if (y + 20.0f + speedY >= mView.getHeight() || y + speedY <= 0.0f) {
H A DTextGammaActivity.java49 Bitmap b = Bitmap.createBitmap(gamma.getWidth(), gamma.getHeight(),
H A DThinPatchesActivity.java79 final int top = (getHeight() - height) / 2;
101 // RectF dst = new RectF(0, 0, getWidth(), getHeight());
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DEditTextActivityDialog.java94 ((ScrollView) layout).setMinimumHeight(mLayout.getHeight());
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
H A DMainActivity.java69 int dy = adapterView.getHeight();
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java135 val = new Point(other.getWidth(), other.getHeight());
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java37 public int getHeight() { return mHeight; } method in class:FrameSequence
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DCircleView.java100 mYCenter = getHeight() / 2;
/frameworks/rs/driver/
H A DrsdFrameBufferObj.cpp156 RSD_CALL_GL(glViewport, 0, 0, rsc->getWidth(), rsc->getHeight());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowContainerView.java106 mForeground.setBounds(0, 0, getWidth(), getHeight());
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java181 if (bitmap.getWidth() > bitmap.getHeight()) {
225 maybeGrayscale.getWidth(), maybeGrayscale.getHeight(),
437 Matrix matrix = getMatrix(mBitmap.getWidth(), mBitmap.getHeight(),
573 Bitmap grayscale = Bitmap.createBitmap(original.getWidth(), original.getHeight(),
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDecorToolbar.java95 int getHeight(); method in interface:DecorToolbar
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DNetworkImageView.java105 int height = getHeight();
/frameworks/base/libs/hwui/
H A DRenderNode.cpp136 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight());
174 mLayer = LayerRenderer::createRenderLayer(info.renderState, getWidth(), getHeight());
178 } else if (mLayer->layer.getWidth() != getWidth() || mLayer->layer.getHeight() != getHeight()) {
179 if (!LayerRenderer::resizeLayer(mLayer, getWidth(), getHeight())) {
207 if (dirty.intersect(0, 0, getWidth(), getHeight())) {
425 Rect layerBounds(0, 0, getWidth(), getHeight());
443 static_cast<int>(getHeight()));
893 && renderer.quickRejectConservative(0, 0, properties().getWidth(), properties().getHeight());
H A DOpenGLRenderer.cpp135 mRenderState.setViewport(mState.getWidth(), mState.getHeight());
174 left <= 0.0f && top <= 0.0f && right >= mState.getWidth() && bottom >= mState.getHeight()) {
574 bounds.getHeight() > mCaches.maxTextureSize ||
599 writableSnapshot()->initializeViewport(bounds.getWidth(), bounds.getHeight());
677 Layer* layer = mCaches.layerCache.get(mRenderState, bounds.getWidth(), bounds.getHeight());
684 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()),
697 layer->getWidth(), layer->getHeight());
710 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, layer->getWidth(), layer->getHeight(),
717 bounds.getWidth(), bounds.getHeight());
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java345 ((mBackground == null) ? 0 : mBackground.getHeight()) + ", " +
357 if (dw != mBackground.getWidth() || dh != mBackground.getHeight()) {
360 mBackground.getHeight());
367 dh / (float) mBackground.getHeight()));
369 final int availh = dh - (int) (mBackground.getHeight() * mScale);
377 final int availhUnscaled = dh - mBackground.getHeight();
430 mBackgroundHeight = mBackground.getHeight();
496 final float bottom = top + mBackground.getHeight() * mScale;
519 final float bottom = top + mBackground.getHeight() * mScale;
/frameworks/base/core/java/android/widget/
H A DAbsListView.java1237 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom;
1536 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1544 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom;
1798 ss.height = getHeight();
2008 int height = view.getHeight();
2015 height = view.getHeight();
2017 extent -= ((bottom - getHeight()) * 100) / height;
2036 int height = view.getHeight();
2039 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0);
2064 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCoun
[all...]
H A DFastScroller.java732 container.bottom = list.getHeight();
784 final int thumbHalfHeight = thumb.getHeight() / 2;
805 final float halfThumbHeight = thumbImage.getHeight() / 2f;
1196 mThumbImage.setTranslationY(thumbMiddle - mThumbImage.getHeight() / 2f);
1199 final float previewHalfHeight = previewImage.getHeight() / 2f;
1279 if (child == null || child.getHeight() == 0) {
1282 incrementalPos = (float) (mList.getPaddingTop() - child.getTop()) / child.getHeight();
1322 maxSize = lastChild.getHeight();
1323 currentVisibleSize = mList.getHeight() - bottomPadding - lastChild.getTop();
1325 maxSize = lastChild.getHeight()
[all...]
/frameworks/base/core/java/android/transition/
H A DCrossfade.java262 Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight());
271 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(),
H A DSlide.java96 return view.getTranslationY() - sceneRoot.getHeight();
124 return view.getTranslationY() + sceneRoot.getHeight();
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp64 int getHeight() const { return fHeight; } function in class:SkBitmapRegionDecoder
252 return static_cast<jint>(brd->getHeight());

Completed in 633 milliseconds

<<11121314151617181920>>