Home
last modified time | relevance | path

Searched refs:surfaceId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java129 public void activateSurfaceWithId(int surfaceId) { in activateSurfaceWithId() argument
130 if (!nativeActivateSurfaceId(surfaceId)) { in activateSurfaceWithId()
131 throw new RuntimeException("Could not activate surface " + surfaceId + "!"); in activateSurfaceWithId()
135 public void unregisterSurfaceId(int surfaceId) { in unregisterSurfaceId() argument
136 if (!nativeRemoveSurfaceId(surfaceId)) { in unregisterSurfaceId()
137 throw new RuntimeException("Could not unregister surface " + surfaceId + "!"); in unregisterSurfaceId()
179 private native boolean nativeActivateSurfaceId(int surfaceId); in nativeActivateSurfaceId() argument
181 private native boolean nativeRemoveSurfaceId(int surfaceId); in nativeRemoveSurfaceId() argument
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.h81 jint surfaceId);
86 jint surfaceId);
Djni_gl_environment.cpp360 jint surfaceId) { in Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId() argument
362 return gl_env ? ToJBool(gl_env->SwitchToSurfaceId(surfaceId) && gl_env->Activate()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId()
367 jint surfaceId) { in Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId() argument
369 return gl_env ? ToJBool(gl_env->ReleaseSurfaceId(surfaceId)) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h192 StreamSurfaceId(int32_t streamId, int32_t surfaceId) { in StreamSurfaceId() argument
194 mSurfaceId = surfaceId; in StreamSurfaceId()
199 int32_t surfaceId() const { in surfaceId() function
DCameraDeviceClient.cpp216 surfaceMap[streamSurfaceId.streamId()].push_back(streamSurfaceId.surfaceId()); in submitRequestList()
220 streamSurfaceId.surfaceId()); in submitRequestList()
1246 size_t surfaceId = 0; in finalizeOutputConfigurations() local
1253 surfaceId++; in finalizeOutputConfigurations()
1265 consumerSurfaceIds.push_back(surfaceId); in finalizeOutputConfigurations()
1266 surfaceId++; in finalizeOutputConfigurations()
1327 mStreamMap.valueAt(i).surfaceId()); in dumpClient()