/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
H A D | MffEnvironment.java | 34 private FilterContext mContext; field in class:MffEnvironment 50 mContext = new FilterContext(); 51 mContext.setFrameManager(frameManager); 59 return mContext; 67 mContext.initGLEnvironment(glEnvironment); 85 GLEnvironment glEnv = mContext.getGLEnvironment(); 87 mContext.getGLEnvironment().activate(); 99 GLEnvironment glEnv = mContext.getGLEnvironment(); 101 mContext.getGLEnvironment().deactivate();
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | ServiceIntentSender.java | 27 private Context mContext; field in class:ServiceIntentSender 30 mContext = context; 35 intent.setComponent(new ComponentName(mContext, MtpDocumentsService.class)); 36 mContext.startService(intent);
|
/frameworks/support/core-utils/java/android/support/v4/provider/ |
H A D | SingleDocumentFile.java | 24 private Context mContext; field in class:SingleDocumentFile 29 mContext = context; 50 return DocumentsContractApi19.getName(mContext, mUri); 55 return DocumentsContractApi19.getType(mContext, mUri); 60 return DocumentsContractApi19.isDirectory(mContext, mUri); 65 return DocumentsContractApi19.isFile(mContext, mUri); 70 return DocumentsContractApi19.lastModified(mContext, mUri); 75 return DocumentsContractApi19.length(mContext, mUri); 80 return DocumentsContractApi19.canRead(mContext, mUri); 85 return DocumentsContractApi19.canWrite(mContext, mUr [all...] |
H A D | TreeDocumentFile.java | 23 private Context mContext; field in class:TreeDocumentFile 28 mContext = context; 34 final Uri result = DocumentsContractApi21.createFile(mContext, mUri, mimeType, displayName); 35 return (result != null) ? new TreeDocumentFile(this, mContext, result) : null; 40 final Uri result = DocumentsContractApi21.createDirectory(mContext, mUri, displayName); 41 return (result != null) ? new TreeDocumentFile(this, mContext, result) : null; 51 return DocumentsContractApi19.getName(mContext, mUri); 56 return DocumentsContractApi19.getType(mContext, mUri); 61 return DocumentsContractApi19.isDirectory(mContext, mUri); 66 return DocumentsContractApi19.isFile(mContext, mUr [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RotationLockControllerImpl.java | 28 private final Context mContext; field in class:RotationLockControllerImpl 41 mContext = context; 55 return RotationPolicy.getRotationLockOrientation(mContext); 59 return RotationPolicy.isRotationLocked(mContext); 63 RotationPolicy.setRotationLock(mContext, locked); 67 return RotationPolicy.isRotationLockToggleVisible(mContext); 73 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener, 76 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); 87 callback.onRotationLockStateChanged(RotationPolicy.isRotationLocked(mContext), 88 RotationPolicy.isRotationLockToggleVisible(mContext)); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | GlobalSetting.java | 28 private final Context mContext; field in class:GlobalSetting 35 mContext = context; 40 return Global.getInt(mContext.getContentResolver(), mSettingName, 0); 44 Global.putInt(mContext.getContentResolver(), mSettingName, value); 50 mContext.getContentResolver().registerContentObserver( 53 mContext.getContentResolver().unregisterContentObserver(this);
|
/frameworks/compile/slang/ |
H A D | slang_rs_exportable.h | 35 RSContext *mContext; member in class:slang::RSExportable 41 : mContext(Context), 54 inline bool isKeep() const { return (mContext == nullptr); } 58 inline RSContext *getRSContext() const { return mContext; }
|
H A D | slang_rs_exportable.cpp | 25 mContext = nullptr;
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 32 private Context mContext; field in class:ActionBarPolicy 39 mContext = context; 48 final Configuration config = mContext.getResources().getConfiguration(); 70 return mContext.getResources().getDisplayMetrics().widthPixels / 2; 74 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; 76 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs); 81 final Configuration configuration = mContext.getResources().getConfiguration(); 89 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 92 Resources r = mContext.getResources(); 105 return mContext [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | CreateViewTest.java | 41 new CreateViewTest.ViewOne(mContext); 46 LinearLayout vert = new LinearLayout(mContext); 47 vert.addView(new CreateViewTest.ViewOne(mContext), 53 LinearLayout vert = new LinearLayout(mContext); 55 ViewOne one = new ViewOne(mContext); 58 ViewOne two = new ViewOne(mContext); 61 ViewOne three = new ViewOne(mContext); 64 ViewOne four = new ViewOne(mContext); 67 ViewOne five = new ViewOne(mContext); 70 ViewOne six = new ViewOne(mContext); [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerProvider.java | 26 private final Context mContext; field in class:PrintSpoolerProvider 32 mContext = context; 34 Intent intent = new Intent(mContext, PrintSpoolerService.class); 35 mContext.bindService(intent, this, 0); 44 mContext.unbindService(this);
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | FullBackupTest.java | 42 private Context mContext; field in class:FullBackupTest 51 mContext = getContext(); 63 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); 72 new File(mContext.getFilesDir(), "onlyInclude.txt").getCanonicalPath(), 82 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); 88 new File(mContext.getFilesDir(), "onlyExclude.txt").getCanonicalPath(), 99 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); 105 new File(mContext.getFilesDir(), "include.txt").getCanonicalPath(), 110 new File(mContext.getFilesDir(), "exclude.txt").getCanonicalPath(), 128 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); [all...] |
/frameworks/support/compat/tests/java/android/support/v4/content/ |
H A D | ContextCompatTest.java | 37 private Context mContext; field in class:ContextCompatTest 45 mContext = mActivityTestRule.getActivity(); 51 ContextCompat.getColor(mContext, R.color.text_color)); 57 ContextCompat.getColor(mContext, R.color.simple_themed_selector), 65 ContextCompat.getColorStateList(mContext, R.color.complex_unthemed_selector); 79 ContextCompat.getColorStateList(mContext, R.color.complex_themed_selector); 94 ContextCompat.getDrawable(mContext, R.drawable.test_drawable_red); 96 unthemedDrawable, mContext.getResources().getColor(R.color.test_red)); 102 ContextCompat.getDrawable(mContext, R.drawable.themed_drawable); 111 mContext [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
H A D | HapticFeedbackController.java | 23 private final Context mContext; field in class:HapticFeedbackController 31 mContext = context; 35 mIsGloballyEnabled = checkGlobalSetting(mContext); 44 mVibrator = (Vibrator) mContext.getSystemService(Service.VIBRATOR_SERVICE); 47 mIsGloballyEnabled = checkGlobalSetting(mContext); 49 mContext.getContentResolver().registerContentObserver(uri, false, mContentObserver); 57 mContext.getContentResolver().unregisterContentObserver(mContentObserver);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemInflater.java | 34 private final Context mContext; field in class:ItemInflater 38 mContext = context; 53 return mContext;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | AsyncEmergencyContactNotifier.java | 33 private final Context mContext; field in class:AsyncEmergencyContactNotifier 36 mContext = context; 42 BlockedNumberContract.SystemContract.notifyEmergencyContact(mContext);
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
H A D | MediaNowPlayingViewTest.java | 34 private Context mContext; field in class:MediaNowPlayingViewTest 38 mContext = InstrumentationRegistry.getTargetContext(); 43 new MediaNowPlayingView(mContext, null);
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
H A D | InstrumentationUiAutomatorBridge.java | 32 private final Context mContext; field in class:InstrumentationUiAutomatorBridge 36 mContext = context; 41 mContext.getSystemService(Service.WINDOW_SERVICE); 53 mContext.getSystemService(Service.POWER_SERVICE);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | MetaDataTest.java | 59 XmlResourceParser xml = ci.loadXmlMetaData(mContext.getPackageManager(), 88 TypedArray a = mContext.obtainStyledAttributes(xml, 99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); 100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); 112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); 113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); 125 ComponentName cn = new ComponentName(mContext, LocalService.class); 126 ServiceInfo si = mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | CurrentUserTracker.java | 27 private Context mContext; field in class:CurrentUserTracker 31 mContext = context; 52 mContext.registerReceiver(this, filter); 56 mContext.unregisterReceiver(this);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/ |
H A D | BridgeMenuItemImpl.java | 35 private BridgeContext mContext; field in class:BridgeMenuItemImpl 46 mContext = ((BridgeContext) context); 58 if (actionView != null && mContext != null) { 59 mContext.addViewKey(actionView, viewCookie);
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareService.java | 35 private Context mContext; field in class:GeofenceHardwareService 39 mContext = this; 40 mGeofenceHardwareImpl = GeofenceHardwareImpl.getInstance(mContext); 80 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 88 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 99 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 107 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 116 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 125 mContext.enforceCallingPermission(Manifest.permission.LOCATION_HARDWARE, 135 mContext [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | DrawFrameTask.cpp | 34 , mContext(nullptr) 44 mContext = context; 49 LOG_ALWAYS_FATAL_IF(!mContext, "Lifecycle violation, there's no context to pushLayerUpdate with!"); 69 LOG_ALWAYS_FATAL_IF(!mContext, "Cannot drawFrame with no CanvasContext!"); 91 TreeInfo info(TreeInfo::MODE_FULL, *mContext); 98 CanvasContext* context = mContext; 121 bool canDraw = mContext->makeCurrent(); 122 Caches::getInstance().textureCache.resetMarkInUse(mContext); 128 mContext->prepareTree(info, mFrameInfo, mSyncQueued, mTargetNode); 132 if (CC_UNLIKELY(!mContext [all...] |
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | TemplateLayoutTest.java | 30 private Context mContext; field in class:TemplateLayoutTest 35 mContext = getInstrumentation().getContext(); 40 TemplateLayout layout = new TemplateLayout(mContext, R.layout.test_template, 42 TextView tv = new TextView(mContext); 51 LayoutInflater inflater = LayoutInflater.from(mContext); 60 TemplateLayout layout = new TemplateLayout(mContext, R.layout.test_template, 65 TextView tv = new TextView(mContext); 78 new TemplateLayout(mContext, 0, 0);
|
/frameworks/base/core/java/com/android/internal/hardware/ |
H A D | AmbientDisplayConfiguration.java | 27 private final Context mContext; field in class:AmbientDisplayConfiguration 30 mContext = context; 58 return mContext.getResources().getBoolean(R.bool.config_dozePulsePickup) 72 return mContext.getResources().getString(R.string.config_dozeDoubleTapSensorType); 76 return mContext.getResources().getString(R.string.config_dozeComponent); 84 return Settings.Secure.getIntForUser(mContext.getContentResolver(), name, 1, user) != 0;
|