Home
last modified time | relevance | path

Searched refs:activity (Results 1 – 6 of 6) sorted by relevance

/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareMockupAction.java43 public static void launch(Activity activity, CharSequence title) { in launch() argument
45 View v = activity.findViewById(R.id.preview); in launch()
56 File f = new File(activity.getExternalCacheDir(), FILE_NAME.format(new Date())); in launch()
65 Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show(); in launch()
76 activity.startActivity(Intent.createChooser(share, title)); in launch()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DEditors.java56 public static View newEditor(final NotificationStudioActivity activity, in newEditor() argument
58 final View editorView = activity.getLayoutInflater().inflate(R.layout.editable_item, null); in newEditor()
59 ((TextView) editorView.findViewById(R.id.caption)).setText(item.getCaption(activity)); in newEditor()
80 activity.refreshNotification(); in newEditor()
DDateTimeEditor.java90 Activity activity = (Activity) v.getContext(); in bindEditor() local
91 launchDialogOnClick(activity, "datePicker", dateButton, datePickerFragment); in bindEditor()
113 launchDialogOnClick(activity, "timePicker", timeButton, timePickerFragment); in bindEditor()
130 private static void launchDialogOnClick(final Activity activity, in launchDialogOnClick() argument
134 FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); in launchDialogOnClick()
/sdk/apps/SdkController/
DImplementation.txt22 need an activity to connect to them first.
27 can send data to the emulator) and an optional activity for UI (that displays
41 Note however that due to the asynchronous nature of the bind operation, the activity
46 When the activity is connected to the service, it can then use getServiceBinder()
49 In the other direction, the activity provides a listener for the service to notify
52 The activity can then access the handler:
55 and then the activity wants to provide a listener to get notified by the handler:
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java338 for (String activity : activities) { in analyzeData()
339 builder.append(activity).append(DATA_SEPARATOR); in analyzeData()
350 for (String activity : activities) { in analyzeData()
352 ArrayList<Long> list = mLaunchMap.get(activity); in analyzeData()
370 for (String activity : activities) { in analyzeData()
372 builder.append(activity).append(DATA_SEPARATOR); in analyzeData()
375 ArrayList<Long> list = mLaunchMap.get(activity); in analyzeData()
/sdk/docs/
Dhowto_use_cupcake_sdk.txt190 --package com.mycompany.myapp --activity MyActivityClass
191 --target 1 --mode activity