/frameworks/webview/chromium/tests/UbWebViewJankTests/src/com/android/webview/chromium/tests/jank/ |
H A D | WebViewFlingTest.java | 82 getInstrumentation().getContext().startActivity(intent);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardMessageArea.java | 102 mMessageArea.mMessage = mMessageArea.getContext().getResources().getText(resId); 109 mMessageArea.mMessage = mMessageArea.getContext().getString(resId, formatArgs); 152 mUpdateMonitor = KeyguardUpdateMonitor.getInstance(getContext());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccPhoneBookInterfaceManager.java | 163 if (mPhone.getContext().checkCallingOrSelfPermission( 215 if (mPhone.getContext().checkCallingOrSelfPermission( 263 if (mPhone.getContext().checkCallingOrSelfPermission(
|
H A D | IccSmsInterfaceManager.java | 130 mContext = phone.getContext(); 347 mPhone.getContext().enforceCallingPermission( 390 mPhone.getContext().enforceCallingPermission( 456 mPhone.getContext().enforceCallingPermission( 600 Context context = mPhone.getContext(); 627 Context context = mPhone.getContext(); 654 Context context = mPhone.getContext(); 681 Context context = mPhone.getContext(); 879 mPhone.getContext().enforceCallingPermission(Manifest.permission.SEND_SMS, 889 final ContentResolver resolver = mPhone.getContext() [all...] |
/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 | 175 mCr = phone.getContext().getContentResolver(); 179 mCdmaSSM = CdmaSubscriptionSourceManager.getInstance(phone.getContext(), mCi, this, 185 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE); 209 mHbpcdUtils = new HbpcdUtils(phone.getContext()); 265 Settings.Global.putInt(mPhone.getContext().getContentResolver(), 268 log("Read from settings: " + Settings.Global.getInt(mPhone.getContext().getContentResolver(), 588 mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 927 int[] intRoamingIndicators = mPhone.getContext().getResources().getIntArray( 983 String numeric = ((TelephonyManager) mPhone.getContext(). 1174 (TelephonyManager) mPhone.getContext() [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 331 getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { 375 getContext()); 660 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 678 Context context = getContext(); 738 st.decorView.setWindowBackground(getContext().getDrawable( 792 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 968 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 1008 AudioManager audioManager = (AudioManager) getContext().getSystemService( 1145 (!ViewConfiguration.get(getContext()).hasPermanentMenuKey() || 1205 Context context = getContext(); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SearchView.java | 155 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 600 hint = getContext().getString(hintId); 794 return getContext().getResources() 823 ResolveInfo ri = getContext().getPackageManager().resolveActivity(testIntent, 897 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 1124 hint = getContext().getString(hintId); 1166 mSuggestionsAdapter = new SuggestionsAdapter(getContext(), 1272 getContext().startActivity(webSearchIntent); 1276 getContext().startActivity(appSearchIntent); 1342 Resources res = getContext() [all...] |
H A D | Editor.java | 318 LayoutInflater inflater = LayoutInflater.from(mTextView.getContext()); 363 mTextView.mDrawables = dr = new Drawables(mTextView.getContext()); 1691 mCursorDrawable[cursorIndex] = mTextView.getContext().getDrawable( 1797 TextView shadowView = (TextView) View.inflate(mTextView.getContext(), 1810 shadowView.setTextAppearance(mTextView.getContext(), R.styleable.Theme_textAppearanceLarge); 1841 content.append(item.coerceToStyledText(mTextView.getContext())); 2017 pendingIntent.send(mTextView.getContext(), 0, intent); 2051 mPopupWindow = new PopupWindow(mTextView.getContext(), null, 2059 LinearLayout linearLayout = new LinearLayout(mTextView.getContext()); 2065 LayoutInflater inflater = (LayoutInflater)mTextView.getContext() [all...] |
H A D | QuickContactBadge.java | 289 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, mContactUri, 382 QuickContact.showQuickContact(getContext(), QuickContactBadge.this, lookupUri, 391 getContext().startActivity(intent);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.cpp | 429 if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { 728 if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { 806 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null in allocations"); 810 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null out allocations"); 829 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null allocations"); 835 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, 923 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null in allocations"); 930 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null out allocations"); 944 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, 959 mCtx->getContext() [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 170 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 608 hint = getContext().getString(hintId); 794 return getContext().getResources() 825 ResolveInfo ri = getContext().getPackageManager().resolveActivity(testIntent, 889 getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 1038 hint = getContext().getString(hintId); 1080 mSuggestionsAdapter = new SuggestionsAdapter(getContext(), 1187 getContext().startActivity(webSearchIntent); 1191 getContext().startActivity(appSearchIntent); 1246 Resources res = getContext() [all...] |
/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/base/core/java/com/android/internal/widget/ |
H A D | ScrollingTabContainerView.java | 194 final LinearLayout tabLayout = new LinearLayout(getContext(), null, 204 final Spinner spinner = new Spinner(getContext(), null, 216 ActionBarPolicy abp = ActionBarPolicy.get(getContext()); 280 final TabView tabView = new TabView(getContext(), tab, forAdapter); 444 ImageView iconView = new ImageView(getContext()); 462 TextView textView = new TextView(getContext(), null, 496 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());
|
H A D | DecorToolbar.java | 43 Context getContext(); method in interface:DecorToolbar
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 104 mStorageManager = (StorageManager) getContext().getSystemService(Context.STORAGE_SERVICE); 157 root.title = getContext().getString(R.string.root_internal_storage); 163 root.title = volume.getDescription(getContext()); 176 getContext().getContentResolver() 508 getContext().sendBroadcast(intent); 551 file, getContext().getContentResolver(), notifyUri); 615 setNotificationUri(getContext().getContentResolver(), notifyUri);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ScrollingTabContainerView.java | 201 final LinearLayoutCompat tabLayout = new LinearLayoutCompat(getContext(), null, 211 final SpinnerCompat spinner = new SpinnerCompat(getContext(), null, 224 ActionBarPolicy abp = ActionBarPolicy.get(getContext()); 289 final TabView tabView = new TabView(getContext(), tab, forAdapter); 467 ImageView iconView = new ImageView(getContext()); 485 TextView textView = new CompatTextView(getContext(), null, 519 final Context context = getContext();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTracker.java | 163 p.getContext().getContentResolver().registerContentObserver( 173 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone); 220 mPhone.getContext().unregisterReceiver(mProvisionBroadcastReceiver); 232 mPhone.getContext().getContentResolver().unregisterContentObserver(mApnObserver); 398 ConnectivityManager cm = (ConnectivityManager)mPhone.getContext().getSystemService( 412 ApnContext apnContext = new ApnContext(mPhone.getContext(), type, LOG_TAG, networkConfig, 422 String[] networkConfigStrings = mPhone.getContext().getResources().getStringArray( 1088 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); 1416 int[] singleDcRats = mPhone.getContext().getResources().getIntArray( 1485 PendingIntent alarmIntent = PendingIntent.getBroadcast (mPhone.getContext(), [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | LLand.java | 258 final Star sun = new Star(getContext()); 277 final Star moon = new Star(getContext()); 296 s = new Star(getContext()); 298 s = new Cloud(getContext()); 300 s = new Building(getContext()); 328 mDroid = new Player(getContext()); 503 final Obstacle s1 = new Stem(getContext(), obstacley - yinset, false); 517 final Obstacle p1 = new Pop(getContext(), PARAMS.OBSTACLE_WIDTH); 536 final Obstacle s2 = new Stem(getContext(), 552 final Obstacle p2 = new Pop(getContext(), PARAM [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewContentsClientAdapter.java | 201 view.getContext().getPackageName()); 203 view.getContext().startActivity(intent); 538 description = mWebViewDelegate.getErrorString(mWebView.getContext(), errorCode); 696 .showDialog(mWebView.getContext()); 713 .showDialog(mWebView.getContext()); 730 .showDialog(mWebView.getContext()); 748 .showDialog(mWebView.getContext()); 894 fileChooserParams, mWebView.getContext()); 923 if (mWebView.getContext().getApplicationInfo().targetSdkVersion >= 1003 mWebView.getContext() [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsCreateFragment.java | 85 final Context context = inflater.getContext(); 161 final ContentResolver resolver = getContext().getContentResolver(); 210 final Context context = parent.getContext();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 194 BridgeContext context = getContext(); 198 DisplayMetrics metrics = getContext().getMetrics(); 213 IWindowManager iwm = new IWindowManagerImpl(getContext().getConfiguration(), 243 BridgeContext context = getContext(); 407 view = Preference_Delegate.inflatePreference(getContext(), mBlockParser, 660 BridgeContext context = getContext(); 718 BridgeContext context = getContext(); 1265 BridgeContext context = getContext(); 1394 return new LinearLayout(getContext()); 1530 getContext() [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ExploreByTouchHelper.java | 95 final Context context = forView.getContext(); 301 event.setPackageName(mView.getContext().getPackageName()); 410 node.setPackageName(mView.getContext().getPackageName());
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 92 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); 143 return mDecorToolbar.getContext(); 225 mDecorToolbar.setTitle(resId != 0 ? mDecorToolbar.getContext().getText(resId) : null); 240 mDecorToolbar.setSubtitle(resId != 0 ? mDecorToolbar.getContext().getText(resId) : null);
|