/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/v4/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/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionBarPolicy.java | 38 private Context mContext; field in class:ActionBarPolicy 45 mContext = context; 54 final Resources res = mContext.getResources(); 79 return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext)); 84 return mContext.getResources().getDisplayMetrics().widthPixels / 2; 88 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs); 92 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 95 Resources r = mContext.getResources(); 108 return mContext.getApplicationInfo().targetSdkVersion < 113 return mContext [all...] |
/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/base/core/java/android/content/pm/ |
H A D | ShortcutManager.java | 97 private final Context mContext; field in class:ShortcutManager 104 mContext = context; 130 return mService.setDynamicShortcuts(mContext.getPackageName(), 144 return mService.getDynamicShortcuts(mContext.getPackageName(), injectMyUserId()) 164 return mService.addDynamicShortcuts(mContext.getPackageName(), 176 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, 188 mService.removeAllDynamicShortcuts(mContext.getPackageName(), injectMyUserId()); 200 return mService.getPinnedShortcuts(mContext.getPackageName(), injectMyUserId()) 216 return mService.updateShortcuts(mContext.getPackageName(), 228 return mService.getMaxDynamicShortcutCount(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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | ApnSettingTest.java | 216 isMetered(mContext, 1, isRoaming)); 220 isMetered(mContext, 1, isRoaming)); 224 isMetered(mContext, 1, isRoaming)); 228 isMetered(mContext, 1, isRoaming)); 232 isMetered(mContext, 1, isRoaming)); 236 isMetered(mContext, 1, isRoaming)); 240 isMetered(mContext, 1, isRoaming)); 244 isMetered(mContext, 1, isRoaming)); 248 mContext, 1, isRoaming)); 250 mContext, [all...] |
/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; 118 bool canDraw = mContext->makeCurrent(); 119 Caches::getInstance().textureCache.resetMarkInUse(mContext); 125 mContext->prepareTree(info, mFrameInfo, mSyncQueued, mTargetNode); 129 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);
|