/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/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/recents/ |
H A D | RecentsAppWidgetHostView.java | 26 private Context mContext; field in class:RecentsAppWidgetHostView 31 mContext = context; 46 return new View(mContext); 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 62 int orientation = mContext.getResources().getConfiguration().orientation;
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 31 private Context mContext; field in class:ActionBarPolicy 38 mContext = context; 42 return mContext.getResources().getInteger(R.integer.max_action_buttons); 50 return mContext.getResources().getDisplayMetrics().widthPixels / 2; 54 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; 56 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs); 61 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb); 65 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 68 Resources r = mContext.getResources(); 81 return mContext [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);
|
H A D | SecureSetting.java | 31 private final Context mContext; field in class:SecureSetting 42 mContext = context; 48 return Secure.getIntForUser(mContext.getContentResolver(), mSettingName, DEFAULT, mUserId); 52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId); 61 mContext.getContentResolver().registerContentObserver( 64 mContext.getContentResolver().unregisterContentObserver(this);
|
H A D | UsageTracker.java | 33 private final Context mContext; field in class:UsageTracker 42 mContext = context; 44 mTimeToShowTile = MILLIS_PER_DAY * mContext.getResources().getInteger(timeoutResource); 51 mContext.registerReceiver(mReceiver, new IntentFilter(mResetAction)); 54 mContext.unregisterReceiver(mReceiver); 60 long lastUsed = Prefs.getLong(mContext, mPrefKey, 0L /* defaultValue */); 65 Prefs.putLong(mContext, mPrefKey, System.currentTimeMillis()); 69 Prefs.remove(mContext, mPrefKey); 73 final SystemUIDialog d = new SystemUIDialog(mContext); 75 d.setMessage(mContext [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ActionBarPolicy.java | 35 private Context mContext; field in class:ActionBarPolicy 42 mContext = context; 46 return mContext.getResources().getInteger(R.integer.abc_max_action_buttons); 53 return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext)); 58 return mContext.getResources().getDisplayMetrics().widthPixels / 2; 62 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; 64 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs); 69 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs_pre_jb); 73 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 76 Resources r = mContext [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_exportable.h | 34 RSContext *mContext; member in class:slang::RSExportable 40 : mContext(Context), 53 inline bool isKeep() const { return (mContext == nullptr); } 57 inline RSContext *getRSContext() const { return mContext; }
|
H A D | slang_rs_exportable.cpp | 25 mContext = nullptr;
|
/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/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/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 | 28 private Context mContext; field in class:CurrentUserTracker 32 mContext = context; 53 mContext.registerReceiver(this, filter); 57 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/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(), 126 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | DrawFrameTask.cpp | 36 , mContext(nullptr) 45 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!"); 96 CanvasContext* context = mContext; 116 mContext->makeCurrent(); 117 Caches::getInstance().textureCache.resetMarkInUse(mContext); 120 mContext->processLayerUpdate(mLayers[i].get()); 123 mContext->prepareTree(info, mFrameInfo, mSyncQueued); 127 if (CC_UNLIKELY(!mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | AirplaneModeTile.java | 44 mSetting = new GlobalSetting(mContext, mHandler, Global.AIRPLANE_MODE_ON) { 59 MetricsLogger.action(mContext, getMetricsCategory(), !mState.value); 67 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 77 state.label = mContext.getString(R.string.airplane_mode); 80 state.contentDescription = mContext.getString( 84 state.contentDescription = mContext.getString( 97 return mContext.getString(R.string.accessibility_quick_settings_airplane_changed_on); 99 return mContext.getString(R.string.accessibility_quick_settings_airplane_changed_off); 109 mContext.registerReceiver(mReceiver, filter); 111 mContext [all...] |
H A D | UserDetailView.java | 47 mAdapter = new Adapter(mContext, controller); 58 private Context mContext; field in class:UserDetailView.Adapter 62 mContext = context; 69 mContext, convertView, parent); 73 String name = getName(mContext, item); 75 v.bind(name, getDrawable(mContext, item)); 88 MetricsLogger.action(mContext, MetricsLogger.QS_SWITCH_USER);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | MediaSizeUtils.java | 74 private final Context mContext; field in class:MediaSizeUtils.MediaSizeComparator 77 mContext = context; 82 String currentStandard = mContext.getString(R.string.mediasize_standard); 83 String lhsStandard = getStandardForMediaSize(mContext, lhs); 84 String rhsStandard = getStandardForMediaSize(mContext, rhs); 100 return lhs.getLabel(mContext.getPackageManager()). 101 compareTo(rhs.getLabel(mContext.getPackageManager()));
|