Lines Matching defs:sur
95 sp<Surface> sur;
99 sur = reinterpret_cast<Surface *>(
104 return sur;
134 static inline bool isSurfaceValid(const sp<Surface>& sur) {
135 return Surface::isValid(sur);
160 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
161 sur->decStrong(&sRefBaseOwner);
165 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
166 return isSurfaceValid(sur) ? JNI_TRUE : JNI_FALSE;
170 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject));
171 if (!isSurfaceValid(sur)) {
176 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get());
332 sp<Surface> sur;
336 sur = new Surface(gbp, true);
338 sur->incStrong(&sRefBaseOwner);
346 return jlong(sur.get());