HomeSort by relevance Sort by last modified time
    Searched full:getcontext (Results 101 - 125 of 3316) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
FramedTextButton.java 64 setText(getContext().getString(R.string.curves_channel_rgb));
68 setText(getContext().getString(R.string.curves_channel_red));
72 setText(getContext().getString(R.string.curves_channel_green));
76 setText(getContext().getString(R.string.curves_channel_blue));
92 TypedArray a = getContext().obtainStyledAttributes(
  /packages/apps/Settings/src/com/android/settings/
AccountPreference.java 136 return getContext().getString(R.string.accessibility_sync_enabled);
138 return getContext().getString(R.string.accessibility_sync_disabled);
140 return getContext().getString(R.string.accessibility_sync_error);
142 return getContext().getString(R.string.accessibility_sync_in_progress);
145 return getContext().getString(R.string.accessibility_sync_error);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/
AccountsChangedReceiverTests.java 41 mPrefs = PreferenceManager.getDefaultSharedPreferences(getContext());
56 reciever.onReceive(getContext(), new Intent("some-random-action"));
69 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
82 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
95 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
  /packages/services/Telephony/src/com/android/phone/settings/
TtyModeListPreference.java 44 int settingsTtyMode = Settings.Secure.getInt(getContext().getContentResolver(),
57 getContext().getContentResolver(),
70 getContext().getContentResolver(),
83 getContext().sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL);
90 String [] txts = getContext().getResources().getStringArray(R.array.tty_mode_entries);
  /cts/tests/tests/content/src/android/content/res/cts/
Resources_ThemeTest.java 44 mResTheme = getContext().getResources().newTheme();
53 final Theme other = getContext().getTheme();
71 XmlPullParser parser = getContext().getResources().getXml(R.xml.colors);
82 getContext().getResources().getValue(R.raw.testmp3, value, true);
87 Resources.Theme theme = getContext().getResources().newTheme();
100 Resources.Theme other = getContext().getResources().newTheme();
108 Resources res = getContext().getResources();
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
PaintDrawableTest.java 117 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), parser, attr));
124 assertFalse(new MyPaintDrawable().inflateTag("", getContext().getResources(), parser,
130 new MyPaintDrawable().inflateTag(null, getContext().getResources(), parser, attr);
151 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), null, attr));
155 new MyPaintDrawable().inflateTag("padding", getContext().getResources(), parser, null);
167 assertTrue(paintDrawable.inflateTag("corners", getContext().getResources(), parser, attr));
172 return getContext().getResources().getXml(R.drawable.paintdrawable_attr);
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
WriteExternalStorageTest.java 134 final List<File> paths = getPrimaryPackageSpecificPaths(getContext());
135 final String packageName = getContext().getPackageName();
159 final File ourCache = getContext().getExternalCacheDir();
161 .replace(getContext().getPackageName(), PACKAGE_NONE));
172 File path = getContext().getExternalCacheDir();
204 Environment.getExternalStorageState(getContext().getCacheDir()));
212 final List<File> paths = getSecondaryPackageSpecificPaths(getContext());
213 final String packageName = getContext().getPackageName();
242 final List<File> paths = getAllPackageSpecificPaths(getContext());
  /external/llvm/lib/Target/X86/
X86TargetObjectFile.cpp 35 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
36 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
37 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
58 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
59 const MCExpr *Off = MCConstantExpr::Create(FinalOff, getContext());
60 return MCBinaryExpr::CreateAdd(Res, Off, getContext());
65 return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext());
121 getContext());
175 return getContext().getCOFFSection(".rdata", Characteristics, Kind,
  /cts/tests/tests/content/src/android/content/cts/
ImageCaptureUriExtraToClipDataTest.java 56 getContext().registerReceiver(mReceiver, filter);
58 mTestFile = new File(getContext().getFilesDir() + File.separator + FILE_NAME);
94 getContext().startActivity(intent);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RenderScriptTest.java 29 RenderScript mRS = RenderScript.create(getContext());
45 RenderScript mRS = RenderScript.create(getContext());
49 getContext().getApplicationContext());
  /cts/tests/tests/telephony/src/android/telephony/cts/
