Home
last modified time | relevance | path

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

123

/development/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.c243 static struct android_app* android_app_create(ANativeActivity* activity, in android_app_create()
336 static void onDestroy(ANativeActivity* activity) { in onDestroy()
341 static void onStart(ANativeActivity* activity) { in onStart()
346 static void onResume(ANativeActivity* activity) { in onResume()
351 static void* onSaveInstanceState(ANativeActivity* activity, size_t* outLen) { in onSaveInstanceState()
375 static void onPause(ANativeActivity* activity) { in onPause()
380 static void onStop(ANativeActivity* activity) { in onStop()
385 static void onConfigurationChanged(ANativeActivity* activity) { in onConfigurationChanged()
391 static void onLowMemory(ANativeActivity* activity) { in onLowMemory()
397 static void onWindowFocusChanged(ANativeActivity* activity, int focused) { in onWindowFocusChanged()
[all …]
/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/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/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java269 private void loadRestrictions(Activity activity) { in loadRestrictions()
437 private void saveCanSayHello(Activity activity, boolean allow) { in saveCanSayHello()
450 private void saveMessage(Activity activity, String message) { in saveMessage()
462 private void saveNumber(Activity activity, int number) { in saveNumber()
474 private void saveRank(Activity activity, String rank) { in saveRank()
480 private void addApproval(Activity activity, String approval) { in addApproval()
490 private void removeApproval(Activity activity, String approval) { in removeApproval()
506 private void saveApprovals(Activity activity, String[] approvals) { in saveApprovals()
520 private void saveProfile(Activity activity, String name, int age) { in saveProfile()
538 private void saveItems(Activity activity, Map<String, String> items) { in saveItems()
[all …]
DStatusFragment.java58 public void onAttach(Activity activity) { in onAttach()
85 private void updateUi(Activity activity) { in updateUi()
122 private void unhideApp(Activity activity) { in unhideApp()
/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
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()
DContactsSelectInstrumentation.java54 Activity activity = startActivitySync(intent); in onStart() 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/CardReader/src/com.example.android.cardreader/
DCardReaderFragment.java82 Activity activity = getActivity(); in enableReaderMode() local
91 Activity activity = getActivity(); in disableReaderMode() local
/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/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/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java357 final Activity activity = getActivity(); in showToast() local
492 Activity activity = getActivity(); in setUpCameraOutputs() local
610 Activity activity = getActivity(); in openCamera() local
741 Activity activity = getActivity(); in configureTransform() local
813 final Activity activity = getActivity(); in captureStillPicture() local
894 Activity activity = getActivity(); in onClick() local
988 final Activity activity = getActivity(); in onCreateDialog() local
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSampleMediaButtonReceiver.java35 public static void setActivity(MainActivity activity) { in setActivity()
/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()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java680 Activity activity = getActivity(); in onClick() local
696 Activity activity = getActivity(); in setUpCameraOutputs() local
775 Activity activity = getActivity(); in openCamera() local
844 Activity activity = getActivity(); in showMissingPermissionError() local
1038 Activity activity = getActivity(); in configureTransform() local
1207 final Activity activity = getActivity(); in captureStillPictureLocked() local
1542 final Activity activity = getActivity(); in onCreateDialog() local

123