/development/ndk/platforms/android-9/include/android/ |
D | native_activity.h | 114 void (*onStart)(ANativeActivity* activity); 120 void (*onResume)(ANativeActivity* activity); 131 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize); 137 void (*onPause)(ANativeActivity* activity); 143 void (*onStop)(ANativeActivity* activity); 149 void (*onDestroy)(ANativeActivity* activity); 155 void (*onWindowFocusChanged)(ANativeActivity* activity, int hasFocus); 161 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window); 168 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window); 176 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window); [all …]
|
/development/ndk/sources/android/native_app_glue/ |
D | android_native_app_glue.c | 134 android_app->activity->assetManager); in android_app_pre_exec_cmd() 213 AConfiguration_fromAssetManager(android_app->config, android_app->activity->assetManager); in android_app_entry() 244 static struct android_app* android_app_create(ANativeActivity* activity, in android_app_create() argument 248 android_app->activity = activity; in android_app_create() 337 static void onDestroy(ANativeActivity* activity) { in onDestroy() argument 338 LOGV("Destroy: %p\n", activity); in onDestroy() 339 android_app_free((struct android_app*)activity->instance); in onDestroy() 342 static void onStart(ANativeActivity* activity) { in onStart() argument 343 LOGV("Start: %p\n", activity); in onStart() 344 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_START); in onStart() [all …]
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectBroadcastReceiver.java | 36 private WiFiDirectActivity activity; field in WiFiDirectBroadcastReceiver 44 WiFiDirectActivity activity) { in WiFiDirectBroadcastReceiver() argument 48 this.activity = activity; in WiFiDirectBroadcastReceiver() 65 activity.setIsWifiP2pEnabled(true); in onReceive() 67 activity.setIsWifiP2pEnabled(false); in onReceive() 68 activity.resetData(); in onReceive() 78 manager.requestPeers(channel, (PeerListListener) activity.getFragmentManager() in onReceive() 96 DeviceDetailFragment fragment = (DeviceDetailFragment) activity in onReceive() 101 activity.resetData(); in onReceive() 104 DeviceListFragment fragment = (DeviceListFragment) activity.getFragmentManager() in onReceive()
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
D | ActionBarHelper.java | 42 public static ActionBarHelper createInstance(Activity activity) { in createInstance() argument 44 return new ActionBarHelperICS(activity); in createInstance() 46 return new ActionBarHelperHoneycomb(activity); in createInstance() 48 return new ActionBarHelperBase(activity); in createInstance() 52 protected ActionBarHelper(Activity activity) { in ActionBarHelper() argument 53 mActivity = activity; in ActionBarHelper()
|
D | ActionBarHelperICS.java | 29 protected ActionBarHelperICS(Activity activity) { in ActionBarHelperICS() argument 30 super(activity); in ActionBarHelperICS()
|
D | ActionBarHelperHoneycomb.java | 36 protected ActionBarHelperHoneycomb(Activity activity) { in ActionBarHelperHoneycomb() argument 37 super(activity); in ActionBarHelperHoneycomb()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LocalSampleInstrumentation.java | 33 public final Activity activity; field in LocalSampleInstrumentation.ActivityRunnable 35 activity = _activity; in ActivityRunnable() 58 SaveRestoreState activity = (SaveRestoreState)startActivitySync(intent); in onStart() local 62 "Initial text: " + activity.getSavedText()); in onStart() 65 runOnMainSync(new ActivityRunnable(activity) { in onStart() 67 ((SaveRestoreState)activity).setSavedText(""); in onStart() 85 "Final text: " + activity.getSavedText()); in onStart()
|
D | FragmentNestingTabs.java | 77 public TabListener(Activity activity, String tag, Class<T> clz) { in TabListener() argument 78 this(activity, tag, clz, null); in TabListener() 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { in TabListener() argument 82 mActivity = activity; in TabListener()
|
D | FragmentTabs.java | 77 public TabListener(Activity activity, String tag, Class<T> clz) { in TabListener() argument 78 this(activity, tag, clz, null); in TabListener() 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { in TabListener() argument 82 mActivity = activity; in TabListener()
|
D | ContactsFilterInstrumentation.java | 52 Activity activity = startActivitySync(intent); in onStart() local 55 Log.i("ContactsFilterInstrumentation", "Started: " + activity); in onStart()
|
D | FragmentArguments.java | 72 @Override public void onInflate(Activity activity, AttributeSet attrs, in onInflate() argument 74 super.onInflate(activity, attrs, savedInstanceState); in onInflate() 76 TypedArray a = activity.obtainStyledAttributes(attrs, in onInflate()
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
D | ForwardingTest.java | 87 Forwarding activity = startActivity(mStartIntent, null, null); in testSubLaunch() local 88 mButton = (Button) activity.findViewById(R.id.go); in testSubLaunch() 103 Forwarding activity = startActivity(mStartIntent, null, null); in testLifeCycleCreate() local 107 getInstrumentation().callActivityOnStart(activity); in testLifeCycleCreate() 108 getInstrumentation().callActivityOnResume(activity); in testLifeCycleCreate() 114 getInstrumentation().callActivityOnPause(activity); in testLifeCycleCreate() 119 getInstrumentation().callActivityOnStop(activity); in testLifeCycleCreate()
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
D | ActionBarCompat.java | 32 static void setDisplayHomeAsUpEnabled(Activity activity, boolean enable) { in setDisplayHomeAsUpEnabled() argument 33 activity.getActionBar().setDisplayHomeAsUpEnabled(enable); in setDisplayHomeAsUpEnabled() 37 public static void setDisplayHomeAsUpEnabled(Activity activity, boolean enable) { in setDisplayHomeAsUpEnabled() argument 39 ActionBarCompatImpl.setDisplayHomeAsUpEnabled(activity, enable); in setDisplayHomeAsUpEnabled()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | TabHelper.java | 41 protected TabHelper(FragmentActivity activity) { in TabHelper() argument 42 mActivity = activity; in TabHelper() 51 public static TabHelper createInstance(FragmentActivity activity) { in createInstance() argument 53 return new TabHelperHoneycomb(activity); in createInstance() 55 return new TabHelperEclair(activity); in createInstance()
|
D | CompatTab.java | 32 protected CompatTab(FragmentActivity activity, String tag) { in CompatTab() argument 33 mActivity = activity; in CompatTab()
|
D | CompatTabHoneycomb.java | 38 protected CompatTabHoneycomb(FragmentActivity activity, String tag) { in CompatTabHoneycomb() argument 39 super(activity, tag); in CompatTabHoneycomb() 40 mTab = activity.getActionBar().newTab(); in CompatTabHoneycomb()
|
D | CompatTabEclair.java | 32 protected CompatTabEclair(FragmentActivity activity, String tag) { in CompatTabEclair() argument 33 super(activity, tag); in CompatTabEclair()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/ |
D | Injector.java | 52 private Injector(Activity activity) { in Injector() argument 53 mActivity = activity; in Injector() 59 public static Injector get(Activity activity) { in get() argument 60 return new Injector(activity); in get()
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | WiFiDirectBroadcastReceiver.java | 38 private Activity activity; field in WiFiDirectBroadcastReceiver 46 Activity activity) { in WiFiDirectBroadcastReceiver() argument 50 this.activity = activity; in WiFiDirectBroadcastReceiver() 78 (ConnectionInfoListener) activity); in onReceive()
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
D | HeadlinesFragment.java | 58 public void onAttach(Activity activity) { in onAttach() argument 59 super.onAttach(activity); in onAttach() 64 mCallback = (OnHeadlineSelectedListener) activity; in onAttach() 66 throw new ClassCastException(activity.toString() in onAttach()
|
/development/ndk/platforms/android-9/samples/native-activity/ |
D | Android.mk | 48 LOCAL_MODULE := libnative-activity 65 LOCAL_JNI_SHARED_LIBRARIES := libnative-activity
|
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/ |
D | AuthenticatorActivityTest.java | 73 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, ACTIVITY_WAIT); in testLoginOffered() local 74 View loginbutton = activity.findViewById(R.id.ok_button); in testLoginOffered()
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | ActionBarTabsPager.java | 100 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 101 super(activity.getFragmentManager()); in TabsAdapter() 102 mContext = activity; in TabsAdapter() 103 mActionBar = activity.getActionBar(); in TabsAdapter()
|
D | FragmentNestingStatePagerSupport.java | 98 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 99 super(activity.getFragmentManager()); in TabsAdapter() 100 mContext = activity; in TabsAdapter() 101 mActionBar = activity.getActionBar(); in TabsAdapter()
|
D | FragmentNestingPagerSupport.java | 98 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 99 super(activity.getFragmentManager()); in TabsAdapter() 100 mContext = activity; in TabsAdapter() 101 mActionBar = activity.getActionBar(); in TabsAdapter()
|