/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 66 context = getContext(); 149 getContext(), R.attr.mediaRouteOffDrawable)); 152 mAdapter = new RouteAdapter(getContext(), mRoutes);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 179 mCr = phone.getContext().getContentResolver(); 183 mCdmaSSM = CdmaSubscriptionSourceManager.getInstance(phone.getContext(), mCi, this, 189 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE); 219 mHbpcdUtils = new HbpcdUtils(phone.getContext()); 275 Settings.Global.putInt(mPhone.getContext().getContentResolver(), 278 log("Read from settings: " + Settings.Global.getInt(mPhone.getContext().getContentResolver(), 605 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 939 int[] intRoamingIndicators = mPhone.getContext().getResources().getIntArray( 995 String numeric = ((TelephonyManager) mPhone.getContext(). 1225 (TelephonyManager) mPhone.getContext() [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContextView.java | 120 getContext().getResources().getDisplayMetrics().widthPixels, true); 176 LayoutInflater inflater = LayoutInflater.from(getContext()); 234 getContext().getResources().getDisplayMetrics().widthPixels, true); 297 return new MarginLayoutParams(getContext(), attrs); 424 event.setPackageName(getContext().getPackageName());
|
H A D | ScrollingTabContainerView.java | 195 final LinearLayout tabLayout = new LinearLayout(getContext(), null, 205 final Spinner spinner = new Spinner(getContext(), null, 217 ActionBarPolicy abp = ActionBarPolicy.get(getContext()); 437 ImageView iconView = new ImageView(getContext()); 455 TextView textView = new TextView(getContext(), null, 489 final Context context = getContext();
|
H A D | ExploreByTouchHelper.java | 100 mContext = forView.getContext(); 303 event.setPackageName(mView.getContext().getPackageName()); 422 node.setPackageName(mView.getContext().getPackageName());
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
H A D | MemoryUsageTest.java | 113 ResolveInfo resolveInfo = getInstrumentation().getContext(). 156 PackageManager pm = getInstrumentation().getContext() 206 getInstrumentation().getContext().startActivity(homeIntent); 265 .getContext().getSystemService(Context.ACTIVITY_SERVICE); 286 .getContext().getSystemService(Context.ACTIVITY_SERVICE);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | SetupWizardLayout.java | 91 final TypedArray a = getContext().obtainStyledAttributes(attrs, 186 final LayoutInflater inflater = LayoutInflater.from(getContext()); 359 getContext().getResources().getDrawable(backgroundTile); 371 final Context context = getContext(); 379 final Context context = getContext();
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 346 getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { 390 getContext()); 678 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 696 Context context = getContext(); 756 st.decorView.setWindowBackground(getContext().getDrawable( 810 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 986 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 1026 AudioManager audioManager = (AudioManager) getContext().getSystemService( 1163 (!ViewConfiguration.get(getContext()).hasPermanentMenuKey() || 1223 Context context = getContext(); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AppSecurityPermissions.java | 154 PackageManager pm = getContext().getPackageManager(); 157 icon = grp.loadGroupIcon(getContext(), pm); 186 PackageManager pm = getContext().getPackageManager(); 187 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); 200 sbuilder.append(getContext().getString( 207 builder.setIcon(mGroup.loadGroupIcon(getContext(), pm)); 237 PackageManager pm = getContext().getPackageManager();
|
H A D | SearchView.java | 156 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 611 hint = getContext().getText(mSearchable.getHintId()); 805 return getContext().getResources() 834 ResolveInfo ri = getContext().getPackageManager().resolveActivity(testIntent, 908 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 1165 mSuggestionsAdapter = new SuggestionsAdapter(getContext(), 1271 getContext().startActivity(webSearchIntent); 1275 getContext().startActivity(appSearchIntent); 1334 Resources res = getContext().getResources(); 1466 getContext() [all...] |
H A D | ArrayAdapter.java | 329 public Context getContext() { method in class:ArrayAdapter 432 } else if (theme == mInflater.getContext().getTheme()) { 442 return mDropDownInflater == null ? null : mDropDownInflater.getContext().getTheme();
|
H A D | QuickContactBadge.java | 297 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, mContactUri, 383 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, mContactUri, 392 getContext().startActivity(intent);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 105 mStorageManager = (StorageManager) getContext().getSystemService(Context.STORAGE_SERVICE); 133 title = getContext().getString(R.string.root_internal_storage); 184 getContext().getContentResolver().notifyChange(BASE_URI, null, false); 392 final ContentResolver resolver = getContext().getContentResolver(); 483 getContext().sendBroadcast(intent); 547 file, getContext().getContentResolver(), notifyUri); 611 setNotificationUri(getContext().getContentResolver(), notifyUri);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 175 final Intent sticky = getContext().registerReceiver(mTracker, filter); 178 mTracker.onReceive(getContext(), sticky); 181 getContext().getContentResolver().registerContentObserver( 189 getContext().unregisterReceiver(mTracker); 191 getContext().getContentResolver().unregisterContentObserver(mSettingObserver); 234 mShowPercent = 0 != Settings.System.getInt(getContext().getContentResolver(), 515 getContext().sendBroadcast(dummy);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ScrollingTabContainerView.java | 203 final LinearLayoutCompat tabLayout = new LinearLayoutCompat(getContext(), null, 213 final Spinner spinner = new AppCompatSpinner(getContext(), null, 227 ActionBarPolicy abp = ActionBarPolicy.get(getContext()); 292 final TabView tabView = new TabView(getContext(), tab, forAdapter); 475 ImageView iconView = new ImageView(getContext()); 493 TextView textView = new AppCompatTextView(getContext(), null, 527 final Context context = getContext();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 176 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 632 hint = getContext().getText(mSearchable.getHintId()); 818 return getContext().getResources() 848 ResolveInfo ri = getContext().getPackageManager().resolveActivity(testIntent, 922 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 1099 mSuggestionsAdapter = new SuggestionsAdapter(getContext(), 1206 getContext().startActivity(webSearchIntent); 1210 getContext().startActivity(appSearchIntent); 1265 Resources res = getContext().getResources(); 1397 getContext() [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTracker.java | 160 p.getContext().getContentResolver().registerContentObserver( 170 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone); 217 mPhone.getContext().unregisterReceiver(mProvisionBroadcastReceiver); 229 mPhone.getContext().getContentResolver().unregisterContentObserver(mApnObserver); 405 ApnContext apnContext = new ApnContext(mPhone.getContext(), type, LOG_TAG, networkConfig, 415 String[] networkConfigStrings = mPhone.getContext().getResources().getStringArray( 1118 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); 1404 int[] singleDcRats = mPhone.getContext().getResources().getIntArray( 1474 PendingIntent alarmIntent = PendingIntent.getBroadcast (mPhone.getContext(), 0, 1490 PendingIntent alarmIntent = PendingIntent.getBroadcast (mPhone.getContext(), [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 215 MetricsLogger.count(getContext(), "egg_mland_create", 1); 314 LayoutInflater.from(getContext()).inflate(R.layout.mland_scorefield, null); 416 final Star sun = new Star(getContext()); 435 final Star moon = new Star(getContext()); 454 s = new Star(getContext()); 456 s = new Cloud(getContext()); 460 s = new Mountain(getContext()); 463 s = new Cactus(getContext()); 467 s = new Building(getContext()); 597 MetricsLogger.histogram(getContext(), "egg_mland_player [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBottomAreaView.java | 202 mUnlockMethodCache = UnlockMethodCache.getInstance(getContext()); 323 (DevicePolicyManager) getContext().getSystemService(Context.DEVICE_POLICY_SERVICE); 342 getContext().registerReceiverAsUser(mDevicePolicyReceiver, 399 if (getContext().bindServiceAsUser(serviceIntent, mPrewarmConnection, 439 null, getContext().getBasePackageName(), 441 intent.resolveTypeIfNeeded(getContext().getContentResolver()),
|
H A D | NavigationBarView.java | 179 final Resources res = getContext().getResources(); 269 getIcons(getContext().getResources()); 290 android.widget.Toast.makeText(getContext(), 406 WindowManager wm = (WindowManager)getContext().getSystemService(Context.WINDOW_SERVICE); 422 WindowManager wm = (WindowManager)getContext().getSystemService(Context.WINDOW_SERVICE); 608 final android.content.res.Resources res = getContext().getResources();
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsCreateFragment.java | 85 final Context context = inflater.getContext(); 162 final ContentResolver resolver = getContext().getContentResolver(); 211 final Context context = parent.getContext();
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardHostView.java | 323 mTelephonyManager = (TelephonyManager) getContext().getSystemService( 349 mAudioManager = (AudioManager) getContext().getSystemService( 392 mAudioManager = (AudioManager) getContext().getSystemService(
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | SettingsProviderTest.java | 258 final int insertCount = getContext().getContentResolver().bulkInsert(uri, allValues); 365 ContentResolver contentResolver = getContext().getContentResolver(); 419 Cursor cursor = getContext().getContentResolver().query(uri, NAME_VALUE_COLUMNS,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 170 BridgeContext context = getContext(); 181 IWindowManager iwm = new IWindowManagerImpl(getContext().getConfiguration(), 210 BridgeContext context = getContext(); 220 view = Preference_Delegate.inflatePreference(getContext(), mBlockParser, 493 BridgeContext context = getContext(); 551 BridgeContext context = getContext(); 905 BridgeContext context = getContext(); 1040 BridgeContext context = getContext(); 1126 return new LinearLayout(getContext()); 1263 getContext() [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ExploreByTouchHelper.java | 98 final Context context = forView.getContext(); 304 event.setPackageName(mView.getContext().getPackageName()); 416 node.setPackageName(mView.getContext().getPackageName());
|