/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | StandaloneActionMode.java | 37 private Context mContext; field in class:StandaloneActionMode 48 mContext = context; 70 setTitle(mContext.getString(resId)); 75 setSubtitle(mContext.getString(resId));
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | PopupMenu.java | 42 private Context mContext; field in class:PopupMenu 107 mContext = context; 199 return new SupportMenuInflater(mContext); 275 new MenuPopupHelper(mContext, subMenu, mAnchor).show();
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceManager.java | 43 private Context mContext; field in class:PreferenceManager 92 mContext = context; 196 mSharedPreferences = mContext.getSharedPreferences(mSharedPreferencesName, 382 return mContext;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AlertDialog.java | 295 return P.mContext; 304 P.mTitle = P.mContext.getText(titleId); 339 P.mMessage = P.mContext.getText(messageId); 386 P.mContext.getTheme().resolveAttribute(attrId, out, true); 399 P.mPositiveButtonText = P.mContext.getText(textId); 425 P.mNegativeButtonText = P.mContext.getText(textId); 451 P.mNeutralButtonText = P.mContext.getText(textId); 526 P.mItems = P.mContext.getResources().getTextArray(itemsId); 601 P.mItems = P.mContext.getResources().getTextArray(itemsId); 690 P.mItems = P.mContext [all...] |
/frameworks/base/core/java/android/net/ |
H A D | EthernetManager.java | 38 private final Context mContext; field in class:EthernetManager 79 mContext = context;
|
/frameworks/base/core/java/android/os/ |
H A D | PowerManager.java | 391 final Context mContext; field in class:PowerManager 401 mContext = context; 413 return mContext.getResources().getInteger( 424 return mContext.getResources().getInteger( 433 return mContext.getResources().getInteger( 465 * PowerManager pm = (PowerManager)mContext.getSystemService( 502 return new WakeLock(levelAndFlags, tag, mContext.getOpPackageName()); 661 mService.wakeUp(time, "wakeUp", mContext.getOpPackageName()); 671 mService.wakeUp(time, reason, mContext.getOpPackageName());
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | CarrierText.java | 99 setTransformationMethod(new CarrierTextTransformationMethod(mContext, useAllCaps)); 184 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { 195 boolean shouldMarquee = KeyguardUpdateMonitor.getInstance(mContext).isDeviceInteractive(); 202 if (ConnectivityManager.from(mContext).isNetworkSupported( 204 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); 246 mContext.getText(R.string.keyguard_network_locked_message), text); 299 !KeyguardUpdateMonitor.getInstance(mContext).isDeviceProvisioned() 367 return mContext.getText(carrierHelpTextId);
|
H A D | KeyguardSimPinView.java | 76 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); 146 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mUpdateMonitorCallback); 152 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mUpdateMonitorCallback); 212 mSimUnlockProgressDialog = new ProgressDialog(mContext); 214 mContext.getString(R.string.kg_sim_unlock_progress_dialog_message)); 226 Builder builder = new AlertDialog.Builder(mContext);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | FrameworkActionBarWrapper.java | 59 @NonNull protected BridgeContext mContext; field in class:FrameworkActionBarWrapper 86 mContext = context; 132 id = mContext.getFrameworkResourceValue(MENU, name, -1); 135 id = mContext.getProjectResourceValue(MENU, name, -1); 277 Resources res = mContext.getResources(); 336 return -FrameworkActionBar.getPixelValue("10dp", mContext.getMetrics()); 363 RenderResources res = mContext.getRenderResources(); 367 return ResourceHelper.getDrawable(value, mContext);
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 59 private Context mContext; field in class:GroupingListAdapter 117 mContext = context; 460 view = newStandAloneView(mContext, parent); 463 view = newGroupView(mContext, parent); 466 view = newChildView(mContext, parent); 474 bindStandAloneView(view, mContext, mCursor); 477 bindGroupView(view, mContext, mCursor, mPositionMetadata.childCount, 481 bindChildView(view, mContext, mCursor);
|
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentTabHost.java | 46 private Context mContext; field in class:FragmentTabHost 67 private final Context mContext; field in class:FragmentTabHost.DummyTabFactory 70 mContext = context; 75 View v = new View(mContext); 182 mContext = context; 190 mContext = context; 219 tabSpec.setContent(new DummyTabFactory(mContext)); 335 newTab.fragment = Fragment.instantiate(mContext,
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentTabHost.java | 54 private Context mContext; field in class:FragmentTabHost 75 private final Context mContext; field in class:FragmentTabHost.DummyTabFactory 78 mContext = context; 83 View v = new View(mContext); 190 mContext = context; 198 mContext = context; 227 tabSpec.setContent(new DummyTabFactory(mContext)); 343 newTab.fragment = Fragment.instantiate(mContext,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 122 private final Context mContext; field in class:WifiServiceImpl 194 ac.connect(mContext, this, msg.replyTo); 207 + mContext.getPackageManager().getNameForUid(msg.sendingUid)); 214 + mContext.getPackageManager().getNameForUid(msg.sendingUid)); 281 mWsmChannel.connect(mContext, this, mWifiStateMachine.getHandler()); 300 mWsmChannel.connect(mContext, this, mWifiStateMachine.getHandler()); 318 mContext = context; 322 mTrafficPoller = new WifiTrafficPoller(mContext, mInterfaceName); 323 mWifiStateMachine = new WifiStateMachine(mContext, mInterfaceName, mTrafficPoller); 328 mUserManager = UserManager.get(mContext); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dpSink.java | 125 private Context mContext; field in class:BluetoothA2dpSink 139 mContext.unbindService(mConnection); 164 mContext = context; 181 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); 183 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 206 mContext.unbindService(mConnection);
|
H A D | BluetoothAvrcpController.java | 66 private Context mContext; field in class:BluetoothAvrcpController 80 mContext.unbindService(mConnection); 106 mContext = context; 123 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); 125 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 148 mContext.unbindService(mConnection);
|
H A D | BluetoothPan.java | 120 private Context mContext; field in class:BluetoothPan 131 mContext = context; 145 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); 147 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 171 mContext.unbindService(mConnection); 208 mContext.unbindService(mConnection);
|
H A D | BluetoothPbap.java | 71 private final Context mContext; field in class:BluetoothPbap 121 mContext.unbindService(mConnection); 145 mContext = context; 161 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); 163 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 199 mContext.unbindService(mConnection);
|
H A D | BluetoothSap.java | 70 private final Context mContext; field in class:BluetoothSap 101 mContext.unbindService(mConnection); 126 mContext = context; 142 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); 144 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 181 mContext.unbindService(mConnection);
|
/frameworks/base/core/java/android/widget/ |
H A D | CursorTreeAdapter.java | 40 private Context mContext; field in class:CursorTreeAdapter 81 mContext = context; 203 v = newGroupView(mContext, cursor, isExpanded, parent); 207 bindGroupView(v, mContext, cursor, isExpanded); 247 v = newChildView(mContext, cursor, isLastChild, parent); 251 bindChildView(v, mContext, cursor, isLastChild);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
H A D | KeyguardViewMediator.java | 344 UserInfo info = UserManager.get(mContext).getUserInfo(userId); 568 mPM = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 570 mTrustManager = (TrustManager) mContext.getSystemService(Context.TRUST_SERVICE); 575 mContext.registerReceiver(mBroadcastReceiver, new IntentFilter(DELAYED_KEYGUARD_ACTION)); 577 mKeyguardDisplayManager = new KeyguardDisplayManager(mContext); 579 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 581 mUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); 583 mLockPatternUtils = new LockPatternUtils(mContext); 592 mStatusBarKeyguardViewManager = new StatusBarKeyguardViewManager(mContext, 594 final ContentResolver cr = mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDualTileLabel.java | 45 private final Context mContext; field in class:QSDualTileLabel 55 mContext = context; 58 mHorizontalPaddingPx = mContext.getResources() 63 final LinearLayout firstLineLayout = new LinearLayout(mContext); 69 mFirstLineCaret = new ImageView(mContext); 109 final TextView tv = new TextView(mContext);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | PreviewInflater.java | 45 private Context mContext; field in class:PreviewInflater 49 mContext = context; 71 KeyguardPreviewContainer container = new KeyguardPreviewContainer(mContext, null); 79 Context appContext = mContext.createPackageContext( 92 PackageManager packageManager = mContext.getPackageManager(); 121 PackageManager packageManager = mContext.getPackageManager();
|
/frameworks/base/test-runner/src/android/test/ |
H A D | AndroidTestRunner.java | 41 private Context mContext; field in class:AndroidTestRunner 87 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName); 186 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); 188 setContextIfAndroidTestCase(testCase, mContext, testContext); 203 mContext = context; 242 return mContext.getClassLoader().loadClass(suiteClassName);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | BridgeXmlPullAttributes.java | 35 private final BridgeContext mContext; field in class:BridgeXmlPullAttributes 41 mContext = context; 72 if (mContext.getLayoutlibCallback().getNamespace().equals(ns)) { 73 Integer v = mContext.getLayoutlibCallback().getResourceId(ResourceType.ATTR, name); 262 RenderResources resources = mContext.getRenderResources(); 276 id = mContext.getLayoutlibCallback().getResourceId(
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | CursorAdapter.java | 60 protected Context mContext; field in class:CursorAdapter 173 mContext = context; 252 v = newView(mContext, mCursor, parent); 256 bindView(v, mContext, mCursor); 266 v = newDropDownView(mContext, mCursor, parent); 270 bindView(v, mContext, mCursor);
|