Searched refs:getOpticalWidth (Results 1 – 2 of 2) sorted by relevance
56 alignPos += ((view == itemView ? p.getOpticalWidth(view) : view.getWidth()) in getAlignmentPosition()
123 int getOpticalWidth(View view) { in getOpticalWidth() method in GridLayoutManager.LayoutParams925 return mOrientation == HORIZONTAL ? p.getOpticalWidth(view) : p.getOpticalHeight(view); in getViewPrimarySize()