Home
last modified time | relevance | path

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

123

/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/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBench.java107 Toast.makeText(getApplicationContext(), in onOptionsItemSelected()
123 Toast.makeText(getApplicationContext(), in onOptionsItemSelected()
/frameworks/base/core/java/android/nfc/
DNfcManager.java48 context = context.getApplicationContext(); in NfcManager()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationService.java29 mProvider = new FusedLocationProvider(getApplicationContext()); in onBind()
/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()
DIfElseFilterTest.java46 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
/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/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptC.java105 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
/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()
DMotionSensorWTime.java60 mSensorManager = (SensorManager)getContext().getApplicationContext() in onPrepare()
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java93 public Context getApplicationContext() { in getApplicationContext() method in ProviderTestCase2.MockContext2
/frameworks/base/core/java/android/bluetooth/
DBluetoothManager.java57 context = context.getApplicationContext(); in BluetoothManager()
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
DAnimatedGifTest.java101 Toast.makeText(getApplicationContext(), in onResume()
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
DDrawerActivity.java50 getApplicationContext(), R.layout.drawer_row, R.id.drawer_row_name, DRAWER_CONTENTS); in onCreate()
/frameworks/base/docs/html/training/volley/
Drequestqueue.jd177 // getApplicationContext() is key, it keeps you from leaking the
179 mRequestQueue = Volley.newRequestQueue(mCtx.getApplicationContext());
198 RequestQueue queue = MySingleton.getInstance(this.getApplicationContext()).
/frameworks/support/v4/java/android/support/v4/content/
DLoader.java92 mContext = context.getApplicationContext(); in Loader()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DCompareActivity.java70 mErrorCalculator = new ErrorCalculator(getApplicationContext(), getResources()); in onCreateCommon()
/frameworks/base/core/java/android/content/
DContext.java335 public abstract Context getApplicationContext(); in getApplicationContext() method in Context
348 getApplicationContext().registerComponentCallbacks(callback); in registerComponentCallbacks()
356 getApplicationContext().unregisterComponentCallbacks(callback); in unregisterComponentCallbacks()
DLoader.java132 mContext = context.getApplicationContext(); in Loader()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java89 Context context = getApplicationContext(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingStackFromBottomTest.java46 final Context context = mActivity.getApplicationContext(); in setUp()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java55 TransformView view = new TransformView(getApplicationContext()); in onCreate()

123