Searched refs:previewAllocation (Results 1 – 1 of 1) sorted by relevance
855 public final void setPreviewCallbackAllocation(Allocation previewAllocation) in setPreviewCallbackAllocation() argument858 if (previewAllocation != null) { in setPreviewCallbackAllocation()861 if (previewSize.width != previewAllocation.getType().getX() || in setPreviewCallbackAllocation()862 previewSize.height != previewAllocation.getType().getY()) { in setPreviewCallbackAllocation()866 previewAllocation.getType().getX() + in setPreviewCallbackAllocation()868 previewAllocation.getType().getY() + in setPreviewCallbackAllocation()872 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()877 if (previewAllocation.getType().getElement().getDataKind() != in setPreviewCallbackAllocation()882 previewSurface = previewAllocation.getSurface(); in setPreviewCallbackAllocation()