Searched refs:previewAllocation (Results 1 – 1 of 1) sorted by relevance
1083 public final void setPreviewCallbackAllocation(Allocation previewAllocation) in setPreviewCallbackAllocation() argument1086 if (previewAllocation != null) { in setPreviewCallbackAllocation()1089 if (previewSize.width != previewAllocation.getType().getX() || in setPreviewCallbackAllocation()1090 previewSize.height != previewAllocation.getType().getY()) { in setPreviewCallbackAllocation()1094 previewAllocation.getType().getX() + in setPreviewCallbackAllocation()1096 previewAllocation.getType().getY() + in setPreviewCallbackAllocation()1100 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()1105 if (previewAllocation.getType().getElement().getDataKind() != in setPreviewCallbackAllocation()1110 previewSurface = previewAllocation.getSurface(); in setPreviewCallbackAllocation()