Searched refs:getContext (Results 176 - 200 of 420) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java52 Resources resources = getContext().getResources();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java90 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 DInputMethodButton.java149 return Settings.Secure.getInt(getContext().getContentResolver(),
/frameworks/base/core/java/android/preference/
H A DListPreference.java86 setEntries(getContext().getResources().getTextArray(entriesResId));
114 setEntryValues(getContext().getResources().getTextArray(entryValuesResId));
H A DMultiCheckPreference.java91 setEntries(getContext().getResources().getTextArray(entriesResId));
121 setEntryValuesCS(getContext().getResources().getTextArray(entryValuesResId));
H A DMultiSelectListPreference.java81 setEntries(getContext().getResources().getTextArray(entriesResId));
109 setEntryValues(getContext().getResources().getTextArray(entryValuesResId));
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java240 mPopup = new ListPopupWindow(mWebView.getContext());
241 mAnchor = new AnchorView(mWebView.getContext());
H A DHTML5Audio.java192 mContext = webViewCore.getContext();
194 webViewCore.getContext().getMainLooper(), webViewCore.getWebViewClassic());
/frameworks/base/core/java/android/widget/
H A DAnalogClock.java111 getContext().registerReceiver(mIntentReceiver, filter, null, mHandler);
128 getContext().unregisterReceiver(mIntentReceiver);
H A DEditor.java269 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 DActionMenu.java47 public Context getContext() { method in class:ActionMenu
64 ActionMenuItem item = new ActionMenuItem(getContext(),
H A DActionMenuItemView.java87 mAllowTextWithIcon = getContext().getResources().getBoolean(
234 final Context context = getContext();
H A DIconMenuView.java282 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 DAbsActionBarView.java67 TypedArray a = getContext().obtainStyledAttributes(null, R.styleable.ActionBar,
72 setSplitActionBar(getContext().getResources().getBoolean(
H A DSlidingTab.java192 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 DActionBarContextView.java122 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 DWifiClientTest.java105 getContext().registerReceiver(mWifiStateListener, mIntentFilter);
107 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE);
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
H A DNetworkStatsFactoryTest.java53 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 DRenderSessionImpl.java177 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 DCdmaServiceStateTracker.java173 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 DSettingsProvider.java254 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 DPhoneWindow.java537 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 DContentProvider.java277 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 DDatePicker.java217 format = DateFormat.getDateFormat(getContext());
219 format = DateFormat.getMediumDateFormat(getContext());
226 order = new String(DateFormat.getDateFormatOrder(getContext()));
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java102 Context themeContext = getContext();

Completed in 8313 milliseconds

1234567891011>>