Пример #1
0
 public void setOriginalBitmap(Bitmap originalBitmap) {
   if (mUpdatePreviewTask == null) {
     return;
   }
   mUpdatePreviewTask.setOriginal(originalBitmap);
   mHighresRenderingRequestTask.setOriginal(originalBitmap);
   mFullresRenderingRequestTask.setOriginal(originalBitmap);
   mRenderingRequestTask.setOriginal(originalBitmap);
 }
Пример #2
0
 public void postRenderingRequest(RenderingRequest request) {
   mRenderingRequestTask.postRenderingRequest(request);
 }
Пример #3
0
 public void setPreviewScaleFactor(float previewScale) {
   mHighresRenderingRequestTask.setPreviewScaleFactor(previewScale);
   mFullresRenderingRequestTask.setPreviewScaleFactor(previewScale);
   mRenderingRequestTask.setPreviewScaleFactor(previewScale);
 }