Home
last modified time | relevance | path

Searched refs:mSlotView (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java89 private SlotView mSlotView; field in AlbumPage
124 Rect rect = mSlotView.getSlotRect(index);
125 Rect bounds = mSlotView.bounds();
126 rect.offset(bounds.left - mSlotView.getScrollX(),
127 bounds.top - mSlotView.getScrollY());
133 int start = mSlotView.getVisibleStart();
134 int end = mSlotView.getVisibleEnd();
167 mSlotView.layout(0, slotViewTop, slotViewRight, slotViewBottom);
258 mSlotView.invalidate(); in onSingleTapUp()
297 mSlotView.getSlotRect(slotIndex, mRootPane)); in pickPhoto()
[all …]
DAlbumSetPage.java85 private SlotView mSlotView; field in AlbumSetPage
145 mSlotView.layout(0, slotViewTop, slotViewRight, slotViewBottom);
182 mRootPane.getBoundsOf(mSlotView, offset); in getSlotCenter()
183 Rect r = mSlotView.getSlotRect(slotIndex); in getSlotCenter()
184 int scrollX = mSlotView.getScrollX(); in getSlotCenter()
185 int scrollY = mSlotView.getScrollY(); in getSlotCenter()
197 mSlotView.invalidate(); in onSingleTapUp()
267 mSlotView.getSlotRect(slotIndex, mRootPane)); in pickAlbum()
306 mSlotView.invalidate(); in onLongTap()
414 mSlotView.invalidate(); in clearLoadingBit()
[all …]
DManageCachePage.java67 private SlotView mSlotView; field in ManageCachePage
125 mSlotView.layout(0, slotViewTop, right - left, slotViewBottom);
190 mSlotView.invalidate(); in onSingleTapUp()
292 mSlotView = new SlotView(mActivity, config.slotViewSpec); in initializeViews()
293 mSelectionDrawer = new ManageCacheDrawer(mActivity, mSelectionManager, mSlotView, in initializeViews()
295 mSlotView.setSlotRenderer(mSelectionDrawer); in initializeViews()
296 mSlotView.setListener(new SlotView.SimpleListener() { in initializeViews()
312 mRootPane.addComponent(mSlotView); in initializeViews()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlotRenderer.java43 private final SlotView mSlotView; field in AlbumSlotRenderer
57 mSlotView = slotView; in AlbumSlotRenderer()
68 mSlotView.invalidate(); in setPressedIndex()
74 mSlotView.invalidate(); in setPressedUp()
80 mSlotView.invalidate(); in setHighlightItemPath()
86 mSlotView.setSlotCount(0); in setModel()
92 mSlotView.setSlotCount(model.size()); in setModel()
164 mSlotView.invalidate(); in onContentChanged()
169 mSlotView.setSlotCount(size); in onSizeChanged()
DAlbumSetSlotRenderer.java46 private SlotView mSlotView; field in AlbumSetSlotRenderer
74 mSlotView = slotView; in AlbumSetSlotRenderer()
87 mSlotView.invalidate(); in setPressedIndex()
93 mSlotView.invalidate(); in setPressedUp()
99 mSlotView.invalidate(); in setHighlightItemPath()
106 mSlotView.setSlotCount(0); in setModel()
112 mSlotView.setSlotCount(mDataWindow.size()); in setModel()
212 mSlotView.setSlotCount(size); in onSizeChanged()
217 mSlotView.invalidate(); in onContentChanged()