Home
last modified time | relevance | path

Searched refs:MainActivity (Results 1 – 25 of 115) sorted by relevance

12345

/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/
DTestJobService.java30 import com.example.android.jobscheduler.MainActivity;
63 m.what = MainActivity.MSG_SERVICE_OBJ; in onStartCommand()
97 MainActivity mActivity;
100 public void setUiCallback(MainActivity activity) { in setUiCallback()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSampleMediaButtonReceiver.java33 private static MainActivity mActivity;
35 public static void setActivity(MainActivity activity) { in setActivity()
DMainActivity.java78 public class MainActivity extends ActionBarActivity { class
136 mPlayer = Player.create(MainActivity.this, route);
374 mPlayer = Player.create(MainActivity.this, mMediaRouter.getSelectedRoute()); in onCreate()
399 SampleMediaButtonReceiver.setActivity(MainActivity.this); in registerRemoteControlClient()
653 super(MainActivity.this, R.layout.media_item); in LibraryAdapter()
678 Toast.makeText(MainActivity.this, R.string.playlist_item_added_text, in getView()
690 super(MainActivity.this, R.layout.media_item); in PlaylistAdapter()
715 Toast.makeText(MainActivity.this, R.string.playlist_item_removed_text, in getView()
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/
DMainActivity.java36 public class MainActivity extends Activity { class
97 TextView t = new TextView(MainActivity.this);
99 t.setTextAppearance(MainActivity.this, android.R.style.TextAppearance_Large);
/development/samples/browseable/JumpingJack/Wearable/src/com.example.android.wearable.jumpingjack/fragments/
DSettingsFragment.java19 import com.example.android.wearable.jumpingjack.MainActivity;
42 ((MainActivity) getActivity()).resetCounter(); in onCreateView()
/development/samples/browseable/BorderlessButtons/src/com.example.android.borderlessbuttons/
DMainActivity.java38 public class MainActivity extends ListActivity { class
92 Toast.makeText(MainActivity.this,
102 Toast.makeText(MainActivity.this,
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DMainActivity.java31 public class MainActivity extends ListActivity { class
80 startActivity(new Intent(MainActivity.this, mSamples[position].activityClass)); in onListItemClick()
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java35 public class MainActivity extends Activity { class
73 mPrefs = PreferenceManager.getDefaultSharedPreferences(MainActivity.this); in onCreate()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DMainActivity.java19 public class MainActivity extends Activity class
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/
DMainActivity.java29 public class MainActivity extends Activity { class
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DMainActivity.java33 public class MainActivity extends Activity { class
/development/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/
DMainActivity.java31 public class MainActivity extends ActionBarActivity { class
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/
DMainActivity.java32 public class MainActivity extends Activity { class
51 Intent i = new Intent(this, MainActivity.class); in createNotification()
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/
DMainActivity.java49 public class MainActivity extends ActionBarActivity { class
120 mInflater = LayoutInflater.from(MainActivity.this);
163 Intent shareIntent = item.getShareIntent(MainActivity.this); in setShareIntent()
/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/
DResponderService.java84 } else if (action.equals(MainActivity.ACTION_GET_CONVERSATION)) { in onStartCommand()
134 Intent intent = new Intent(MainActivity.ACTION_NOTIFY); in broadcastMessage()
135 intent.putExtra(MainActivity.EXTRA_MESSAGE, message); in broadcastMessage()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMainActivity.java22 public class MainActivity extends Activity { class
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DMainActivity.java34 public class MainActivity extends Activity implements AdapterView.OnItemClickListener { class
104 new Intent(MainActivity.this, activityClass)); in Sample()
/development/samples/browseable/DoneBar/src/com.example.android.donebar/
DMainActivity.java34 public class MainActivity extends Activity implements AdapterView.OnItemClickListener { class
106 new Intent(MainActivity.this, activityClass)); in Sample()
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DWearableMessageListenerService.java33 Intent startIntent = new Intent(this, MainActivity.class); in onMessageReceived()
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/
DMainActivity.java41 public class MainActivity extends Activity { class
107 mTestService.setUiCallback(MainActivity.this);
114 Toast.makeText(MainActivity.this, "Service null, never got callback?", in ensureTestService()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DEnableProfileActivity.java44 startActivity(new Intent(this, MainActivity.class)); in onCreate()
DMainActivity.java24 public class MainActivity extends FragmentActivity { class
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DMainActivity.java24 public class MainActivity extends Activity { class
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DMainActivity.java26 public class MainActivity extends ListActivity { class
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
DMainActivity.java25 public class MainActivity extends Activity { class

12345