Searched refs:previewAllocation (Results 1 – 1 of 1) sorted by relevance
1145 public final void setPreviewCallbackAllocation(Allocation previewAllocation) in setPreviewCallbackAllocation() argument1148 if (previewAllocation != null) { in setPreviewCallbackAllocation()1151 if (previewSize.width != previewAllocation.getType().getX() || in setPreviewCallbackAllocation()1152 previewSize.height != previewAllocation.getType().getY()) { in setPreviewCallbackAllocation()1156 previewAllocation.getType().getX() + in setPreviewCallbackAllocation()1158 previewAllocation.getType().getY() + in setPreviewCallbackAllocation()1162 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()1167 if (previewAllocation.getType().getElement().getDataKind() != in setPreviewCallbackAllocation()1172 previewSurface = previewAllocation.getSurface(); in setPreviewCallbackAllocation()