/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/ |
D | MyJobService.java | 30 import static com.example.android.jobscheduler.MainActivity.MESSENGER_INTENT_KEY; 31 import static com.example.android.jobscheduler.MainActivity.MSG_COLOR_START; 32 import static com.example.android.jobscheduler.MainActivity.MSG_COLOR_STOP; 33 import static com.example.android.jobscheduler.MainActivity.WORK_DURATION_KEY;
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | SampleMediaButtonReceiver.java | 33 private static MainActivity mActivity; 35 public static void setActivity(MainActivity activity) { in setActivity()
|
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/ |
D | MainActivity.java | 53 public class MainActivity extends Activity { class 55 private static final String TAG = MainActivity.class.getSimpleName(); 166 Toast.makeText(MainActivity.this, R.string.all_jobs_cancelled, Toast.LENGTH_SHORT).show(); in cancelAllJobs() 180 MainActivity.this, String.format(getString(R.string.cancelled_job), jobId), in finishJob() 184 MainActivity.this, getString(R.string.no_jobs_to_cancel), in finishJob() 197 private WeakReference<MainActivity> mActivity; 199 IncomingMessageHandler(MainActivity activity) { in IncomingMessageHandler() 206 MainActivity mainActivity = mActivity.get(); in handleMessage()
|
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
D | BigTextMainActivity.java | 23 import com.example.android.wearable.wear.wearnotifications.MainActivity; 41 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
|
D | BigPictureSocialMainActivity.java | 23 import com.example.android.wearable.wear.wearnotifications.MainActivity; 41 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
|
D | InboxMainActivity.java | 23 import com.example.android.wearable.wear.wearnotifications.MainActivity; 41 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
|
D | MessagingMainActivity.java | 23 import com.example.android.wearable.wear.wearnotifications.MainActivity; 43 notificationManager.cancel(MainActivity.NOTIFICATION_ID); in onCreate()
|
D | BigTextIntentService.java | 29 import com.example.android.wearable.wear.wearnotifications.MainActivity; 76 notificationManagerCompat.cancel(MainActivity.NOTIFICATION_ID); in handleActionDismiss() 106 notificationManagerCompat.cancel(MainActivity.NOTIFICATION_ID); in handleActionSnooze() 113 notificationManagerCompat.notify(MainActivity.NOTIFICATION_ID, notification); in handleActionSnooze()
|
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/ |
D | MainActivity.java | 36 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/src/com.example.android.wearable.jumpingjack/fragments/ |
D | SettingsFragment.java | 19 import com.example.android.wearable.jumpingjack.MainActivity; 42 ((MainActivity) getActivity()).resetCounter(); in onCreateView()
|
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/ |
D | MainActivity.java | 67 public class MainActivity extends WearableActivity { class 119 Intent ambientStateIntent = new Intent(getApplicationContext(), MainActivity.class); in onCreate() 317 private final WeakReference<MainActivity> mMainActivityWeakReference; 319 public UpdateHandler(MainActivity reference) { in UpdateHandler() 320 mMainActivityWeakReference = new WeakReference<MainActivity>(reference); in UpdateHandler() 325 MainActivity mainActivity = mMainActivityWeakReference.get(); in handleMessage()
|
/development/samples/browseable/BorderlessButtons/src/com.example.android.borderlessbuttons/ |
D | MainActivity.java | 38 public class MainActivity extends ListActivity { class 92 Toast.makeText(MainActivity.this, 102 Toast.makeText(MainActivity.this,
|
/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/ |
D | MainActivity.java | 39 public class MainActivity extends Activity { class 115 Toast.makeText(MainActivity.this, in onPortsConnected() 120 Toast.makeText(MainActivity.this, in onPortsConnected()
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | MainActivity.java | 31 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/ |
D | MainActivity.java | 35 public class MainActivity extends Activity { class 73 mPrefs = PreferenceManager.getDefaultSharedPreferences(MainActivity.this); in onCreate()
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | MainActivity.java | 29 public class MainActivity extends Activity { class
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | MainActivity.java | 33 public class MainActivity extends Activity { class
|
/development/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/ |
D | MainActivity.java | 31 public class MainActivity extends ActionBarActivity { class
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
D | MainActivity.java | 25 public class MainActivity extends Activity { class
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MainActivity.java | 22 public class MainActivity extends Activity { class
|
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
D | MainActivity.java | 32 public class MainActivity extends Activity { class 51 Intent i = new Intent(this, MainActivity.class); in createNotification()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/ |
D | MainActivity.java | 25 public class MainActivity extends AppCompatActivity { class
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | ResponderService.java | 84 } 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/ShareActionProvider/src/com.example.android.shareactionprovider/ |
D | MainActivity.java | 47 public class MainActivity extends AppCompatActivity { class 118 mInflater = LayoutInflater.from(MainActivity.this); 161 Intent shareIntent = item.getShareIntent(MainActivity.this); in setShareIntent()
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
D | MainActivity.java | 25 public class MainActivity extends AppCompatActivity { class
|