Home
last modified time | relevance | path

Searched refs:getApplicationContext (Results 1 – 25 of 149) sorted by relevance

123456

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptC.java118 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
127 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalStringCreate()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java40 return ((DocumentsApplication) context.getApplicationContext()).mRoots; in getRootsCache()
44 final DocumentsApplication app = (DocumentsApplication) context.getApplicationContext(); in getThumbnailsCache()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DMainActivity.java50 … RenderScript renderScript = RenderScript.create(getApplicationContext(), RS_API); in onCreate()
80 RenderScript renderScript = RenderScript.create(getApplicationContext(), RS_API); in onCreate()
181 Context context = getApplicationContext(); in getResourceRef()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestApplication.java27 TestApplication.context = getApplicationContext(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/component/
DScreenPinningRequestEvent.java32 this.applicationContext = context.getApplicationContext(); in ScreenPinningRequestEvent()
DRecentsVisibilityChangedEvent.java33 this.applicationContext = context.getApplicationContext(); in RecentsVisibilityChangedEvent()
/frameworks/base/core/java/android/nfc/
DNfcManager.java48 context = context.getApplicationContext(); in NfcManager()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java246 this, getApplicationContext(), this, id, stack, srcs); in createJob()
249 this, getApplicationContext(), this, id, stack, srcs, in createJob()
253 this, getApplicationContext(), this, id, stack, srcs, in createJob()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationService.java29 mProvider = new FusedLocationProvider(getApplicationContext()); in onBind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java206 if (context.getApplicationContext() instanceof SystemUIApplication) { in get()
207 SystemUIApplication sysUi = (SystemUIApplication) context.getApplicationContext(); in get()
220 sInstance.mContext = context.getApplicationContext(); in getStaticService()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMffContext.java243 public Context getApplicationContext() { in getApplicationContext() method in MffContext
343 mApplicationContext = context.getApplicationContext(); in init()
DMotionSensor.java54 mSensorManager = (SensorManager)getContext().getApplicationContext() in onPrepare()
/frameworks/support/compat/kitkat/android/support/v4/app/
DNotificationManagerCompatKitKat.java33 String pkg = context.getApplicationContext().getPackageName(); in areNotificationsEnabled()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DAvgBrightnessFilterTest.java36 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
DContrastRatioFilterTest.java43 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
DExposureFilterTest.java41 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsConfiguration.java70 Context appContext = context.getApplicationContext(); in RecentsConfiguration()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java83 MediaStoreSaver.savePNG(mBitmap, "sharpF32", name, renderScript.getApplicationContext()); in extractSharpImage()
96 MediaStoreSaver.savePNG(mBitmap, "fuzzyF32", name, renderScript.getApplicationContext()); in extractFuzzyImage()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java85 MediaStoreSaver.savePNG(mBitmap, "sharpd1new", name, renderScript.getApplicationContext()); in extractSharpImage()
98 MediaStoreSaver.savePNG(mBitmap, "fuzzyd1new", name, renderScript.getApplicationContext()); in extractFuzzyImage()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java37 final Context context = view.getContext().getApplicationContext(); in announceForAccessibility()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothManager.java57 Context appContext = context.getApplicationContext(); in getInstance()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java54 getApplicationContext().sendBroadcast(customIntent); in onCreate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractMediaListHeaderPresenter.java73 mContext = new ContextThemeWrapper(context.getApplicationContext(), mThemeResId); in AbstractMediaListHeaderPresenter()
/frameworks/base/docs/html/training/volley/
Drequestqueue.jd154 // getApplicationContext() is key, it keeps you from leaking the
156 mRequestQueue = Volley.newRequestQueue(mCtx.getApplicationContext());
175 RequestQueue queue = MySingleton.getInstance(this.getApplicationContext()).
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java114 Context ctx = context.getApplicationContext(); in Camera2Source()
117 mRS = RenderScript.create(context.getApplicationContext()); in Camera2Source()

123456