CarrierConfigManagerTest.java 35 getContext().getSystemService(Context.TELEPHONY_SERVICE);
37 getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE);
48 (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
  /cts/tests/tests/text/src/android/text/cts/
MyanmarTest.java 46 CaptureTextView cviewA = new CaptureTextView(getInstrumentation().getContext());
48 CaptureTextView cviewB = new CaptureTextView(getInstrumentation().getContext());
53 CaptureTextView cviewC = new CaptureTextView(getInstrumentation().getContext());
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java 87 WindowManager wm = (WindowManager) getContext().getSystemService(
102 Configuration configuration = getContext().getResources().getConfiguration();
107 intent.setClass(this.getContext(), DeviceInfoActivity.class);
113 TelephonyManager tm = (TelephonyManager) getContext().getSystemService(
194 Configuration config = getContext().getResources().getConfiguration();
253 PackageManager packageManager = getContext().getPackageManager();
325 PackageManager packageManager = getContext().getPackageManager();
357 PackageManager pm = getContext().getPackageManager();
371 count = Math.max(count, getContext().getExternalCacheDirs().length);
372 count = Math.max(count, getContext().getExternalFilesDirs(null).length)
    [all...]
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
QueueAdapter.java 55 convertView = LayoutInflater.from(getContext())
75 getContext().getDrawable(R.drawable.ic_equalizer_white_24dp));
78 getContext().getDrawable(R.drawable.ic_play_arrow_white_24dp));
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
QueueAdapter.java 55 convertView = LayoutInflater.from(getContext())
75 getContext().getDrawable(R.drawable.ic_equalizer_white_24dp));
78 getContext().getDrawable(R.drawable.ic_play_arrow_white_24dp));
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
QueueAdapter.java 55 convertView = LayoutInflater.from(getContext())
75 getContext().getDrawable(R.drawable.ic_equalizer_white_24dp));
78 getContext().getDrawable(R.drawable.ic_play_arrow_white_24dp));
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseUiDevice.java 49 (PowerManager) getContext().getInstrumentation().getTargetContext()
75 return getContext().getDriver().getRootElement().perform(action);
112 protected abstract DroidDriverContext<?, ?> getContext();
  /external/llvm/lib/Target/PowerPC/
PPCTargetObjectFile.cpp 58 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PPC_DTPREL, getContext());
60 MCConstantExpr::Create(0x8000, getContext()),
61 getContext());
  /frameworks/base/core/tests/coretests/src/android/text/format/
FormatterTest.java 47 Resources res = getContext().getResources();
88 BytesResult r = Formatter.formatBytes(getContext().getResources(), 1, 0);
99 BytesResult r = Formatter.formatBytes(getContext().getResources(), bytes,
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
AdjacentListsWithAdjacentISVsInside.java 90 final LinearLayout ll = new LinearLayout(views[0].getContext());
123 parent.getContext(), 5, "isv left");
126 parent.getContext(), 5, "isv right");
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
ObscureSpeechDelegate.java 57 host.announceForAccessibility(host.getContext().getString(
69 event.setContentDescription(host.getContext().getString(
79 final Context ctx = host.getContext();
  /packages/apps/Browser/src/com/android/browser/
HistoryItem.java 84 Browser.saveBookmark(getContext(), getName(), mUrl);
86 Bookmarks.removeFromBookmarks(getContext(),
87 getContext().getContentResolver(), mUrl, getName());
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
VoiceSearch.java 43 protected Context getContext() {
96 return getContext().getPackageManager().getPackageInfo(ci.packageName, 0).versionCode;
104 return createVoiceSearchIntent().resolveActivity(getContext().getPackageManager());
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
UtilsTest.java 35 getContext(), entire, sub, appearance);
37 expected.setSpan(new TextAppearanceSpan(getContext(), appearance), 6, 11, 0);
47 getContext(), entire, sub, appearance);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtilsTests.java 103 mImportantNoticePreferences = new ImportantNoticePreferences(getContext());
120 ImportantNoticeUtils.shouldShowImportantNotice(getContext(), mMockSettingsValues));
125 ImportantNoticeUtils.shouldShowImportantNotice(getContext(), mMockSettingsValues));

Completed in 2569 milliseconds

1 2 3 45 6 7 8 91011>>