/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsApplication.java | 40 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/ |
D | RsBench.java | 107 Toast.makeText(getApplicationContext(), in onOptionsItemSelected() 123 Toast.makeText(getApplicationContext(), in onOptionsItemSelected()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcManager.java | 48 context = context.getApplicationContext(); in NfcManager()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationService.java | 29 mProvider = new FusedLocationProvider(getApplicationContext()); in onBind()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | AvgBrightnessFilterTest.java | 36 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
D | ContrastRatioFilterTest.java | 43 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
D | ExposureFilterTest.java | 41 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
D | IfElseFilterTest.java | 46 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MffContext.java | 243 public Context getApplicationContext() { in getApplicationContext() method in MffContext 343 mApplicationContext = context.getApplicationContext(); in init()
|
D | MotionSensor.java | 54 mSensorManager = (SensorManager)getContext().getApplicationContext() in onPrepare()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptC.java | 105 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 114 Context ctx = context.getApplicationContext(); in Camera2Source() 117 mRS = RenderScript.create(context.getApplicationContext()); in Camera2Source()
|
D | MotionSensorWTime.java | 60 mSensorManager = (SensorManager)getContext().getApplicationContext() in onPrepare()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase2.java | 93 public Context getApplicationContext() { in getApplicationContext() method in ProviderTestCase2.MockContext2
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothManager.java | 57 context = context.getApplicationContext(); in BluetoothManager()
|
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/ |
D | AnimatedGifTest.java | 101 Toast.makeText(getApplicationContext(), in onResume()
|
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/ |
D | DrawerActivity.java | 50 getApplicationContext(), R.layout.drawer_row, R.id.drawer_row_name, DRAWER_CONTENTS); in onCreate()
|
/frameworks/base/docs/html/training/volley/ |
D | requestqueue.jd | 177 // 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/ |
D | Loader.java | 92 mContext = context.getApplicationContext(); in Loader()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | CompareActivity.java | 70 mErrorCalculator = new ErrorCalculator(getApplicationContext(), getResources()); in onCreateCommon()
|
/frameworks/base/core/java/android/content/ |
D | Context.java | 335 public abstract Context getApplicationContext(); in getApplicationContext() method in Context 348 getApplicationContext().registerComponentCallbacks(callback); in registerComponentCallbacks() 356 getApplicationContext().unregisterComponentCallbacks(callback); in unregisterComponentCallbacks()
|
D | Loader.java | 132 mContext = context.getApplicationContext(); in Loader()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NetInitiatedActivity.java | 89 Context context = getApplicationContext(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingStackFromBottomTest.java | 46 final Context context = mActivity.getApplicationContext(); in setUp()
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 55 TransformView view = new TransformView(getApplicationContext()); in onCreate()
|