Searched refs:previewAllocation (Results 1 – 1 of 1) sorted by relevance
1029 public final void setPreviewCallbackAllocation(Allocation previewAllocation) in setPreviewCallbackAllocation() argument1032 if (previewAllocation != null) { in setPreviewCallbackAllocation()1035 if (previewSize.width != previewAllocation.getType().getX() || in setPreviewCallbackAllocation()1036 previewSize.height != previewAllocation.getType().getY()) { in setPreviewCallbackAllocation()1040 previewAllocation.getType().getX() + in setPreviewCallbackAllocation()1042 previewAllocation.getType().getY() + in setPreviewCallbackAllocation()1046 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()1051 if (previewAllocation.getType().getElement().getDataKind() != in setPreviewCallbackAllocation()1056 previewSurface = previewAllocation.getSurface(); in setPreviewCallbackAllocation()