HomeSort by relevance Sort by last modified time
    Searched full:getcontext (Results 1 - 25 of 1908) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/memcheck/tests/linux/
stack_changes.stdout.exp2 0 getcontext() doesn't seem to work
  /cts/tests/tests/widget/src/android/widget/cts/
ViewSwitcherTest.java 47 new ViewSwitcher(getContext());
49 new ViewSwitcher(getContext(), null);
51 XmlPullParser parser = getContext().getResources().getXml(R.layout.viewswitcher_layout);
53 new ViewSwitcher(getContext(), attrs);
57 mViewSwitcher = new ViewSwitcher(getContext());
65 mViewSwitcher = new ViewSwitcher(getContext());
67 ListView lv1 = new ListView(getContext());
68 ListView lv2 = new ListView(getContext());
80 mViewSwitcher = new ViewSwitcher(getContext());
82 ListView lv1 = new ListView(getContext());
    [all...]
ImageSwitcherTest.java 45 new ImageSwitcher(getContext());
47 new ImageSwitcher(getContext(), null);
49 XmlPullParser parser = getContext().getResources().getXml(R.layout.imageswitcher_test);
52 new ImageSwitcher(getContext(), attrs);
57 ImageSwitcher imageSwitcher = new ImageSwitcher(getContext());
58 ImageView iv = new ImageView(getContext());
60 ImageView iv1 = new ImageView(getContext());
66 Resources resources = getContext().getResources();
87 ImageSwitcher imageSwitcher = new ImageSwitcher(getContext());
88 ImageView iv = new ImageView(getContext());
    [all...]
ImageButtonTest.java 31 XmlPullParser parser = getContext().getResources().getXml(R.layout.imagebutton_test);
35 new ImageButton(getContext());
37 new ImageButton(getContext(), attrs);
39 new ImageButton(getContext(), attrs, 0);
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PhonesTest.java 26 String display = Phones.getDisplayLabel(getContext(),
30 CharSequence[] labels = getContext().getResources().getTextArray(
32 display = Phones.getDisplayLabel(getContext(),
36 display = Phones.getDisplayLabel(getContext(),
40 display = Phones.getDisplayLabel(getContext(),
44 display = Phones.getDisplayLabel(getContext(),
48 display = Phones.getDisplayLabel(getContext(),
52 display = Phones.getDisplayLabel(getContext(),
56 display = Phones.getDisplayLabel(getContext(),
72 String display = Phones.getDisplayLabel(getContext(),
    [all...]
Contacts_ContactMethodsTest.java 56 String display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
60 CharSequence[] labels = getContext().getResources().getTextArray(
62 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
66 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
70 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL,
74 String untitled = getContext().getString(R.string.untitled);
75 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_IM,
79 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_ORGANIZATION,
83 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_PHONE,
87 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_POSTAL
    [all...]
Contacts_OrganizationsTest.java 26 String display = Organizations.getDisplayLabel(getContext(),
30 CharSequence[] labels = getContext().getResources().getTextArray(
32 display = Organizations.getDisplayLabel(getContext(),
36 display = Organizations.getDisplayLabel(getContext(),
  /external/skia/src/gpu/
GrResource.cpp 49 const GrContext* GrResource::getContext() const {
51 return fGpu->getContext();
57 GrContext* GrResource::getContext() {
59 return fGpu->getContext();
  /frameworks/base/core/tests/coretests/src/android/app/activity/
ServiceTest.java 201 getContext().startService(new Intent(service).putExtras(bundle));
205 getContext().startService(new Intent(service).putExtras(bundle));
211 getContext().stopService(service);
219 getContext().stopService(service);
225 getContext().startService(service);
239 getContext().bindService(service, conn, 0);
240 getContext().startService(service);
244 getContext().bindService(service, conn2, 0);
247 getContext().unbindService(conn2);
252 getContext().stopService(service)
    [all...]
SubActivityTest.java 26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class));
32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class));
38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class));
45 new ComponentName(getContext(), RemoteSubActivityScreen.class));
52 new ComponentName(getContext(), RemoteSubActivityScreen.class));
59 new ComponentName(getContext(), RemoteSubActivityScreen.class));
65 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class));
72 new ComponentName(getContext(), RemoteSubActivityScreen.class));
80 new ComponentName(getContext(), RemoteSubActivityScreen.class));
87 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class))
    [all...]
LaunchTest.java 26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class));
32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class));
38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class));
44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class));
63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLECPointContext.java 49 if (!NativeCrypto.EC_GROUP_cmp(group.getContext(), other.group.getContext())) {
53 return NativeCrypto.EC_POINT_cmp(group.getContext(), pointCtx, other.pointCtx);
58 group.getContext(), pointCtx);
70 public long getContext() {
77 NativeCrypto.EC_POINT_new(group.getContext()));
78 NativeCrypto.EC_POINT_set_affine_coordinates(group.getContext(),
79 point.getContext(), javaPoint.getAffineX().toByteArray(),
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
ContactDisplayUtilTests.java 46 "expected sms label", ContactDisplayUtils.INTERACTION_SMS, getContext());
50 "expected call label", ContactDisplayUtils.INTERACTION_CALL, getContext());
56 ContactDisplayUtils.INTERACTION_CALL, getContext());
57 CharSequence expected = getContext().getResources().getText(R.string.call_home);
61 ContactDisplayUtils.INTERACTION_CALL, getContext());
62 expected = getContext().getResources().getText(R.string.call_mobile);
68 ContactDisplayUtils.INTERACTION_SMS, getContext());
69 CharSequence expected = getContext().getResources().getText(R.string.sms_home);
73 ContactDisplayUtils.INTERACTION_SMS, getContext());
74 expected = getContext().getResources().getText(R.string.sms_mobile)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/
UiUtilitiesTests.java 33 assertEquals("0B", UiUtilities.formatSize(getContext(), 0));
34 assertEquals("1B", UiUtilities.formatSize(getContext(), 1));
35 assertEquals("1023B", UiUtilities.formatSize(getContext(), 1023));
36 assertEquals("1KB", UiUtilities.formatSize(getContext(), 1024));
37 assertEquals("1023KB", UiUtilities.formatSize(getContext(), 1024 * 1024 - 1));
38 assertEquals("1MB", UiUtilities.formatSize(getContext(), 1024 * 1024));
39 assertEquals("1023MB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024 - 1));
40 assertEquals("1GB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024));
41 assertEquals("5GB", UiUtilities.formatSize(getContext(), 5L * 1024 * 1024 * 1024));
45 final Context c = getContext();
    [all...]
  /frameworks/base/keystore/tests/src/android/security/
KeyPairGeneratorSpecTest.java 43 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, SERIAL_1,
46 assertEquals("Context should be the one specified", getContext(), spec.getContext());
58 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext())
67 assertEquals("Context should be the one specified", getContext(), spec.getContext());
91 new KeyPairGeneratorSpec(getContext(), null, TEST_DN_1, SERIAL_1, NOW,
100 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, null, SERIAL_1, NOW,
109 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, null, NOW,
118 new KeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, SERIAL_1, null
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
BinderTest.java 211 getContext().bindService(mService, conn1, 0);
212 getContext().startService(mService);
216 getContext().bindService(mService, conn2, 0);
219 getContext().unbindService(conn2);
224 getContext().stopService(mService);
225 getContext().unbindService(conn1);
226 getContext().unbindService(conn2);
235 getContext().stopService(mService);
238 getContext().unbindService(conn1);
247 getContext().bindService(mService, conn1, 0)
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic.cpp 35 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
40 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
46 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
51 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
58 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
63 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
68 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
  /frameworks/rs/cpp/
Script.cpp 26 rsScriptInvokeV(mRS->getContext(), getID(), slot, v, len);
36 rsScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, NULL, 0);
45 rsScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot);
50 rsScriptSetVarObj(mRS->getContext(), getID(), index, (o == NULL) ? 0 : o->getID());
54 rsScriptSetVarV(mRS->getContext(), getID(), index, v, len);
  /cts/tests/tests/app/src/android/app/cts/
