/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
HardwareCameraPreview.java | 20 import android.graphics.SurfaceTexture; 47 final SurfaceTexture surfaceTexture, final int i, final int i2) { 53 final SurfaceTexture surfaceTexture, final int i, final int i2) { 58 public boolean onSurfaceTextureDestroyed(final SurfaceTexture surfaceTexture) { 64 public void onSurfaceTextureUpdated(final SurfaceTexture surfaceTexture) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
HardwareCameraPreview.java | 20 import android.graphics.SurfaceTexture; 46 public void onSurfaceTextureAvailable(final SurfaceTexture surfaceTexture, final int i, final int i2) { 51 public void onSurfaceTextureSizeChanged(final SurfaceTexture surfaceTexture, final int i, final int i2) { 56 public boolean onSurfaceTextureDestroyed(final SurfaceTexture surfaceTexture) { 62 public void onSurfaceTextureUpdated(final SurfaceTexture surfaceTexture) {
|
/cts/tests/tests/view/src/android/view/cts/ |
GLProducerThread.java | 18 import android.graphics.SurfaceTexture; 36 private final SurfaceTexture mSurfaceTexture; 52 private GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, 59 mSurfaceTexture = surfaceTexture; 63 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, 65 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); 68 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender [all...] |
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintLocationAnimationVideoView.java | 22 import android.graphics.SurfaceTexture; 63 private SurfaceTexture mTextureToDestroy = null; 66 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, 82 mMediaPlayer.setSurface(new Surface(surfaceTexture)); 105 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 110 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 111 mTextureToDestroy = surfaceTexture; [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
GLEnvironment.java | 21 import android.graphics.SurfaceTexture; 110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { 111 Surface surface = new Surface(surfaceTexture); 115 throw new RuntimeException("Error registering surfaceTexture " + surfaceTexture + "!");
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstFacade.java | 19 import android.graphics.SurfaceTexture; 34 * {@link #stopBurst()} between {@link #initialize(SurfaceTexture)} and 62 * Initialize resources and use the provided {@link SurfaceTexture} for 65 * @param surfaceTexture to use for streaming 67 public void initialize(SurfaceTexture surfaceTexture); 72 * {@link #initialize(SurfaceTexture)} should be called in order to start 81 * surface texture {@link #initialize(SurfaceTexture)}.
|
ToastingBurstFacadeDecorator.java | 20 import android.graphics.SurfaceTexture; 93 public void initialize(SurfaceTexture surfaceTexture) { 94 mBurstFacade.initialize(surfaceTexture);
|
BurstController.java | 17 import android.graphics.SurfaceTexture; 36 * Camera initializes the burst module by calling {@link #startBurst(SurfaceTexture, 89 * Takes a SurfaceTexture that is not attached to any context (call 90 * {@link android.graphics.SurfaceTexture#detachFromGLContext()} before 92 * {@link SurfaceTexture#setOnFrameAvailableListener(SurfaceTexture.OnFrameAvailableListener, 95 * @param surfaceTexture the SurfaceTexture for the low-res image stream. 103 public EvictionHandler startBurst(SurfaceTexture surfaceTexture, [all...] |
BurstFacadeImpl.java | 18 import android.graphics.SurfaceTexture; 186 public void initialize(SurfaceTexture surfaceTexture) { 190 surfaceTexture.setDefaultBufferSize(DEFAULT_PREVIEW_WIDTH, DEFAULT_PREVIEW_HEIGHT); 194 surfaceTexture.detachFromGLContext(); 195 mSurfaceTextureContainer.set(new SurfaceTextureContainer(surfaceTexture));
|
BurstFacadeFactory.java | 20 import android.graphics.SurfaceTexture; 54 public void initialize(SurfaceTexture surfaceTexture) {}
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceSurfaceTextureImpl.java | 26 import android.graphics.SurfaceTexture; 38 private final SurfaceTexture mSurfaceTexture; 46 /** The default buffer size in SurfaceTexture. */ 56 SurfaceTexture surfaceTexture) { 59 surfaceTexture, 66 SurfaceTexture surfaceTexture, 70 mSurfaceTexture = surfaceTexture; 130 * Updates the default buffer size in SurfaceTexture with the configure [all...] |
/frameworks/native/cmds/flatland/ |
GLHelper.h | 54 sp<GLConsumer>* surfaceTexture, EGLSurface* surface, 71 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
GesturePreference.java | 20 import android.graphics.SurfaceTexture; 122 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, 125 mMediaPlayer.setSurface(new Surface(surfaceTexture)); 132 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, 137 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 143 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
VideoPreference.java | 22 import android.graphics.SurfaceTexture; 112 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, 115 mMediaPlayer.setSurface(new Surface(surfaceTexture)); 122 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, 127 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 133 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { [all...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
SurfaceTextureHelper.java | 30 import android.graphics.SurfaceTexture; 45 * Helper class to create and synchronize access to a SurfaceTexture. The caller will get notified 87 // The onFrameAvailable() callback will be executed on the SurfaceTexture ctor thread. See: 88 // http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/5.1.1_r1/android/graphics/SurfaceTexture.java#195. 313 private final SurfaceTexture surfaceTexture; 336 surfaceTexture = new SurfaceTexture(oesTextureId); 360 surfaceTexture.setOnFrameAvailableListener(new SurfaceTexture.OnFrameAvailableListener() [all...] |
EglBase.java | 30 import android.graphics.SurfaceTexture; 109 // Create EGLSurface from the Android SurfaceTexture. 110 public abstract void createSurface(SurfaceTexture surfaceTexture);
|
/packages/apps/Camera2/src_pd/com/android/camera/burst/ |
BurstControllerImpl.java | 19 import android.graphics.SurfaceTexture; 44 public EvictionHandler startBurst(SurfaceTexture surfaceTexture,
|
/frameworks/base/core/jni/ |
android_view_HardwareLayer.cpp | 71 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); 72 layer->setSurfaceTexture(surfaceTexture); 91 { "nSetSurfaceTexture", "(JLandroid/graphics/SurfaceTexture;)V",
|
/frameworks/base/core/java/android/view/ |
Surface.java | 25 import android.graphics.SurfaceTexture; 39 * {@link android.graphics.SurfaceTexture}, {@link android.media.MediaRecorder}, or 53 private static native long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) 166 * Create Surface from a {@link SurfaceTexture}. 169 * SurfaceTexture}, which can attach them to an OpenGL ES texture via {@link 170 * SurfaceTexture#updateTexImage}. 172 * @param surfaceTexture The {@link SurfaceTexture} that is updated by this 176 public Surface(SurfaceTexture surfaceTexture) [all...] |
TextureView.java | 26 import android.graphics.SurfaceTexture; 46 * {@link SurfaceTexture}. The {@link SurfaceTexture} can then be used to 64 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 75 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 79 * public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 85 * public void onSurfaceTextureUpdated(SurfaceTexture surface) { 91 * <p>A TextureView's SurfaceTexture can be obtained either by invoking 93 * It is important to know that a SurfaceTexture is available only after the 96 * be notified when the SurfaceTexture becomes available.</p [all...] |
/frameworks/av/media/libmedia/ |
IRemoteDisplayClient.cpp | 79 sp<IGraphicBufferProducer> surfaceTexture( 85 onDisplayConnected(surfaceTexture, width, height, flags, session);
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 26 import android.graphics.SurfaceTexture; 188 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int i, int i2) { 200 mCamera.setPreviewTexture(surfaceTexture); 209 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int i, int i2) { 214 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 223 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
OverlayDisplayWindow.java | 22 import android.graphics.SurfaceTexture; 318 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, 320 mListener.onWindowCreated(surfaceTexture, 326 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 332 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 337 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { [all...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
CaptureIntentModule.java | 21 import android.graphics.SurfaceTexture; 288 final SurfaceTexture surfaceTexture, int width, int height) { 289 mStateMachine.processEvent(new EventOnSurfaceTextureAvailable(surfaceTexture)); 293 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 300 SurfaceTexture surfaceTexture, int width, int height) { 304 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
OverlayDisplayWindow.java | 20 import android.graphics.SurfaceTexture; 392 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, 395 mListener.onWindowCreated(new Surface(surfaceTexture)); 400 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 408 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 413 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { [all...] |