/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageView.java | 61 protected ImageRendererWrapper mRenderer; field in TiledImageView 69 mRenderer = new ImageRendererWrapper(); in TiledImageView() 70 mRenderer.image = new TiledImageRenderer(this); in TiledImageView() 95 mRenderer.image.freeTextures(); 109 mRenderer.source = source; in setTileSource() 110 mRenderer.isReadyCallback = isReadyCallback; in setTileSource() 111 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; in setTileSource() 112 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource() 113 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource() 114 mRenderer.scale = 0; in setTileSource() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageView.java | 80 private ImageRendererWrapper mRenderer; field in TiledImageView 96 mRenderer = new ImageRendererWrapper(); in TiledImageView() 97 mRenderer.image = new TiledImageRenderer(this); in TiledImageView() 130 mRenderer.image.freeTextures(); 157 mRenderer.source = source; in setTileSource() 158 mRenderer.isReadyCallback = isReadyCallback; in setTileSource() 159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; in setTileSource() 160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource() 161 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource() 162 mRenderer.scale = 0; in setTileSource() [all …]
|
D | BlockingGLTextureView.java | 319 private Renderer mRenderer; field in BlockingGLTextureView.RenderThread 327 mRenderer = renderer; in RenderThread() 332 if (mRenderer == null) { in checkRenderer() 400 mRenderer.onSurfaceCreated(mGL, mEglHelper.mEglConfig); in handleMessageLocked() 404 mRenderer.onSurfaceChanged(mGL, mWidth, mHeight); in handleMessageLocked() 407 mRenderer.onDrawFrame(mGL); in handleMessageLocked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardRendererTest.java | 67 private SliceContextualCardRenderer mRenderer; field in SliceContextualCardRendererTest 79 mRenderer = new SliceContextualCardRenderer(mActivity, mLifecycleOwner, in setUp() 88 mRenderer.bindView(viewHolder, buildContextualCard(sliceUri)); in bindView_invalidScheme_sliceShouldBeNull() 97 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_newSliceLiveData_shouldAddDataToMap() 99 assertThat(mRenderer.mSliceLiveDataMap.size()).isEqualTo(1); in bindView_newSliceLiveData_shouldAddDataToMap() 104 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_sliceLiveDataShouldObserveSliceView() 106 assertThat(mRenderer.mSliceLiveDataMap.get(TEST_SLICE_URI).hasObservers()).isTrue(); in bindView_sliceLiveDataShouldObserveSliceView() 111 mRenderer.mSliceLiveDataMap.put(TEST_SLICE_URI, mSliceLiveData); in bindView_sliceLiveDataShouldRemoveObservers() 113 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_sliceLiveDataShouldRemoveObservers() 125 mRenderer.bindView(viewHolder, card); in bindView_isPendingDismiss_shouldShowDismissalView() [all …]
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | CropView.java | 71 final float imageWidth = mRenderer.source.getImageWidth(); in getImageDims() 72 final float imageHeight = mRenderer.source.getImageHeight(); in getImageDims() 89 float initialCenterX = mRenderer.source.getImageWidth() / 2f; in getEdgesHelper() 90 float initialCenterY = mRenderer.source.getImageHeight() / 2f; in getEdgesHelper() 99 final float scale = mRenderer.scale; in getEdgesHelper() 116 return mRenderer.rotation; in getImageRotation() 122 final float scale = mRenderer.scale; in getCrop() 133 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight()); in getSourceDimensions() 138 mCenterX = mRenderer.centerX; in setTileSource() 139 mCenterY = mRenderer.centerY; in setTileSource() [all …]
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | Colors.java | 48 private ColorsGLRenderer mRenderer; field in Colors 83 if (mRenderer != null) { in surfaceCreated() 84 mRenderer.stop(); in surfaceCreated() 86 mRenderer = new ColorsGLRenderer(holder.getSurface(), in surfaceCreated() 88 mRenderer.start(); in surfaceCreated() 100 if (mRenderer != null) { in surfaceChanged() 101 mRenderer.setSize(width, height); in surfaceChanged() 114 if (mRenderer != null) { in surfaceDestroyed() 115 mRenderer.stop(); in surfaceDestroyed() 116 mRenderer = null; in surfaceDestroyed()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/ |
D | LegacySuggestionContextualCardRendererTest.java | 52 private LegacySuggestionContextualCardRenderer mRenderer; field in LegacySuggestionContextualCardRendererTest 64 mRenderer = new LegacySuggestionContextualCardRenderer(mActivity, mControllerRendererPool); in setUp() 74 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in bindView_shouldSetListener() 79 mRenderer.bindView(viewHolder, buildContextualCard()); in bindView_shouldSetListener() 92 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in bindView_closeButton_shouldSetListener() 98 mRenderer.bindView(viewHolder, buildContextualCard()); in bindView_closeButton_shouldSetListener() 111 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in viewClick_shouldInvokeControllerPrimaryClick() 116 mRenderer.bindView(viewHolder, buildContextualCard()); in viewClick_shouldInvokeControllerPrimaryClick() 131 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in viewClick_closeButton_shouldInvokeControllerDismissClick() 137 mRenderer.bindView(viewHolder, buildContextualCard()); in viewClick_closeButton_shouldInvokeControllerDismissClick()
|
/packages/services/BuiltInPrintService/src/com/android/bips/render/ |
D | PdfRenderService.java | 46 private PdfRenderer mRenderer; field in PdfRenderService 69 return mRenderer.getPageCount(); 117 mRenderer = new PdfRenderer(pfd); 130 if (mRenderer == null) { 141 mPage = mRenderer.openPage(page); 163 if (mRenderer != null) { in closeAll() 164 mRenderer.close(); in closeAll() 165 mRenderer = null; in closeAll()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | MosaicRendererSurfaceView.java | 36 private MosaicRendererSurfaceViewRenderer mRenderer; field in MosaicRendererSurfaceView 94 mRenderer = new MosaicRendererSurfaceViewRenderer(mIsLandscapeOrientation); in init() 95 setRenderer(mRenderer); in init() 334 mRenderer.setReady(); in setReady() 344 mRenderer.preprocess(transformMatrix); in preprocess() 354 mRenderer.transferGPUtoCPU(); in transferGPUtoCPU() 365 mRenderer.setWarping(flag); in setWarping() 371 return mRenderer; in getRenderer()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionFooterContextualCardRendererTest.java | 51 private ConditionFooterContextualCardRenderer mRenderer; field in ConditionFooterContextualCardRendererTest 57 mRenderer = new ConditionFooterContextualCardRenderer(mContext, mControllerRendererPool); in setUp() 67 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_shouldSetClickListener() 72 mRenderer.bindView(viewHolder, card); in bindView_shouldSetClickListener() 85 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_clickView_shouldSetTrueToIsConditionExpanded() 90 mRenderer.bindView(viewHolder, card); in bindView_clickView_shouldSetTrueToIsConditionExpanded()
|
D | ConditionContextualCardRendererTest.java | 53 private ConditionContextualCardRenderer mRenderer; field in ConditionContextualCardRendererTest 63 mRenderer = new ConditionContextualCardRenderer(mActivity, mControllerRendererPool); in setUp() 73 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_shouldSetListener() 79 mRenderer.bindView(viewHolder, card); in bindView_shouldSetListener() 92 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in viewClick_shouldInvokeControllerPrimaryClick() 98 mRenderer.bindView(viewHolder, card); in viewClick_shouldInvokeControllerPrimaryClick()
|
D | ConditionHeaderContextualCardRendererTest.java | 55 private ConditionHeaderContextualCardRenderer mRenderer; field in ConditionHeaderContextualCardRendererTest 65 mRenderer = new ConditionHeaderContextualCardRenderer(mActivity, mControllerRendererPool); in setUp() 75 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_shouldSetClickListener() 80 mRenderer.bindView(viewHolder, generateConditionHeaderContextualCard()); in bindView_shouldSetClickListener() 93 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_clickView_shouldSetTrueToIsConditionExpanded() 98 mRenderer.bindView(viewHolder, generateConditionHeaderContextualCard()); in bindView_clickView_shouldSetTrueToIsConditionExpanded()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlotView.java | 80 private SlotRenderer mRenderer; field in SlotView 99 mRenderer = slotDrawer; in setSlotRenderer() 100 if (mRenderer != null) { in setSlotRenderer() 101 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer() 102 mRenderer.onVisibleRangeChanged(getVisibleStart(), getVisibleEnd()); in setSlotRenderer() 242 if (mRenderer == null) return; in render() 243 mRenderer.prepareDrawing(); in render() 325 int result = mRenderer.renderSlot( in renderItem() 507 if (mRenderer != null) { in initLayoutParameters() 508 mRenderer.onSlotSizeChanged(mSlotWidth, mSlotHeight); in initLayoutParameters() [all …]
|