Searched refs:getWidth (Results 276 - 300 of 699) sorted by relevance

<<11121314151617181920>>

/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 DItemAlignmentFacetHelper.java58 alignPos += ((view == itemView ? p.getOpticalWidth(view) : view.getWidth())
H A DRowContainerView.java106 mForeground.setBounds(0, 0, getWidth(), getHeight());
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java192 if (bitmap.getWidth() <= bitmap.getHeight()) {
358 maybeGrayscale.getWidth(), maybeGrayscale.getHeight(),
491 bitmap = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(),
652 Bitmap grayscale = Bitmap.createBitmap(original.getWidth(), original.getHeight(),
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DNetworkImageView.java104 int width = getWidth();
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp109 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch);
130 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch);
158 tx + op.unmappedBounds.getWidth(), ty + op.unmappedBounds.getHeight()));
166 x + quadBounds.getWidth(), y + quadBounds.getHeight()));
405 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(),
530 const bool tryToSnap = MathUtils::areEqual(op.src.getWidth(), op.unmappedBounds.getWidth())
574 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.paint);
605 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch);
617 Rect(op.unmappedBounds.getWidth(), o
[all...]
H A DCaches.cpp176 layer->getWidth(), layer->getHeight(),
179 memused += layer->getWidth() * layer->getHeight() * 4;
H A DRenderNode.h190 int getWidth() const { function in class:android::uirenderer::RenderNode
191 return properties().getWidth();
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java360 final int startBound = isLayoutRtl ? (getWidth() - getPaddingRight()) :
363 (getWidth() - getPaddingRight());
723 nextXStart += child.getWidth();
954 int childWidth = mSlideableView.getWidth();
955 final int newStart = isLayoutRtl ? getWidth() - newLeft - childWidth : newLeft;
1065 int childWidth = mSlideableView.getWidth();
1066 x = (int) (getWidth() - (startBound + slideOffset * mSlideRange + childWidth));
1357 int childWidth = mSlideableView.getWidth();
1358 left = getWidth() - startToRight - childWidth;
1380 int startBound = getWidth()
[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(),
/frameworks/base/core/java/android/widget/
H A DGallery.java418 final int childCenter = selChild.getWidth() / 2;
419 final int galleryCenter = getWidth() / 2;
476 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft;
483 return view.getLeft() + view.getWidth() / 2;
515 final int galleryRight = getWidth() - mPaddingRight;
679 int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2) +
1533 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
1541 delta = Math.max(-(getWidth() - mPaddingRight - mPaddingLeft - 1), delta);
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java148 int rectRight = getWidth() - mPaddingRight;
201 getWidth() - mPaddingRight,
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h169 TestCanvas canvas(props.getWidth(), props.getHeight());
179 TestCanvas canvas(node.stagingProperties().getWidth(),
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAutoFixFilter.java249 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
250 mWidth = inputFormat.getWidth();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java120 MutableFrameFormat screenFormat = ImageFormat.create(mSurfaceView.getWidth(),
158 float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistOrbView.java228 float translationX = (mCircleRect.left + mCircleRect.right) / 2.0f - mLogo.getWidth() / 2.0f;
247 left = (int) (getWidth() - circleSize) / 2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileBaseView.java78 if (getWidth() != 0) {
79 updateRippleSize(getWidth(), getHeight());
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java66 mTexWidth = mBitmap.getWidth();
108 final float width = mBitmap.getWidth() / 8.0f;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java140 int width = Math.min(src.getWidth(), dstIn.getWidth());
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java125 canvas.clipRect(-canvas.getWidth(), -canvas.getHeight(), canvas.getWidth(),
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp85 mConsumer->setDefaultBufferSize(activeConfig->getWidth(),
89 mConsumer->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp));
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DAmPmCirclesView.java152 int viewWidth = getWidth();
158 int layoutXCenter = getWidth() / 2;
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java50 mvp.loadOrtho(0, mRS.getWidth(), mRS.getHeight(), 0, -1, 1);
150 mPhysicsScript.invoke_touch(x, y, pressure * mRS.getWidth() / 1280, id);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
H A DRefocusFilterd1new.java79 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(),
92 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(),
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
H A DRefocusFilterF32.java77 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(),
90 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(),

Completed in 867 milliseconds

<<11121314151617181920>>