Searched refs:texture (Results 1 – 4 of 4) sorted by relevance
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 284 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated() 492 SurfaceTexture texture = mTextureView.getSurfaceTexture(); in startPreview() local 493 assert texture != null; in startPreview() 494 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in startPreview() 497 Surface previewSurface = new Surface(texture); in startPreview() 614 SurfaceTexture texture = mTextureView.getSurfaceTexture(); in startRecordingVideo() local 615 assert texture != null; in startRecordingVideo() 616 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in startRecordingVideo() 621 Surface previewSurface = new Surface(texture); in startRecordingVideo()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | FrameBufferObjectActivity.java | 175 int texture; in createTargetTexture() local 178 texture = textures[0]; in createTargetTexture() 179 gl.glBindTexture(GL10.GL_TEXTURE_2D, texture); in createTargetTexture() 191 ; return texture; in createTargetTexture()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | Camera2BasicFragment.java | 139 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 144 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 149 public boolean onSurfaceTextureDestroyed(SurfaceTexture texture) { 154 public void onSurfaceTextureUpdated(SurfaceTexture texture) { 431 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated() 677 SurfaceTexture texture = mTextureView.getSurfaceTexture(); in createCameraPreviewSession() local 678 assert texture != null; in createCameraPreviewSession() 681 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in createCameraPreviewSession() 684 Surface surface = new Surface(texture); in createCameraPreviewSession()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixTrackingGL.java | 81 public void glActiveTexture(int texture) { in glActiveTexture() argument 82 mgl.glActiveTexture(texture); in glActiveTexture() 93 public void glBindTexture(int target, int texture) { in glBindTexture() argument 94 mgl.glBindTexture(target, texture); in glBindTexture() 125 public void glClientActiveTexture(int texture) { in glClientActiveTexture() argument 126 mgl.glClientActiveTexture(texture); in glClientActiveTexture() 913 public boolean glIsTexture(int texture) { in glIsTexture() argument
|