diff options
| author | 2011-07-26 09:51:18 -0700 | |
|---|---|---|
| committer | 2011-08-11 19:58:25 -0700 | |
| commit | 1ee60119c4fa51ebfa781cf5fdc33f192e8551b8 (patch) | |
| tree | 2fb0ce22107a1d3f0c73f3bd5d63a877f5a16d44 /include/android_runtime | |
| parent | 61bb11cfa03abc345f27ec14f63929b6f600edff (diff) | |
Remove ParcelSurfaceTexture and update MediaPlayer
This removes the ParcelSurfaceTexture class since that functionality has been
folded into Surface.java. The change also updates the MediaPlayer to get rid
of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface
functionality in order to simplify the code.
Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
Diffstat (limited to 'include/android_runtime')
| -rw-r--r-- | include/android_runtime/android_graphics_ParcelSurfaceTexture.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/android_runtime/android_graphics_ParcelSurfaceTexture.h b/include/android_runtime/android_graphics_ParcelSurfaceTexture.h deleted file mode 100644 index b94ac9b532be..000000000000 --- a/include/android_runtime/android_graphics_ParcelSurfaceTexture.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef _ANDROID_GRAPHICS_PARCELSURFACETEXTURE_H -#define _ANDROID_GRAPHICS_PARCELSURFACETEXTURE_H - -#include <android/native_window.h> - -#include "jni.h" - -namespace android { - -class ISurfaceTexture; - -extern sp<ANativeWindow> android_ParcelSurfaceTexture_getNativeWindow( - JNIEnv* env, jobject thiz); -extern bool android_ParcelSurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz); - -/* Gets the underlying ISurfaceTexture from a ParcelSurfaceTexture Java object. */ -extern sp<ISurfaceTexture> ParcelSurfaceTexture_getISurfaceTexture(JNIEnv* env, jobject thiz); - -} // namespace android - -#endif // _ANDROID_GRAPHICS_PARCELSURFACETEXTURE_H |