Searched refs:getHeight (Results 176 - 200 of 424) sorted by relevance

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java116 canvas.drawRect(0, 0, getWidth(), getHeight(), mPaint);
H A DFramebufferBlendActivity.java55 mTexHeight = mTexture.getHeight();
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/ex/carousel/test/src/com/android/carouseltest/
H A DTaskSwitcherActivity.java176 int h = bitmap.getHeight();
183 final int thumbHeight = bitmap.getHeight();
218 mPortraitMode = decorView.getHeight() > decorView.getWidth();
251 int thumbHeight = r.thumbnail.getHeight();
/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/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java105 int height = getHeight();
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java745 public int getHeight() { method in class:PopupWindow
757 * @see #getHeight()
1136 final int anchorHeight = anchor.getHeight();
1168 scrollY + mPopupHeight + anchor.getHeight() + yoff);
1176 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff;
1186 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) <
1190 p.y = root.getHeight() - mDrawingLocation[1] + yoff;
1192 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff;
1281 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset;
1642 && ((x < 0) || (x >= getWidth()) || (y < 0) || (y >= getHeight()))) {
[all...]
H A DCheckedTextView.java226 y = getHeight() - height;
229 y = (getHeight() - height) / 2;
H A DCompoundButton.java272 top = getHeight() - drawableHeight;
275 top = (getHeight() - drawableHeight) / 2;
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp373 glViewport(0, 0, snapshot->viewport.getWidth(), snapshot->viewport.getHeight());
395 glViewport(0, 0, snapshot->viewport.getWidth(), snapshot->viewport.getHeight());
828 bounds.getHeight() > mCaches.maxTextureSize ||
854 mSnapshot->viewport.set(0.0f, 0.0f, bounds.getWidth(), bounds.getHeight());
932 Layer* layer = mCaches.layerCache.get(bounds.getWidth(), bounds.getHeight());
939 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()),
961 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, layer->getWidth(), layer->getHeight(),
967 mSnapshot->height - bounds.bottom, bounds.getWidth(), bounds.getHeight());
987 mSnapshot->viewport.set(0.0f, 0.0f, bounds.getWidth(), bounds.getHeight());
[all...]
H A DLayer.h77 const float height = layer.getHeight();
98 inline uint32_t getHeight() const { function in struct:android::uirenderer::Layer
/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(),
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java206 public int getHeight() { method in class:TargetDrawable
217 canvas.translate(-0.5f * getWidth(), -0.5f * getHeight());
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp71 int getHeight() const { return fHeight; } function in class:SkBitmapRegionDecoder
260 return brd->getHeight();
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java186 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom;
259 int yPerRow = getHeight() / mNumRows;
/frameworks/base/media/java/android/media/
H A DImageReader.java153 public int getHeight() { method in class:ImageReader
581 public int getHeight() { method in class:ImageReader.SurfaceImage
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAutoFixFilter.java252 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
254 mHeight = inputFormat.getHeight();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java129 mSurfaceView.getHeight(),
166 float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DVideoEditorPerformance.java495 final Rect startRect = new Rect((mediaItem4.getHeight() / 3),
496 (mediaItem4.getWidth() / 3), (mediaItem4.getHeight() / 2),
499 mediaItem4.getHeight());
558 mediaVideoItem.getHeight() / 2, i);
665 height, mediaVideoItem.getHeight());
753 final Rect startRect = new Rect((mediaImageItem.getHeight() / 3),
754 (mediaImageItem.getWidth() / 3), (mediaImageItem.getHeight() / 2),
757 mediaImageItem.getHeight());
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardCircleFramedDrawable.java68 final int height = bitmap.getHeight();
111 final float outside = Math.min(canvas.getWidth(), canvas.getHeight());
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java259 final int height = getHeight();
278 int bottom = getHeight();
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java257 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight());
589 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight());
654 int height = slider.tab.getHeight();
655 int viewHeight = getHeight();
709 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()
720 // onLayout(true, getLeft(), getTop(), getLeft() + getWidth(), getTop() + getHeight());
740 int deltaY = (int) y - handle.getTop() - (handle.getHeight() / 2);

Completed in 1010 milliseconds

1234567891011>>