Searched refs:previewAllocation (Results 1 – 1 of 1) sorted by relevance
1031 public final void setPreviewCallbackAllocation(Allocation previewAllocation) in setPreviewCallbackAllocation() argument1034 if (previewAllocation != null) { in setPreviewCallbackAllocation()1037 if (previewSize.width != previewAllocation.getType().getX() || in setPreviewCallbackAllocation()1038 previewSize.height != previewAllocation.getType().getY()) { in setPreviewCallbackAllocation()1042 previewAllocation.getType().getX() + in setPreviewCallbackAllocation()1044 previewAllocation.getType().getY() + in setPreviewCallbackAllocation()1048 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()1053 if (previewAllocation.getType().getElement().getDataKind() != in setPreviewCallbackAllocation()1058 previewSurface = previewAllocation.getSurface(); in setPreviewCallbackAllocation()