Searched refs:getWidth (Results 51 - 75 of 699) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListUnspecifiedMeasure.java51 assertTrue(mListView.getWidth() > 0);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java37 public final float getWidth() { method in class:Shape
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapFactoryTest.java43 assertEquals("Bitmap width", 1, bitmap.getWidth());
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSizeChangeEffect.java47 int outputWidth = resultFrame.getFormat().getWidth();
/frameworks/base/opengl/java/android/opengl/
H A DETC1.java130 public static native int getWidth(Buffer header); method in class:ETC1
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBigGradientActivity.java47 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), p);
H A DClipRegionActivity.java82 mClipPath.addCircle(mClipPosition * getWidth(), getHeight() / 2.0f,
83 getWidth() / 4.0f, Path.Direction.CW);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAsyncStructure.java38 final int width = getWidth();
/frameworks/native/include/ui/
H A DRect.h81 return (getWidth() >= 0) && (getHeight() >= 0);
86 return (getWidth() <= 0) || (getHeight() <= 0);
90 inline int32_t getWidth() const { function in class:android::Rect
182 inline int32_t width() const { return getWidth(); }
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp71 size_t Texture::getWidth() const { function in class:android::Texture
H A DTexture.h51 size_t getWidth() const;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatImageViewTest.java46 drawable, view.getWidth(), view.getHeight(), true,
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java589 mPopupWindow.getWidth(), mPopupWindow.getHeight());
598 contentRectOnScreen.centerX() - mPopupWindow.getWidth() / 2,
599 mViewPortOnScreen.right - mPopupWindow.getWidth());
728 final int targetWidth = mOverflowPanelSize.getWidth();
730 final int startWidth = mContentContainer.getWidth();
734 final float right = left + mContentContainer.getWidth();
747 mContentContainer.setX(right - mContentContainer.getWidth());
751 mMainPanel.setX(mContentContainer.getWidth() - startWidth);
752 mOverflowPanel.setX(mContentContainer.getWidth() - targetWidth);
770 overflowButtonStartX + targetWidth - mOverflowButton.getWidth()
[all...]
/frameworks/base/core/java/android/transition/
H A DCircularPropagation.java83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2)
89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight());
H A DSlide.java85 return view.getTranslationX() - sceneRoot.getWidth() * fraction;
95 x = view.getTranslationX() + sceneRoot.getWidth() * fraction;
97 x = view.getTranslationX() - sceneRoot.getWidth() * fraction;
113 return view.getTranslationX() + sceneRoot.getWidth() * fraction;
123 x = view.getTranslationX() - sceneRoot.getWidth() * fraction;
125 x = view.getTranslationX() + sceneRoot.getWidth() * fraction;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisible.java69 rect.set(0, 0, topBlob.getWidth(), topBlob.getHeight());
85 rect.set(0, 0, bottomBlob.getWidth(), bottomBlob.getHeight());
/frameworks/base/rs/java/android/renderscript/
H A DRSTextureView.java155 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
180 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalHoverCardSwitcher.java44 int rightLimit = getParentViewGroup().getWidth() -
71 mTmpRect.set(0, 0, childView.getWidth(), childView.getHeight());
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCachedBordersTest.java54 final int expectedSizeSum = vertical ? recyclerView.getWidth() : recyclerView.getHeight();
61 childrenSizeSum += vertical ? child.getWidth() : child.getHeight();
H A DLinearLayoutManagerResizeTest.java79 container.setPadding(0, 0, container.getWidth() / 2, 0);
81 container.setPadding(0, 0, 0, container.getWidth() / 2);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp122 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE);
151 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE);
180 mPixelBuffer = PixelBuffer::create(mFormat, getWidth(), getHeight());
193 uint32_t width = mHasUnpackRowLength ? dirtyRect.getWidth() : getWidth();
199 glPixelStorei(GL_UNPACK_ROW_LENGTH, getWidth());
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) {
127 int width = getFormat().getWidth();
137 int width = getFormat().getWidth();
229 if (getFormat().getWidth() != bitmap.getWidth() ||
244 Bitmap result = Bitmap.createBitmap(getFormat().getWidth(),
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java117 int width = Math.round(bitmap.getWidth() * scale);
119 if (width == bitmap.getWidth()
140 int srcWidth = bitmap.getWidth();
149 int w = bitmap.getWidth();
158 int width = Math.round(scale * bitmap.getWidth());
180 int w = source.getWidth();
/frameworks/support/percent/tests/java/android/support/percent/
H A DPercentFrameTest.java48 mContainerWidth = mPercentFrameLayout.getWidth();
56 int childWidth = childToTest.getWidth();
69 int childWidth = childToTest.getWidth();
82 int childWidth = childToTest.getWidth();
133 int childWidth = childToTest.getWidth();
152 int childWidth = childToTest.getWidth();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
H A DItemTouchHelperTest.java102 basicSwipeTest(LEFT, LEFT | RIGHT, -getActivity().getWindow().getDecorView().getWidth());
107 basicSwipeTest(RIGHT, LEFT | RIGHT, getActivity().getWindow().getDecorView().getWidth());
112 basicSwipeTest(START, START | END, -getActivity().getWindow().getDecorView().getWidth());
117 basicSwipeTest(END, START | END, getActivity().getWindow().getDecorView().getWidth());
123 basicSwipeTest(START, START | END, getActivity().getWindow().getDecorView().getWidth());
129 basicSwipeTest(END, START | END, -getActivity().getWindow().getDecorView().getWidth());

Completed in 7064 milliseconds

1234567891011>>