Searched refs:previewAllocation (Results 1 – 1 of 1) sorted by relevance
1101 public final void setPreviewCallbackAllocation(Allocation previewAllocation) in setPreviewCallbackAllocation() argument1104 if (previewAllocation != null) { in setPreviewCallbackAllocation()1107 if (previewSize.width != previewAllocation.getType().getX() || in setPreviewCallbackAllocation()1108 previewSize.height != previewAllocation.getType().getY()) { in setPreviewCallbackAllocation()1112 previewAllocation.getType().getX() + in setPreviewCallbackAllocation()1114 previewAllocation.getType().getY() + in setPreviewCallbackAllocation()1118 if ((previewAllocation.getUsage() & in setPreviewCallbackAllocation()1123 if (previewAllocation.getType().getElement().getDataKind() != in setPreviewCallbackAllocation()1128 previewSurface = previewAllocation.getSurface(); in setPreviewCallbackAllocation()