Searched refs:show (Results 1 - 25 of 179) sorted by relevance

12345678

/development/ndk/platforms/android-3/include/linux/
H A Dsysdev.h31 ssize_t (*show)(struct sysdev_class *, char *); member in struct:sysdev_class_attribute
35 #define SYSDEV_CLASS_ATTR(_name,_mode,_show,_store) struct sysdev_class_attribute attr_##_name = { .attr = {.name = __stringify(_name), .mode = _mode }, .show = _show, .store = _store, };
54 ssize_t (*show)(struct sys_device *, char *); member in struct:sysdev_attribute
58 #define SYSDEV_ATTR(_name,_mode,_show,_store) struct sysdev_attribute attr_##_name = { .attr = {.name = __stringify(_name), .mode = _mode }, .show = _show, .store = _store, };
H A Dsysfs.h31 #define __ATTR(_name,_mode,_show,_store) { .attr = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE }, .show = _show, .store = _store, }
33 #define __ATTR_RO(_name) { .attr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE }, .show = _name##_show, }
52 ssize_t (*show)(struct kobject *, struct attribute *,char *); member in struct:sysfs_ops
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
H A DMainActivity.java60 Toast.makeText(this, "Tapped home", Toast.LENGTH_SHORT).show();
64 Toast.makeText(this, "Fake refreshing...", Toast.LENGTH_SHORT).show();
76 Toast.makeText(this, "Tapped search", Toast.LENGTH_SHORT).show();
80 Toast.makeText(this, "Tapped share", Toast.LENGTH_SHORT).show();
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DSecureDialogActivity.java46 * secondary display should not show the contents of the secure surface.
70 // Handle click events on the button to show the dialog.
71 Button button = (Button)findViewById(R.id.show);
76 * Called when the button to show the dialog is clicked.
92 dialog.show();
H A DAppUpdateReceiver.java32 Toast.makeText(context, R.string.app_update_received, Toast.LENGTH_SHORT).show();
H A DAppUpdateSspReceiver.java31 Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
H A DOneShotAlarm.java32 * When the alarm goes off, we show a <i>Toast</i>, a quick message.
39 Toast.makeText(context, R.string.one_shot_received, Toast.LENGTH_SHORT).show();
H A DRepeatingAlarm.java37 Toast.makeText(context, R.string.repeating_received, Toast.LENGTH_SHORT).show();
H A DNotifyWithText.java49 // Note that we create the Toast object and call the show() method
59 Toast.LENGTH_SHORT).show();
71 Toast.LENGTH_LONG).show();
H A DActionBarMechanics.java47 // Menu items default to never show in the action bar. On most devices this means
48 // they will show in the standard options menu panel when the menu button is pressed.
55 // Items that show as actions should favor the "if room" setting, which will
56 // prevent too many buttons from crowding the bar. Extra items will show in the
60 // Items that show as actions are strongly encouraged to use an icon.
70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
H A DActionBarUsage.java68 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
90 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show();
H A DAlarmService.java73 Toast.LENGTH_LONG).show();
85 Toast.LENGTH_LONG).show();
H A DFragmentAlertDialog.java34 * Demonstrates how to show an AlertDialog that is managed by a Fragment.
47 Button button = (Button)findViewById(R.id.show);
59 newFragment.show(getFragmentManager(), "dialog");
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DPopupMenu1.java30 * show a popup menu from an XML resource.
46 Toast.LENGTH_SHORT).show();
51 popup.show();
H A DSecureView.java106 toast.show();
120 .show();
135 .show();
H A DSwitches.java46 Toast.LENGTH_SHORT).show();
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DActionBarFragmentMenu.java102 if (mCheckBox1.isChecked()) ft.show(mFragment1);
104 if (mCheckBox2.isChecked()) ft.show(mFragment2);
116 if (mCheckBox3.isChecked()) ft.show(mFragment2.mFragment3);
147 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show();
151 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show();
187 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show();
208 Toast.LENGTH_SHORT).show();
216 Toast.LENGTH_SHORT).show();
223 Toast.LENGTH_SHORT).show();
231 Toast.LENGTH_SHORT).show();
[all...]
H A DActionBarMechanics.java48 // Menu items default to never show in the action bar. On most devices this means
49 // they will show in the standard options menu panel when the menu button is pressed.
56 // Items that show as actions should favor the "if room" setting, which will
57 // prevent too many buttons from crowding the bar. Extra items will show in the
61 // Items that show as actions are strongly encouraged to use an icon.
70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
H A DSetupProfileFragment.java85 Toast.LENGTH_SHORT).show();
93 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show();
95 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show();
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
H A DSetupProfileFragment.java83 Toast.LENGTH_SHORT).show();
91 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show();
93 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show();
/development/samples/Alarm/src/com/example/android/newalarm/
H A DAlarmActivity.java112 ).show(); // show the message on the screen
130 ).show(); // display the message
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DWiFiDirectActivity.java143 Toast.LENGTH_SHORT).show();
154 Toast.LENGTH_SHORT).show();
160 Toast.LENGTH_SHORT).show();
189 Toast.LENGTH_SHORT).show();
219 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show();
226 Toast.LENGTH_LONG).show();
252 Toast.LENGTH_SHORT).show();
259 Toast.LENGTH_SHORT).show();
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DContentLoadingProgressBarActivity.java62 mShowButton = (Button)findViewById(R.id.show);
80 case R.id.show:
81 mBar.show();
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/
H A DTeapotApplication.java45 Toast.makeText(this, applicationName, Toast.LENGTH_SHORT).show();
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
H A DMainActivity.java54 .show();

Completed in 415 milliseconds

12345678