Searched defs:retain (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java58 * @param retain whether the permission should be retained beyond the
62 public void invoke(String origin, boolean allow, boolean retain); argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java71 public NativeBuffer retain() { method in class:NativeBuffer
73 mAttachedFrame.retain();
108 // We do not auto-retain. We expect the user to call retain() if they want to hold on to
H A DFrame.java149 public Frame retain() { method in class:Frame
/frameworks/rs/cpp/util/
H A DRefBase.h100 // retain -- when tracking is enable, if true, then we save a stack trace
101 // for each reference and dereference; when retain == false, we
105 void trackMe(bool enable, bool retain);
116 inline void trackMe(bool enable, bool retain) argument
118 getWeakRefs()->trackMe(enable, retain);
/frameworks/rs/server/
H A DRefBase.h99 // retain -- when tracking is enable, if true, then we save a stack trace
100 // for each reference and dereference; when retain == false, we
104 void trackMe(bool enable, bool retain);
115 inline void trackMe(bool enable, bool retain) argument
117 getWeakRefs()->trackMe(enable, retain);
/frameworks/base/core/java/android/app/
H A DFragmentController.java139 * Returns a list of Fragments that have opted to retain their instance across
150 * Returns a nested tree of Fragments that have opted to retain their instance across
385 * @param retain When {@code true}, the loaders aren't stopped, but, their instances
388 public void doLoaderStop(boolean retain) { argument
389 mHost.doLoaderStop(retain);
407 * Returns a list of LoaderManagers that have opted to retain their instance across
H A DFragmentHostCallback.java48 /** Whether or not fragment loaders should retain their state */
244 void doLoaderStop(boolean retain) { argument
245 mRetainLoaders = retain;
256 if (retain) {
312 // will be ready to retain
H A DLoaderManager.java287 void retain() { method in class:LoaderManagerImpl.LoaderInfo
313 // finishing the retain we find we remain started, have
814 mLoaders.valueAt(i).retain();
H A DFragment.java983 public void setRetainInstance(boolean retain) { argument
984 mRetainInstance = retain;
1577 * {@link #setRetainInstance(boolean)} to retain their instance,
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrame.java32 * {@link #retain()} on it.
150 public final Frame retain() { method in class:Frame
151 mBackingStore = mBackingStore.retain();
H A DBackingStore.java110 public BackingStore retain() { method in class:BackingStore
/frameworks/native/include/ui/
H A DGralloc1.h97 gralloc1_error_t retain(buffer_handle_t buffer);
98 gralloc1_error_t retain(const GraphicBuffer* buffer);
198 GRALLOC1_FUNCTION_RETAIN> retain; member in struct:android::Gralloc1::Device::Functions
H A DGralloc1On0Adapter.h217 void retain() { ++mReferenceCount; } function in class:android::Gralloc1On0Adapter::Buffer
339 gralloc1_error_t retain(const std::shared_ptr<Buffer>& buffer);
342 // Member function pointer 'member' will either be retain or release
358 gralloc1_error_t retain(const GraphicBuffer* buffer);
362 return adapter->retain(buffer);
/frameworks/native/libs/ui/
H A DGralloc1On0Adapter.cpp133 managementHook<&Gralloc1On0Adapter::retain>);
288 gralloc1_error_t Gralloc1On0Adapter::retain( function in class:android::Gralloc1On0Adapter
292 buffer->retain();
323 gralloc1_error_t Gralloc1On0Adapter::retain( function in class:android::Gralloc1On0Adapter
332 mBuffers[handle]->retain();
H A DGralloc1.cpp196 gralloc1_error_t Device::retain(buffer_handle_t buffer) function in class:android::Gralloc1::Device
198 int32_t intError = mFunctions.retain(mDevice, buffer);
202 gralloc1_error_t Device::retain(const GraphicBuffer* buffer) function in class:android::Gralloc1::Device
207 return retain(buffer->getNativeBuffer()->handle);
333 if (!mFunctions.retain.load(mDevice, true)) {
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentController.java162 * Returns a list of Fragments that have opted to retain their instance across
175 * Returns a nested tree of Fragments that have opted to retain their instance across
402 * @param retain When {@code true}, the loaders aren't stopped, but, their instances
405 public void doLoaderStop(boolean retain) { argument
406 mHost.doLoaderStop(retain);
431 * Returns a list of LoaderManagers that have opted to retain their instance across
H A DFragmentHostCallback.java49 /** Whether or not fragment loaders should retain their state */
253 // retain -- whether to stop the loader or retain it
254 void doLoaderStop(boolean retain) { argument
255 mRetainLoaders = retain;
266 if (retain) {
322 // will be ready to retain
H A DLoaderManager.java274 void retain() { method in class:LoaderManagerImpl.LoaderInfo
300 // finishing the retain we find we remain started, have
801 mLoaders.valueAt(i).retain();
H A DFragment.java831 public void setRetainInstance(boolean retain) { argument
832 mRetainInstance = retain;
1350 * {@link #setRetainInstance(boolean)} to retain their instance,

Completed in 407 milliseconds