Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 25 of 1315) sorted by relevance

12345678910>>...53

/frameworks/compile/libbcc/include/bcinfo/
DBitcodeWrapper.h127 static inline size_t writeAndroidBitcodeWrapper(AndroidBitcodeWrapper *wrapper, in writeAndroidBitcodeWrapper() argument
130 if (!wrapper) { in writeAndroidBitcodeWrapper()
134 wrapper->Magic = 0x0B17C0DE; in writeAndroidBitcodeWrapper()
135 wrapper->Version = 0; in writeAndroidBitcodeWrapper()
136 wrapper->BitcodeOffset = sizeof(*wrapper); in writeAndroidBitcodeWrapper()
137 wrapper->BitcodeSize = bitcodeSize; in writeAndroidBitcodeWrapper()
138 wrapper->HeaderVersion = 0; in writeAndroidBitcodeWrapper()
139 wrapper->TargetAPI = targetAPI; in writeAndroidBitcodeWrapper()
140 wrapper->PNaClVersion = 0; in writeAndroidBitcodeWrapper()
141 wrapper->CompilerVersionTag = BCHeaderField::kAndroidCompilerVersion; in writeAndroidBitcodeWrapper()
[all …]
/frameworks/base/core/jni/
Dandroid_view_GraphicBuffer.cpp122 GraphicBufferWrapper* wrapper = new GraphicBufferWrapper(buffer); in android_view_GraphiceBuffer_create() local
123 return reinterpret_cast<jlong>(wrapper); in android_view_GraphiceBuffer_create()
128 GraphicBufferWrapper* wrapper = in android_view_GraphiceBuffer_destroy() local
130 delete wrapper; in android_view_GraphiceBuffer_destroy()
153 GraphicBufferWrapper* wrapper = in android_view_GraphicBuffer_lockCanvas() local
155 if (!wrapper) { in android_view_GraphicBuffer_lockCanvas()
159 sp<GraphicBuffer> buffer(wrapper->buffer); in android_view_GraphicBuffer_lockCanvas()
209 GraphicBufferWrapper* wrapper = in android_view_GraphicBuffer_unlockCanvasAndPost() local
214 if (wrapper) { in android_view_GraphicBuffer_unlockCanvasAndPost()
215 status_t status = wrapper->buffer->unlock(); in android_view_GraphicBuffer_unlockCanvasAndPost()
[all …]
Dandroid_media_RemoteDisplay.cpp159 NativeRemoteDisplay* wrapper = new NativeRemoteDisplay(display, client); in nativeListen() local
160 return reinterpret_cast<jlong>(wrapper); in nativeListen()
164 NativeRemoteDisplay* wrapper = reinterpret_cast<NativeRemoteDisplay*>(ptr); in nativePause() local
165 wrapper->pause(); in nativePause()
169 NativeRemoteDisplay* wrapper = reinterpret_cast<NativeRemoteDisplay*>(ptr); in nativeResume() local
170 wrapper->resume(); in nativeResume()
174 NativeRemoteDisplay* wrapper = reinterpret_cast<NativeRemoteDisplay*>(ptr); in nativeDispose() local
175 delete wrapper; in nativeDispose()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportActionModeWrapper.java178 Menu wrapper = mMenus.get(menu); in getMenuWrapper() local
179 if (wrapper == null) { in getMenuWrapper()
180 wrapper = MenuWrapperFactory.wrapSupportMenu(mContext, (SupportMenu) menu); in getMenuWrapper()
181 mMenus.put(menu, wrapper); in getMenuWrapper()
183 return wrapper; in getMenuWrapper()
189 SupportActionModeWrapper wrapper = mActionModes.get(i); in getActionModeWrapper() local
190 if (wrapper != null && wrapper.mWrappedObject == mode) { in getActionModeWrapper()
192 return wrapper; in getActionModeWrapper()
198 SupportActionModeWrapper wrapper = new SupportActionModeWrapper(mContext, mode); in getActionModeWrapper() local
199 mActionModes.add(wrapper); in getActionModeWrapper()
[all …]
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download$1 ...
/frameworks/support/compat/tests/java/android/support/v4/graphics/
DDrawableCompatTest.java63 final Drawable wrapper = DrawableCompat.wrap(drawable); in testDrawableChangeBoundsCopy() local
64 wrapper.setBounds(bounds); in testDrawableChangeBoundsCopy()
79 final Drawable wrapper = DrawableCompat.wrap(drawable); in testWrapCopiesDrawableState() local
82 assertEquals(bounds, wrapper.getBounds()); in testWrapCopiesDrawableState()
99 final Drawable wrapper = DrawableCompat.wrap(drawable); in testWrapMutatedDrawableHasConstantState() local
100 assertNotNull(wrapper.getConstantState()); in testWrapMutatedDrawableHasConstantState()
109 final Drawable wrapper = DrawableCompat.wrap(drawable); in testWrappedDrawableHasCallbackSet() local
111 wrapper.setCallback(mockCallback); in testWrappedDrawableHasCallbackSet()
117 verify(mockCallback, times(1)).invalidateDrawable(wrapper); in testWrappedDrawableHasCallbackSet()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DTintContextWrapper.java45 final TintContextWrapper wrapper = ref != null ? ref.get() : null; in wrap() local
46 if (wrapper != null && wrapper.getBaseContext() == context) { in wrap()
47 return wrapper; in wrap()
52 final TintContextWrapper wrapper = new TintContextWrapper(context); in wrap() local
53 sCache.add(new WeakReference<>(wrapper)); in wrap()
54 return wrapper; in wrap()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardware.java447 GeofenceHardwareCallbackWrapper wrapper = mCallbacks.get(callback); in getCallbackWrapper() local
448 if (wrapper == null) { in getCallbackWrapper()
449 wrapper = new GeofenceHardwareCallbackWrapper(callback); in getCallbackWrapper()
450 mCallbacks.put(callback, wrapper); in getCallbackWrapper()
452 return wrapper; in getCallbackWrapper()
465 GeofenceHardwareMonitorCallbackWrapper wrapper = mMonitorCallbacks.get(callback); in getMonitorCallbackWrapper() local
466 if (wrapper == null) { in getMonitorCallbackWrapper()
467 wrapper = new GeofenceHardwareMonitorCallbackWrapper(callback); in getMonitorCallbackWrapper()
468 mMonitorCallbacks.put(callback, wrapper); in getMonitorCallbackWrapper()
470 return wrapper; in getMonitorCallbackWrapper()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemBridgeAdapterShadowOverlayWrapper.java36 ShadowOverlayContainer wrapper = mHelper.createShadowOverlayContainer(context); in createWrapper() local
37 return wrapper; in createWrapper()
40 public void wrap(View wrapper, View wrapped) { in wrap() argument
41 ((ShadowOverlayContainer) wrapper).wrap(wrapped); in wrap()
DPersistentFocusWrapper.java58 ViewGroup wrapper = (ViewGroup) getChildAt(0); in getGrandChildCount() local
59 return wrapper == null ? 0 : wrapper.getChildCount(); in getGrandChildCount()
117 ViewGroup wrapper = (ViewGroup) getChildAt(0); in requestFocus() local
118 if (wrapper != null && mSelectedPosition >= 0 && mSelectedPosition < getGrandChildCount()) { in requestFocus()
119 if (wrapper.getChildAt(mSelectedPosition).requestFocus( in requestFocus()
/frameworks/support/fragment/java/android/support/v4/app/
DNoSaveStateFrameLayout.java32 NoSaveStateFrameLayout wrapper = new NoSaveStateFrameLayout(child.getContext()); in wrap() local
35 wrapper.setLayoutParams(childParams); in wrap()
40 wrapper.addView(child); in wrap()
41 return wrapper; in wrap()
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java205 SessionsChangedWrapper wrapper = new SessionsChangedWrapper(mContext, sessionListener, in addOnActiveSessionsChangedListener() local
208 mService.addSessionsListener(wrapper.mStub, notificationListener, userId); in addOnActiveSessionsChangedListener()
209 mListeners.put(sessionListener, wrapper); in addOnActiveSessionsChangedListener()
227 SessionsChangedWrapper wrapper = mListeners.remove(listener); in removeOnActiveSessionsChangedListener() local
228 if (wrapper != null) { in removeOnActiveSessionsChangedListener()
230 mService.removeSessionsListener(wrapper.mStub); in removeOnActiveSessionsChangedListener()
234 wrapper.release(); in removeOnActiveSessionsChangedListener()
/frameworks/av/media/libstagefright/filters/
DRSFilter.cpp49 sp<RenderScriptWrapper> wrapper; in configure() local
50 if (!msg->findObject("rs-wrapper", (sp<RefBase>*)&wrapper)) { in configure()
55 mRS = wrapper->mContext; in configure()
56 mCallback = wrapper->mCallback; in configure()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java519 Drawable loadDrawable(Resources wrapper, TypedValue value, int id, Resources.Theme theme, in loadDrawable() argument
550 final Drawable cachedDrawable = caches.getInstance(key, wrapper, theme); in loadDrawable()
567 dr = cs.newDrawable(wrapper); in loadDrawable()
571 dr = loadDrawableForCookie(wrapper, value, id, null); in loadDrawable()
684 private Drawable loadDrawableForCookie(Resources wrapper, TypedValue value, int id, in loadDrawableForCookie() argument
715 dr = Drawable.createFromXml(wrapper, rp, theme); in loadDrawableForCookie()
720 dr = Drawable.createFromResourceStream(wrapper, value, is, file, null); in loadDrawableForCookie()
740 private ComplexColor loadComplexColorFromName(Resources wrapper, Resources.Theme theme, in loadComplexColorFromName() argument
744 ComplexColor complexColor = cache.getInstance(key, wrapper, theme); in loadComplexColorFromName()
753 complexColor = factory.newInstance(wrapper, theme); in loadComplexColorFromName()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java191 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters, in startScan() local
193 wrapper.startRegisteration(); in startScan()
208 BleScanCallbackWrapper wrapper = mLeScanClients.remove(callback); in stopScan() local
209 if (wrapper == null) { in stopScan()
213 wrapper.stopLeScan(); in stopScan()
231 BleScanCallbackWrapper wrapper = mLeScanClients.get(callback); in flushPendingScanResults() local
232 if (wrapper == null) { in flushPendingScanResults()
235 wrapper.flushPendingBatchResults(); in flushPendingScanResults()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java248 ViewGroup wrapper = new FrameLayout(parent.getContext()); in getView() local
249 wrapper.setLayoutParams(sWrapperLayoutParams); in getView()
250 wrapper.setBackgroundDrawable(mHighlightedDrawable); in getView()
251 wrapper.addView(result); in getView()
252 result = wrapper; in getView()
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/data-binding/samples/BindingDemo/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/data-binding/developmentPlugins/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/data-binding/integration-tests/TestApp/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists
/frameworks/data-binding/gradle/wrapper/
Dgradle-wrapper.properties3 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists

12345678910>>...53