Home
last modified time | relevance | path

Searched refs:mRenderer (Results 1 – 14 of 14) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageView.java61 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/
DTiledImageView.java80 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 …]
DBlockingGLTextureView.java319 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/
DSliceContextualCardRendererTest.java70 private SliceContextualCardRenderer mRenderer; field in SliceContextualCardRendererTest
82 mRenderer = new SliceContextualCardRenderer(mActivity, mLifecycleOwner, in setUp()
92 mRenderer.bindView(viewHolder, buildContextualCard(invalidUri)); in bindView_invalidScheme_sliceShouldBeNull()
103 mRenderer.bindView(viewHolder, buildContextualCard(TEST_SLICE_URI)); in bindView_viewTypeFullWidth_shouldSetCachedSlice()
115 mRenderer.bindView(viewHolder, buildContextualCard(TEST_SLICE_URI)); in bindView_viewTypeSticky_shouldSetCachedSlice()
124 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_newSliceLiveData_shouldAddDataToMap()
126 assertThat(mRenderer.mSliceLiveDataMap.size()).isEqualTo(1); in bindView_newSliceLiveData_shouldAddDataToMap()
131 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_sliceLiveDataShouldObserveSliceView()
133 assertThat(mRenderer.mSliceLiveDataMap.get(TEST_SLICE_URI).hasObservers()).isTrue(); in bindView_sliceLiveDataShouldObserveSliceView()
138 mRenderer.mSliceLiveDataMap.put(TEST_SLICE_URI, mSliceLiveData); in bindView_sliceLiveDataShouldRemoveObservers()
[all …]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java71 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/
DColors.java48 private ColorsGLRenderer mRenderer; field in Colors
82 if (mRenderer != null) { in surfaceCreated()
83 mRenderer.stop(); in surfaceCreated()
85 mRenderer = new ColorsGLRenderer(holder.getSurface(), in surfaceCreated()
87 mRenderer.start(); in surfaceCreated()
99 if (mRenderer != null) { in surfaceChanged()
100 mRenderer.setSize(width, height); in surfaceChanged()
113 if (mRenderer != null) { in surfaceDestroyed()
114 mRenderer.stop(); in surfaceDestroyed()
115 mRenderer = null; in surfaceDestroyed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRendererTest.java52 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/
DPdfRenderService.java46 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/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DCarEvsCameraGLSurfaceView.java29 private final GLES20CarEvsCameraPreviewRenderer mRenderer; field in CarEvsCameraGLSurfaceView
35 mRenderer = new GLES20CarEvsCameraPreviewRenderer(context, activity); in CarEvsCameraGLSurfaceView()
36 setRenderer(mRenderer); in CarEvsCameraGLSurfaceView()
47 mRenderer.setTextLocation(x, y); in onTouchEvent()
53 mRenderer.clearBuffer(); in clearBuffer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionFooterContextualCardRendererTest.java51 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()
DConditionContextualCardRendererTest.java53 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()
DConditionHeaderContextualCardRendererTest.java55 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/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java36 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/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java80 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 …]