Home
last modified time | relevance | path

Searched defs:activity (Results 1 – 25 of 66) sorted by relevance

123

/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java98 public void onAttach(Activity activity) { in onAttach()
113 Activity activity = getActivity(); in isApplicationEnabled() local
204 Activity activity = getActivity(); in setAppEnabled() local
244 final Activity activity = getActivity(); in setChromeRestrictions() local
296 final Activity activity = getActivity(); in clearChromeRestrictions() local
314 Activity activity = getActivity(); in enableForwarding() local
336 Activity activity = getActivity(); in disableForwarding() local
350 Activity activity = getActivity(); in sendIntent() local
373 Activity activity = getActivity(); in removeProfile() local
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DTracking.java62 public synchronized void onResume(Activity activity) { in onResume()
82 public synchronized void onDestroy(Activity activity) { in onDestroy()
129 Activity activity = iterator.next(); in moveActivitiesInOrder() local
157 public static void logNameEventAndTask(Activity activity, String event) { in logNameEventAndTask()
212 public void activityResumed(Activity activity) { in activityResumed()
228 public boolean containsActivity(Activity activity) { in containsActivity()
238 private void ensureSameTask(Activity activity) { in ensureSameTask()
244 public void activityDestroyed(Activity activity) { in activityDestroyed()
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/
DForwardingTest.java87 Forwarding activity = startActivity(mStartIntent, null, null); in testSubLaunch() local
103 Forwarding activity = startActivity(mStartIntent, null, null); in testLifeCycleCreate() local
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
DInjector.java52 private Injector(Activity activity) { in Injector()
59 public static Injector get(Activity activity) { in get()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLocalSampleInstrumentation.java33 public final Activity activity; field in LocalSampleInstrumentation.ActivityRunnable
58 SaveRestoreState activity = (SaveRestoreState)startActivitySync(intent); in onStart() local
DContactsFilterInstrumentation.java52 Activity activity = startActivitySync(intent); in onStart() local
DContactsSelectInstrumentation.java54 Activity activity = startActivitySync(intent); in onStart() local
DFragmentNestingTabs.java77 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()
DFragmentTabs.java77 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()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DDeviceOwnerFragment.java140 public void onAttach(Activity activity) { in onAttach()
155 Activity activity = getActivity(); in onResume() local
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() local
291 Activity activity = getActivity(); in clearPreferredLauncher() local
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectBroadcastReceiver.java38 private Activity activity; field in WiFiDirectBroadcastReceiver
46 Activity activity) { in WiFiDirectBroadcastReceiver()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelper.java41 protected TabHelper(FragmentActivity activity) { in TabHelper()
51 public static TabHelper createInstance(FragmentActivity activity) { in createInstance()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectBroadcastReceiver.java36 private WiFiDirectActivity activity; field in WiFiDirectBroadcastReceiver
44 WiFiDirectActivity activity) { in WiFiDirectBroadcastReceiver()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java240 private void loadRestrictions(Activity activity) { in loadRestrictions()
378 private void saveCanSayHello(Activity activity, boolean allow) { in saveCanSayHello()
391 private void saveMessage(Activity activity, String message) { in saveMessage()
403 private void saveNumber(Activity activity, int number) { in saveNumber()
415 private void saveRank(Activity activity, String rank) { in saveRank()
421 private void addApproval(Activity activity, String approval) { in addApproval()
431 private void removeApproval(Activity activity, String approval) { in removeApproval()
447 private void saveApprovals(Activity activity, String[] approvals) { in saveApprovals()
460 private void saveItems(Activity activity, Map<String, String> items) { in saveItems()
486 private void saveRestrictions(Activity activity) { in saveRestrictions()
[all …]
DStatusFragment.java59 public void onAttach(Activity activity) { in onAttach()
86 private void updateUi(Activity activity) { in updateUi()
130 private void unhideApp(Activity activity) { in unhideApp()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DCardReaderFragment.java82 Activity activity = getActivity(); in enableReaderMode() local
91 Activity activity = getActivity(); in disableReaderMode() local
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSampleMediaButtonReceiver.java35 public static void setActivity(MainActivity activity) { in setActivity()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java90 Activity activity = getActivity(); in onActivityCreated() local
128 Activity activity = getActivity(); in onActivityResult() local
164 Activity activity = getActivity(); in startScreenCapture() local
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiInputPortSelector.java44 public MidiInputPortSelector(MidiManager midiManager, Activity activity, in MidiInputPortSelector()
DMidiOutputPortSelector.java44 public MidiOutputPortSelector(MidiManager midiManager, Activity activity, in MidiOutputPortSelector()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiInputPortSelector.java44 public MidiInputPortSelector(MidiManager midiManager, Activity activity, in MidiInputPortSelector()
DMidiOutputPortSelector.java44 public MidiOutputPortSelector(MidiManager midiManager, Activity activity, in MidiOutputPortSelector()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java320 Activity activity = getActivity(); in onClick() local
421 final Activity activity = getActivity(); in openCamera() local
510 Activity activity = getActivity(); in startPreview() local
551 Activity activity = getActivity(); in configureTransform() local
574 final Activity activity = getActivity(); in setUpMediaRecorder() local
682 Activity activity = getActivity(); in stopRecordingVideo() local
720 final Activity activity = getActivity(); in onCreateDialog() local
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java98 FragmentActivity activity = getActivity(); in onCreate() local
247 FragmentActivity activity = getActivity(); in setStatus() local
264 FragmentActivity activity = getActivity(); in setStatus() local
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivityTest.java73 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, ACTIVITY_WAIT); in testLoginOffered() local

123