Home
last modified time | relevance | path

Searched refs:show (Results 1 – 25 of 212) sorted by relevance

123456789

/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DSnackbarUsage.java48 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show(); in showShort()
57 Toast.LENGTH_SHORT).show(); in showAction()
59 }).show(); in showAction()
64 + "makes the Snackbar taller", Snackbar.LENGTH_SHORT).show(); in showLong()
74 Toast.LENGTH_SHORT).show(); in showLongAction()
76 }).show(); in showLongAction()
86 Toast.LENGTH_SHORT).show(); in showLongLongAction()
88 }).show(); in showLongLongAction()
/development/ndk/platforms/android-3/include/linux/
Dsysdev.h31 ssize_t (*show)(struct sysdev_class *, char *); member
35 …tr_##_name = { .attr = {.name = __stringify(_name), .mode = _mode }, .show = _show, .store =…
54 ssize_t (*show)(struct sys_device *, char *); member
58 …tr_##_name = { .attr = {.name = __stringify(_name), .mode = _mode }, .show = _show, .store =…
Dsysfs.h31 … = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE }, .show = _show, .store =…
33 …tr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE }, .show = _name##_show, }
52 ssize_t (*show)(struct kobject *, struct attribute *,char *); member
Ddevice.h63 ssize_t (*show)(struct bus_type *, char * buf); member
89 ssize_t (*show)(struct device_driver *, char * buf); member
121 ssize_t (*show)(struct class *, char * buf); member
129 ssize_t (*show)(struct class_device *, char * buf); member
164 ssize_t (*show)(struct device *dev, struct device_attribute *attr, member
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarFragmentMenu.java102 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility()
104 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
116 if (mCheckBox3.isChecked()) ft.show(mFragment2.mFragment3); in updateFragmentVisibility()
147 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
151 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
187 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
208 Toast.LENGTH_SHORT).show(); in onCreateOptionsMenu()
216 Toast.LENGTH_SHORT).show(); in onDestroyOptionsMenu()
223 Toast.LENGTH_SHORT).show(); in onPrepareOptionsMenu()
231 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DAlertDialogUsage.java72 b.show(); in showSimpleDialog()
81 b.show(); in showSimpleButtonsDialog()
89 b.show(); in showSingleChoiceDialog()
97 b.show(); in showMultiChoiceDialog()
DDialogUsage.java70 dialog.show(); in showSimpleDialog()
77 dialog.show(); in showButtonBarDialog()
99 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DDialogFragmentUsage.java73 fragment.show(getSupportFragmentManager(), null); in showSimpleDialog()
78 fragment.show(getSupportFragmentManager(), null); in showButtonBarDialog()
122 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/
DMainActivity.java88 .show(); in onRequestPermissionsResult()
94 .show(); in onRequestPermissionsResult()
108 Snackbar.LENGTH_SHORT).show(); in showCameraPreview()
138 }).show(); in requestCameraPermission()
143 Snackbar.LENGTH_SHORT).show(); in requestCameraPermission()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java143 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
154 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
160 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
189 Toast.LENGTH_SHORT).show(); in connect()
219 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show(); in onChannelDisconnected()
226 Toast.LENGTH_LONG).show(); in onChannelDisconnected()
252 Toast.LENGTH_SHORT).show(); in cancelDisconnect()
259 Toast.LENGTH_SHORT).show(); in cancelDisconnect()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApk.java78 Toast.makeText(this, "Install succeeded!", Toast.LENGTH_SHORT).show(); in onActivityResult()
80 Toast.makeText(this, "Install canceled!", Toast.LENGTH_SHORT).show(); in onActivityResult()
82 Toast.makeText(this, "Install Failed!", Toast.LENGTH_SHORT).show(); in onActivityResult()
86 Toast.makeText(this, "Uninstall succeeded!", Toast.LENGTH_SHORT).show(); in onActivityResult()
88 Toast.makeText(this, "Uninstall canceled!", Toast.LENGTH_SHORT).show(); in onActivityResult()
90 Toast.makeText(this, "Uninstall Failed!", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DSetupProfileFragment.java83 Toast.LENGTH_SHORT).show(); in provisionManagedProfile()
91 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult()
93 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DSetupProfileFragment.java85 Toast.LENGTH_SHORT).show(); in provisionManagedProfile()
93 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult()
95 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DPopupMenu1.java46 Toast.LENGTH_SHORT).show(); in onPopupButtonClick()
51 popup.show(); in onPopupButtonClick()
DSecureView.java106 toast.show(); in showOverlay()
120 .show(); in setClickedAction()
135 .show(); in setTouchFilter()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShareService.java42 Toast.LENGTH_LONG).show(); in onHandleIntent()
56 Toast.makeText(ReceiveShareService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java163 .show(); in requestCameraPermission()
227 .show(); in requestContactsPermissions()
277 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult()
281 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult()
295 .show(); in onRequestPermissionsResult()
300 .show(); in onRequestPermissionsResult()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSecureDialogActivity.java71 Button button = (Button)findViewById(R.id.show); in onCreate()
92 dialog.show(); in onClick()
DNotifyWithText.java59 Toast.LENGTH_SHORT).show(); in onCreate()
71 Toast.LENGTH_LONG).show(); in onCreate()
DAlarmController.java110 mToast.show();
142 mToast.show();
164 mToast.show();
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentFragment.java201 void setSystemUiVisible(boolean show) { in setSystemUiVisible() argument
202 mSystemUiVisible = show; in setSystemUiVisible()
209 if (show) { in setSystemUiVisible()
215 actionBar.show(); in setSystemUiVisible()
304 Toast.LENGTH_SHORT).show(); in shareCurrentPhoto()
332 Toast.LENGTH_SHORT).show(); in shareCurrentPhoto()
339 Toast.LENGTH_SHORT).show(); in shareCurrentPhoto()
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
DContentLoadingProgressBarActivity.java62 mShowButton = (Button)findViewById(R.id.show); in onCreate()
80 case R.id.show: in onClick()
81 mBar.show(); in onClick()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DMainActivity.java97 Toast.LENGTH_LONG).show(); in onRequestPermissionsResult()
106 Toast.LENGTH_LONG).show(); in onRequestPermissionsResult()
134 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onRequestPermissionsResult()
143 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onRequestPermissionsResult()
203 + "Retry the purchase", Toast.LENGTH_LONG).show(); in tryEncrypt()
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreviewActivity.java61 Toast.makeText(this, "Camera is not available.", Toast.LENGTH_SHORT).show(); in onCreate()
93 Toast.LENGTH_SHORT).show(); in getCameraInstance()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmActivity.java112 ).show(); // show the message on the screen
130 ).show(); // display the message

123456789