/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListUnspecifiedMeasure.java | 51 assertTrue(mListView.getWidth() > 0);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | Shape.java | 37 public final float getWidth() { method in class:Shape
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapFactoryTest.java | 43 assertEquals("Bitmap width", 1, bitmap.getWidth());
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | SizeChangeEffect.java | 47 int outputWidth = resultFrame.getFormat().getWidth();
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1.java | 130 public static native int getWidth(Buffer header); method in class:ETC1
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BigGradientActivity.java | 47 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), p);
|
H A D | ClipRegionActivity.java | 82 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 D | AsyncStructure.java | 38 final int width = getWidth();
|
/frameworks/native/include/ui/ |
H A D | Rect.h | 81 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 D | Texture.cpp | 71 size_t Texture::getWidth() const { function in class:android::Texture
|
H A D | Texture.h | 51 size_t getWidth() const;
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | AppCompatImageViewTest.java | 46 drawable, view.getWidth(), view.getHeight(), true,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | FloatingToolbar.java | 589 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 D | CircularPropagation.java | 83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2) 89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight());
|
H A D | Slide.java | 85 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 D | RequestRectangleVisible.java | 69 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 D | RSTextureView.java | 155 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight()); 180 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 44 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 D | GridLayoutManagerCachedBordersTest.java | 54 final int expectedSizeSum = vertical ? recyclerView.getWidth() : recyclerView.getHeight(); 61 childrenSizeSum += vertical ? child.getWidth() : child.getHeight();
|
H A D | LinearLayoutManagerResizeTest.java | 79 container.setPadding(0, 0, container.getWidth() / 2, 0); 81 container.setPadding(0, 0, 0, container.getWidth() / 2);
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 122 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 D | GLFrame.java | 120 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 D | BitmapUtils.java | 117 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 D | PercentFrameTest.java | 48 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 D | ItemTouchHelperTest.java | 102 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());
|