/frameworks/base/libs/hwui/tests/common/scenes/ |
D | BitmapFillrate.cpp | 58 int itemWidth = 2 * width / 3; in createNode() local 61 left, top, left + itemWidth, top + itemHeight, in createNode() 62 [this, itemWidth, itemHeight, color](RenderProperties& props, Canvas& canvas) { in createNode() 64 mAllocator(itemWidth, itemHeight, kRGBA_8888_SkColorType, in createNode()
|
D | ListViewAnimation.cpp | 86 void createListItem(RenderProperties& props, Canvas& canvas, int cardId, int itemWidth, in createListItem() argument 94 canvas.drawRoundRect(0, 0, itemWidth, itemHeight, dp(6), dp(6), roundRectPaint); in createListItem() 111 canvas.drawBitmap(*box, itemWidth - dp(10) - box->width(), dp(10), nullptr); in createListItem()
|
D | StretchyListViewAnimation.cpp | 131 void createListItem(RenderProperties& props, Canvas& canvas, int cardId, int itemWidth, in createListItem() argument 142 canvas.punchHole(SkRRect::MakeRect(SkRect::MakeWH(itemWidth, itemHeight)), 1.f); in createListItem() 144 canvas.drawRoundRect(0, 0, itemWidth, itemHeight, dp(6), dp(6), roundRectPaint); in createListItem() 166 canvas.drawBitmap(*box, itemWidth - dp(10) - box->width(), dp(10), nullptr); in createListItem()
|
D | ListOfFadedTextAnimation.cpp | 32 void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth, in createListItem() argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopup.java | 161 final int itemWidth = itemView.getMeasuredWidth(); in measureIndividualMenuWidth() local 162 if (itemWidth >= maxAllowedWidth) { in measureIndividualMenuWidth() 164 } else if (itemWidth > maxWidth) { in measureIndividualMenuWidth() 165 maxWidth = itemWidth; in measureIndividualMenuWidth()
|
D | IconMenuView.java | 350 float itemWidth; in positionChildren() local 360 itemWidth = (menuWidth - mVerticalDividerWidth * (numItemsForRow[row] - 1)) in positionChildren() 366 child.measure(MeasureSpec.makeMeasureSpec((int) itemWidth, MeasureSpec.EXACTLY), in positionChildren() 372 childLayoutParams.right = (int) (itemLeft + itemWidth); in positionChildren() 377 itemLeft += itemWidth; in positionChildren()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 217 final int itemWidth = itemView.getMeasuredWidth(); in measureContentWidth() local 220 if (itemWidth >= popupMaxWidth) { in measureContentWidth() 222 } else if (itemWidth > maxWidth) { in measureContentWidth() 223 maxWidth = itemWidth; in measureContentWidth()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestListViewSceneBase.h | 28 virtual void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth,
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 580 final int itemWidth = (int) (width * info.widthFactor + 0.5f); in getLeftEdgeForItem() local 581 return MAX_SCROLL_X - itemWidth - scaledOffset; in getLeftEdgeForItem()
|