/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteDatabaseTest.java | 18 @DatabaseConfig.UsingDatabaseMap(SQLiteMap.class) 19 @RunWith(WithTestDefaultsRunner.class) 20 public class SQLiteDatabaseTest extends DatabaseTestBase { 25 equalTo(SQLiteMap.class.getName()));
|
/frameworks/base/core/java/android/widget/ |
TwoLineListItem.java | 41 * @deprecated This class can be implemented easily by apps using a {@link RelativeLayout} 46 public class TwoLineListItem extends RelativeLayout { 95 event.setClassName(TwoLineListItem.class.getName()); 101 info.setClassName(TwoLineListItem.class.getName());
|
DigitalClock.java | 37 public class DigitalClock extends TextView { 107 private class FormatChangeObserver extends ContentObserver { 122 event.setClassName(DigitalClock.class.getName()); 129 info.setClassName(DigitalClock.class.getName());
|
EditText.java | 50 public class EditText extends TextView { 123 event.setClassName(EditText.class.getName()); 129 info.setClassName(EditText.class.getName());
|
SeekBar.java | 36 public class SeekBar extends AbsSeekBar { 126 event.setClassName(SeekBar.class.getName()); 132 info.setClassName(SeekBar.class.getName());
|
ViewSwitcher.java | 32 public class ViewSwitcher extends ViewAnimator { 74 event.setClassName(ViewSwitcher.class.getName()); 80 info.setClassName(ViewSwitcher.class.getName());
|
ZoomButton.java | 29 public class ZoomButton extends ImageButton implements OnLongClickListener { 105 event.setClassName(ZoomButton.class.getName()); 111 info.setClassName(ZoomButton.class.getName());
|
ZoomControls.java | 33 * The {@code ZoomControls} class displays a simple set of controls used for zooming and 36 public class ZoomControls extends LinearLayout { 115 event.setClassName(ZoomControls.class.getName()); 121 info.setClassName(ZoomControls.class.getName());
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 33 * This class creates another class loader to load multiple copies of various 35 * class names using the correct class loader. 37 public final class ClassLoaderReflectionTest extends TestCase { 40 * Each of these class instances points to a different copy of the class 41 * than the one in the application class loader! 43 private Class<?> aClass; 44 private Class<?> aListClass [all...] |
AnnotationsTest.java | 32 public final class AnnotationsTest extends TestCase { 35 assertAnnotatedElement(Type.class, AnnotationA.class, AnnotationB.class); 39 assertAnnotatedElement(ExtendsType.class, AnnotationB.class); 43 Constructor<Type> constructor = Type.class.getConstructor(); 44 assertAnnotatedElement(constructor, AnnotationA.class, AnnotationC.class); 48 Field field = Type.class.getField("field") [all...] |
ReflectionTest.java | 35 public final class ReflectionTest extends TestCase { 45 AList.class.getGenericSuperclass().toString()); 49 assertEquals("int", int.class.getName()); 50 assertEquals("[I", int[].class.getName()); 51 assertEquals("java.lang.String", String.class.getName()); 52 assertEquals("[Ljava.lang.String;", String[].class.getName()); 54 assertEquals(getClass().getName() + "$A", A.class.getName()); 55 assertEquals(getClass().getName() + "$B", B.class.getName()); 56 assertEquals(getClass().getName() + "$DefinesMember", DefinesMember.class.getName()); 60 assertEquals("int", int.class.getCanonicalName()) [all...] |
ConstructorTest.java | 22 public final class ConstructorTest extends TestCase { 24 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); 25 Class[] exceptions = constructor.getExceptionTypes(); 27 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); 29 exceptions[0] = NullPointerException.class; 32 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); 36 Class[] expectedParameters = new Class[] { Object.class }; [all...] |
/packages/apps/Dialer/src/com/android/dialer/contact/ |
ContactUpdateService.java | 28 public class ContactUpdateService extends IntentService { 33 super(ContactUpdateService.class.getSimpleName()); 39 Intent serviceIntent = new Intent(context, ContactUpdateService.class);
|
/packages/apps/Phone/src/com/android/phone/ |
ClearMissedCallsService.java | 27 public class ClearMissedCallsService extends IntentService { 35 super(ClearMissedCallsService.class.getSimpleName());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SettingsFragment.java | 46 public final class SettingsFragment extends InputMethodSettingsFragment 83 Utils.getAcitivityTitleResId(getActivity(), SettingsActivity.class)); 117 context.getPackageName(), DebugSettingsActivity.class.getName()); 191 intent.setClassName(context.getPackageName(), DictionarySettingsActivity.class.getName()); 423 userDictionaryPreference.setFragment(UserDictionarySettings.class.getName()); 425 // extras. This will be interpreted by the UserDictionarySettings class as 435 userDictionaryPreference.setFragment(UserDictionaryList.class.getName());
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/ |
Serializer.java | 54 * The main serializer class, which will serialize objects such that 60 public abstract class Serializer { 61 protected static final Logger log = Logger.getLogger(Serializer.class.getName()); 63 private static final SerializerRegistration NULL_CLASS = new SerializerRegistration( null, Void.class, (short)-1 ); 66 private static final Map<Class, SerializerRegistration> classRegistrations = new HashMap<Class, SerializerRegistration>(); 100 registerClass(boolean.class, new BooleanSerializer()); 101 registerClass(byte.class, new ByteSerializer()); 102 registerClass(char.class, new CharSerializer()); 103 registerClass(short.class, new ShortSerializer()) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
ComboViewActivity.java | 35 public class ComboViewActivity extends Activity implements CombinedBookmarksCallbacks { 73 BrowserBookmarksPage.class, args); 78 BrowserHistoryPage.class, args); 80 BrowserSnapshotPage.class, args); 149 Intent intent = new Intent(this, BrowserPreferencesPage.class); 158 * This is a helper class that implements the management of tabs and all 168 public static class TabsAdapter extends FragmentPagerAdapter 175 static final class TabInfo { 176 private final Class<?> clss; 179 TabInfo(Class<?> _class, Bundle _args) [all...] |
/dalvik/tests/044-proxy/src/ |
Clash3.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 26 public class Clash3 { 31 Proxy.newProxyInstance(Clash.class.getClassLoader(), 32 new Class[] { 33 Interface3a.class, 34 Interface3base.class, 35 Interface3aa.class, 36 Interface3b.class }, 45 class R3base implements I3 { int mBlah; public void x() {} } 46 class R3a extends R3base { int mBlah_a; [all...] |
Clash4.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 26 public class Clash4 { 31 Proxy.newProxyInstance(Clash.class.getClassLoader(), 32 new Class[] { 33 Interface4a.class, 34 Interface4aa.class, 35 Interface4base.class, 36 Interface4b.class, 37 Interface4bb.class }, 47 class R4base { int mBlah; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalSampleInstrumentation.java | 28 * class demonstrating instrumentation against one of this application's sample 31 public class LocalSampleInstrumentation extends Instrumentation { 32 public abstract static class ActivityRunnable implements Runnable { 57 intent.setClass(getTargetContext(), SaveRestoreState.class);
|
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
GSSManagerTest.java | 31 * Tests GSSManager class 33 public class GSSManagerTest extends TestCase { 35 * Tests loading of a default provider with valid class references. 40 Security.setProperty(GSSManager.MANAGER, TestManager.class 44 assertEquals(TestManager.class.getName(), m.getClass().getName()); 52 * Tests loading of a default provider with invalid class references. 75 public static class TestManager extends GSSManager {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
CustomRobolectricTestRunnerTest.java | 18 @RunWith(CustomRobolectricTestRunnerTest.CustomRobolectricTestRunner.class) 19 public class CustomRobolectricTestRunnerTest { 33 assertEquals(CustomApplication.class, Robolectric.application.getClass()); 39 assertEquals(RobolectricClassLoader.class.getName(), preparedTest.getClass().getClassLoader().getClass().getName()); 53 public static class CustomRobolectricTestRunner extends WithTestDefaultsRunner { 54 public CustomRobolectricTestRunner(Class<?> testClass) throws InitializationError { 75 public static class CustomApplication extends Application {
|
/libcore/luni/src/main/java/java/lang/ref/ |
ReferenceQueue.java | 27 public class ReferenceQueue<T> { 33 * Constructs a new instance of this class. 149 synchronized (ReferenceQueue.class) { 157 ReferenceQueue.class.notifyAll();
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
CameraTest.java | 34 public class CameraTest extends InstrumentationTestCase { 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 61 CameraActivity.class);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/service/ |
ExchangeBroadcastProcessorService.java | 39 public class ExchangeBroadcastProcessorService extends IntentService { 44 // Class name will be the thread name. 45 super(ExchangeBroadcastProcessorService.class.getName()); 54 Intent i = new Intent(context, ExchangeBroadcastProcessorService.class); 83 startService(new Intent(this, ExchangeService.class));
|