/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | Tracking.java | 5 import android.app.Activity; 62 public synchronized void onResume(Activity activity) { in onResume() 82 public synchronized void onDestroy(Activity activity) { in onDestroy() 115 for (Activity activity : task.mActivities) { in checkForMovedActivities() 127 Iterator<Activity> iterator = task.mActivities.iterator(); in moveActivitiesInOrder() 129 Activity activity = iterator.next(); in moveActivitiesInOrder() 157 public static void logNameEventAndTask(Activity activity, String event) { in logNameEventAndTask() 199 protected final List<Activity> mActivities; 202 Task(int id, List<Activity> activities) { in Task() 212 public void activityResumed(Activity activity) { in activityResumed() [all …]
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/ |
D | Injector.java | 19 import android.app.Activity; 50 private final Activity mActivity; 52 private Injector(Activity activity) { in Injector() 59 public static Injector get(Activity activity) { in get()
|
/development/samples/browseable/ActivitySceneTransitionBasic/ |
D | _index.jd | 8 Demonstrates how to the use Activity scene transitions when transitions 9 from one Activity to another. Uses a combination of changeImageTransform and 10 changeBounds to nicely transition a grid of images to an Activity with a large image
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LocalSampleInstrumentation.java | 19 import android.app.Activity; 33 public final Activity activity; 34 public ActivityRunnable(Activity _activity) { in ActivityRunnable() 89 finish(Activity.RESULT_OK, null); in onStart()
|
D | FragmentNestingTabs.java | 21 import android.app.Activity; 32 public class FragmentNestingTabs extends Activity { 71 private final Activity mActivity; 77 public TabListener(Activity activity, String tag, Class<T> clz) { in TabListener() 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { in TabListener()
|
D | FragmentTabs.java | 23 import android.app.Activity; 33 public class FragmentTabs extends Activity { 71 private final Activity mActivity; 77 public TabListener(Activity activity, String tag, Class<T> clz) { in TabListener() 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { in TabListener()
|
D | MaxAspectRatio.java | 19 import android.app.Activity; 21 public abstract class MaxAspectRatio extends Activity {
|
D | ContactsFilterInstrumentation.java | 19 import android.app.Activity; 52 Activity activity = startActivitySync(intent); in onStart() 70 finish(Activity.RESULT_OK, null); in onStart()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | StatusFragment.java | 19 import android.app.Activity; 59 public void onAttach(Activity activity) { in onAttach() 86 private void updateUi(Activity activity) { in updateUi() 100 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE); in updateUi() 130 private void unhideApp(Activity activity) { in unhideApp() 132 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE); in unhideApp()
|
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | WearPermissionRequestActivity.java | 19 import android.app.Activity; 53 setResult(Activity.RESULT_OK); in onClickApprovePermissionRequest() 59 setResult(Activity.RESULT_CANCELED); in onClickDenyPermissionRequest()
|
/development/samples/StartingWindow/src/com/example/android/startingwindow/ |
D | SecondActivity.java | 18 import android.app.Activity; 20 public class SecondActivity extends Activity {
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | BasicManagedProfileFragment.java | 19 import android.app.Activity; 98 public void onAttach(Activity activity) { in onAttach() 113 Activity activity = getActivity(); in isApplicationEnabled() 124 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE); in isApplicationEnabled() 204 Activity activity = getActivity(); in setAppEnabled() 244 final Activity activity = getActivity(); in setChromeRestrictions() 296 final Activity activity = getActivity(); in clearChromeRestrictions() 314 Activity activity = getActivity(); in enableForwarding() 336 Activity activity = getActivity(); in disableForwarding() 350 Activity activity = getActivity(); in sendIntent() [all …]
|
/development/apps/launchperf/src/com/android/launchperf/ |
D | EmptyActivity.java | 19 import android.app.Activity; 24 public class EmptyActivity extends Activity {
|
D | SimpleActivity.java | 22 import android.app.Activity; 25 public class SimpleActivity extends Activity {
|
D | ComplexActivity.java | 22 import android.app.Activity; 25 public class ComplexActivity extends Activity {
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | DeviceOwnerFragment.java | 19 import android.app.Activity; 140 public void onAttach(Activity activity) { in onAttach() 143 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE); in onAttach() 155 Activity activity = getActivity(); in onResume() 166 private void retrieveCurrentSettings(Activity activity) { in retrieveCurrentSettings() 247 private static String loadPersistentPreferredLauncher(Activity activity) { in loadPersistentPreferredLauncher() 258 private static void savePersistentPreferredLauncher(Activity activity, String packageName) { in savePersistentPreferredLauncher() 273 Activity activity = getActivity(); in setPreferredLauncher() 291 Activity activity = getActivity(); in clearPreferredLauncher()
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameViewActivity.java | 19 import android.app.Activity; 22 public class GameViewActivity extends Activity {
|
/development/apps/Fallback/src/com/android/fallback/ |
D | Fallback.java | 19 import android.app.Activity; 26 public class Fallback extends Activity {
|
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/ |
D | PasswordsActivity.java | 19 import android.app.Activity; 22 public class PasswordsActivity extends Activity {
|
D | SettingsActivity.java | 19 import android.app.Activity; 22 public class SettingsActivity extends Activity {
|
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/ |
D | SubActivity.java | 19 import android.app.Activity; 28 public class SubActivity extends Activity {
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | MainActivity.java | 19 import android.app.Activity; 29 public class MainActivity extends Activity {
|
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/ |
D | WearableActivity.java | 18 import android.app.Activity; 24 public class WearableActivity extends Activity {
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | MainActivity.java | 19 import android.app.Activity; 33 public class MainActivity extends Activity {
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | InstallApk.java | 23 import android.app.Activity; 48 public class InstallApk extends Activity { 72 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 74 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult() 80 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 82 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult()
|