/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationPanelView.java | 52 Resources resources = getContext().getResources();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 90 final String dateFormat = getContext().getString(R.string.abbrev_wday_month_day_no_year);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | InputMethodButton.java | 149 return Settings.Secure.getInt(getContext().getContentResolver(),
|
/frameworks/base/core/java/android/preference/ |
H A D | ListPreference.java | 86 setEntries(getContext().getResources().getTextArray(entriesResId)); 114 setEntryValues(getContext().getResources().getTextArray(entryValuesResId));
|
H A D | MultiCheckPreference.java | 91 setEntries(getContext().getResources().getTextArray(entriesResId)); 121 setEntryValuesCS(getContext().getResources().getTextArray(entryValuesResId));
|
H A D | MultiSelectListPreference.java | 81 setEntries(getContext().getResources().getTextArray(entriesResId)); 109 setEntryValues(getContext().getResources().getTextArray(entryValuesResId));
|
/frameworks/base/core/java/android/webkit/ |
H A D | AutoCompletePopup.java | 240 mPopup = new ListPopupWindow(mWebView.getContext()); 241 mAnchor = new AnchorView(mWebView.getContext());
|
H A D | HTML5Audio.java | 192 mContext = webViewCore.getContext(); 194 webViewCore.getContext().getMainLooper(), webViewCore.getWebViewClassic());
|
/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 111 getContext().registerReceiver(mIntentReceiver, filter, null, mHandler); 128 getContext().unregisterReceiver(mIntentReceiver);
|
H A D | Editor.java | 269 LayoutInflater inflater = LayoutInflater.from(mTextView.getContext()); 1724 TextView shadowView = (TextView) View.inflate(mTextView.getContext(), 1737 shadowView.setTextAppearance(mTextView.getContext(), R.styleable.Theme_textAppearanceLarge); 1768 content.append(item.coerceToStyledText(mTextView.getContext())); 1924 mPopupWindow = new PopupWindow(mTextView.getContext(), null, 1932 LinearLayout linearLayout = new LinearLayout(mTextView.getContext()); 1938 LayoutInflater inflater = (LayoutInflater)mTextView.getContext(). 2221 mPopupWindow = new CustomPopupWindow(mTextView.getContext(), 2230 ListView listView = new ListView(mTextView.getContext()); 2256 TextAppearanceSpan highlightSpan = new TextAppearanceSpan(mTextView.getContext(), [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenu.java | 47 public Context getContext() { method in class:ActionMenu 64 ActionMenuItem item = new ActionMenuItem(getContext(),
|
H A D | ActionMenuItemView.java | 87 mAllowTextWithIcon = getContext().getResources().getBoolean( 234 final Context context = getContext();
|
H A D | IconMenuView.java | 282 return mItemBackground.getConstantState().newDrawable(getContext().getResources()); 292 Context context = getContext(); 473 return new IconMenuView.LayoutParams(getContext(), attrs);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AbsActionBarView.java | 67 TypedArray a = getContext().obtainStyledAttributes(null, R.styleable.ActionBar, 72 setSplitActionBar(getContext().getResources().getBoolean(
|
H A D | SlidingTab.java | 192 tab = new ImageView(parent.getContext()); 199 text = new TextView(parent.getContext()); 203 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal); 207 target = new ImageView(parent.getContext()); 277 text.setTextAppearance(text.getContext(), R.style.TextAppearance_SlidingTabActive); 279 text.setTextAppearance(text.getContext(), R.style.TextAppearance_SlidingTabNormal); 294 text.setTextAppearance(text.getContext(), R.style.TextAppearance_SlidingTabNormal); 821 mVibrator = (android.os.Vibrator) getContext()
|
H A D | ActionBarContextView.java | 122 getContext().getResources().getDisplayMetrics().widthPixels, true); 178 LayoutInflater inflater = LayoutInflater.from(getContext()); 236 getContext().getResources().getDisplayMetrics().widthPixels, true); 319 return new MarginLayoutParams(getContext(), attrs); 524 event.setPackageName(getContext().getPackageName());
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
H A D | WifiClientTest.java | 105 getContext().registerReceiver(mWifiStateListener, mIntentFilter); 107 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 53 mTestProc = new File(getContext().getFilesDir(), "proc"); 137 in = getContext().getResources().openRawResource(rawId);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 177 BridgeContext context = getContext(); 180 DisplayMetrics metrics = getContext().getMetrics(); 197 IWindowManager iwm = new IWindowManagerImpl(getContext().getConfiguration(), 227 BridgeContext context = getContext(); 630 BridgeContext context = getContext(); 688 BridgeContext context = getContext(); 1208 BridgeContext context = getContext(); 1335 return new LinearLayout(getContext()); 1399 getContext().getViewKey(view), 1462 return getContext() [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 173 cr = phone.getContext().getContentResolver(); 177 mCdmaSSM = CdmaSubscriptionSourceManager.getInstance(phone.getContext(), cm, this, 183 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE); 256 Settings.Global.putInt(phone.getContext().getContentResolver(), 546 phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1006 eriText = phone.getContext().getText( 1472 (AlarmManager) phone.getContext().getSystemService(Context.ALARM_SERVICE); 1477 phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1492 phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 1509 if (Settings.System.getInt(phone.getContext() [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 254 getContext().getContentResolver().notifyChange(uri, null, true, notifyTarget); 271 getContext().checkCallingOrSelfPermission( 323 mBackupManager = new BackupManager(getContext()); 324 mUserManager = (UserManager) getContext().getSystemService(Context.USER_SERVICE); 330 getContext().registerReceiver(new BroadcastReceiver() { 372 dbhelper = new DatabaseHelper(getContext(), userHandle); 695 c.setNotificationUri(getContext().getContentResolver(), url, forUser); 833 getContext().enforceCallingOrSelfPermission( 968 Context context = getContext(); 1009 Context context = getContext(); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 537 Context context = getContext(); 597 st.decorView.setWindowBackground(getContext().getResources().getDrawable( 855 AudioManager audioManager = (AudioManager) getContext().getSystemService( 1039 Context context = getContext(); 1071 st.decorView = new DecorView(getContext(), st.featureId); 1073 st.setStyle(getContext()); 1131 ? st.getListMenuView(getContext(), mPanelMenuPresenterCallback) 1132 : st.getIconMenuView(getContext(), mPanelMenuPresenterCallback); 1171 st.local = getContext().getResources().getDrawable(resId); 1369 Animation anim = AnimationUtils.loadAnimation(getContext(), co [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 277 final Context context = getContext(); 338 final Context context = getContext(); 404 public final Context getContext() { method in class:ContentProvider 565 c.setNotificationUri(getContext().getContentResolver(), uri); 623 c.setNotificationUri(getContext().getContentResolver(), uri);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DatePicker.java | 217 format = DateFormat.getDateFormat(getContext()); 219 format = DateFormat.getMediumDateFormat(getContext()); 226 order = new String(DateFormat.getDateFormatOrder(getContext()));
|
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 102 Context themeContext = getContext();
|