/packages/apps/Camera2/src/com/android/camera/captureintent/event/ |
EventOnSurfaceTextureAvailable.java | 21 import android.graphics.SurfaceTexture; 24 private final SurfaceTexture mSurfaceTexture; 26 public EventOnSurfaceTextureAvailable(SurfaceTexture surfaceTexture) { 27 mSurfaceTexture = surfaceTexture; 30 public SurfaceTexture getSurfaceTexture() {
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
SurfaceTextureContainer.java | 19 import android.graphics.SurfaceTexture; 25 * A container that stores the {@link SurfaceTexture} and the stored 29 private final SurfaceTexture mSurfaceTexture; 32 public SurfaceTextureContainer(SurfaceTexture surfaceTexture) { 33 mSurfaceTexture = surfaceTexture; 37 public SurfaceTexture getSurfaceTexture() {
|
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...] |
/frameworks/base/core/jni/android/graphics/ |
SurfaceTexture.cpp | 17 #define LOG_TAG "SurfaceTexture" 46 const char* const kSurfaceTextureClassPathName = "android/graphics/SurfaceTexture"; 49 jfieldID surfaceTexture; 80 const sp<GLConsumer>& surfaceTexture) 83 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); 84 if (surfaceTexture.get()) { 85 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); 90 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); 123 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); [all...] |
/development/ndk/platforms/android-13/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceSurfaceTextureNexus4Impl.java | 24 import android.graphics.SurfaceTexture; 34 * SurfaceTexture default buffer. Noted that though the surface is 4:3, the 51 SurfaceTexture surfaceTexture) { 54 surfaceTexture, 61 SurfaceTexture surfaceTexture, 63 super(resourceConstructed, surfaceTexture, previewTransformCalculator);
|
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...] |
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/prebuilts/ndk/current/platforms/android-15/arch-x86/usr/include/android/ |
native_window_jni.h | 37 * Return the ANativeWindow associated with a Java SurfaceTexture object, 42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
|
/cts/tests/tests/media/src/android/media/cts/ |
CompositionTextureView.java | 23 import android.graphics.SurfaceTexture; 67 public void onSurfaceTextureAvailable(SurfaceTexture arg0, int arg1, int arg2) { 76 public boolean onSurfaceTextureDestroyed(SurfaceTexture arg0) { 84 public void onSurfaceTextureSizeChanged(SurfaceTexture arg0, int arg1, int arg2) { 93 public void onSurfaceTextureUpdated(SurfaceTexture arg0) { 111 SurfaceTexture surfaceTexture = getSurfaceTexture(); 112 if (mSurface == null && surfaceTexture != null) { 113 recreateSurface(surfaceTexture); 118 private synchronized void recreateSurface(SurfaceTexture surfaceTexture) [all...] |
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintLocationAnimationVideoView.java | 22 import android.graphics.SurfaceTexture; 62 private SurfaceTexture mTextureToDestroy = null; 65 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, 77 mMediaPlayer.setSurface(new Surface(surfaceTexture)); 100 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 105 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 106 mTextureToDestroy = surfaceTexture; [all...] |
/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/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 18 import android.graphics.SurfaceTexture; 41 private final SurfaceTexture mSurfaceTexture; 58 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender, 64 mSurfaceTexture = surfaceTexture; 68 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, 70 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); 73 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender [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 + "!");
|
/frameworks/native/cmds/flatland/ |
GLHelper.h | 55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface, 72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
|
/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...] |