LaunchTest.java 45 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
51 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
60 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class));
65 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class));
70 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class));
75 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class));
  /cts/tests/tests/text/src/android/text/cts/
AutoTextTest.java 34 Configuration config = getContext().getResources().getConfiguration();
37 getContext().getResources().updateConfiguration(config, null);
40 View view = new View(getContext());
80 Configuration config = getContext().getResources().getConfiguration();
83 getContext().getResources().updateConfiguration(config, null);
85 View view = new View(getContext());
  /external/llvm/unittests/Bitcode/
BitReaderTest.cpp 29 FunctionType::get(Type::getVoidTy(Mod->getContext()), false);
33 BasicBlock* Entry = BasicBlock::Create(Mod->getContext(), "entry", Func);
34 new UnreachableInst(Mod->getContext(), Entry);
36 BasicBlock* BB = BasicBlock::Create(Mod->getContext(), "bb", Func);
37 new UnreachableInst(Mod->getContext(), BB);
39 PointerType* Int8Ptr = Type::getInt8PtrTy(Mod->getContext());
  /cts/tests/tests/net/src/android/net/wifi/cts/
ConcurrencyTest.java 66 if (!WifiFeature.isWifiSupported(getContext()) &&
67 !WifiFeature.isP2pSupported(getContext())) {
76 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE);
89 if (!WifiFeature.isWifiSupported(getContext()) &&
90 !WifiFeature.isP2pSupported(getContext())) {
119 if (!WifiFeature.isWifiSupported(getContext())) {
120 assertTrue(!WifiFeature.isP2pSupported(getContext()));
124 if (!WifiFeature.isP2pSupported(getContext())) {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentProvider.java 14 public final Context getContext() {
  /libcore/luni/src/test/java/libcore/java/security/
AccessControllerTest.java 52 assertEquals(null, AccessController.getContext().getDomainCombiner());
53 AccessController.getContext().checkPermission(permission);
59 assertEquals(null, AccessController.getContext().getDomainCombiner());
60 AccessController.getContext().checkPermission(permission);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractInternalSource.java 48 return getContext().getPackageName();
56 return getContext().getResources().getDrawable(getSourceIconResource());
60 return Uri.parse("android.resource://" + getContext().getPackageName()
67 return QsbApplication.get(getContext()).getVersionCode();

Completed in 1575 milliseconds

1 2 3 4 5 6 7 8 91011>>