Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 85) sorted by relevance

1234

/development/samples/ApiDemos/src/com/example/android/apis/view/
DList15.java52 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
55 mode.setTitle("Select Items"); in onCreateActionMode()
56 setSubtitle(mode); in onCreateActionMode()
60 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
64 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
69 mode.finish(); in onActionItemClicked()
79 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
82 public void onItemCheckedStateChanged(ActionMode mode, in onItemCheckedStateChanged() argument
84 setSubtitle(mode); in onItemCheckedStateChanged()
87 private void setSubtitle(ActionMode mode) { in setSubtitle() argument
[all …]
DList16.java54 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
57 mode.setTitle("Select Items"); in onCreateActionMode()
61 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
65 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
70 mode.finish(); in onActionItemClicked()
80 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
83 public void onItemCheckedStateChanged(ActionMode mode, in onItemCheckedStateChanged() argument
88 mode.setSubtitle(null); in onItemCheckedStateChanged()
91 mode.setSubtitle("One item selected"); in onItemCheckedStateChanged()
94 mode.setSubtitle("" + checkedCount + " items selected"); in onItemCheckedStateChanged()
DGrid3.java133 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
134 mode.setTitle("Select Items"); in onCreateActionMode()
135 mode.setSubtitle("One item selected"); in onCreateActionMode()
139 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
143 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
147 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
150 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, in onItemCheckedStateChanged() argument
155 mode.setSubtitle("One item selected"); in onItemCheckedStateChanged()
158 mode.setSubtitle("" + selectCount + " items selected"); in onItemCheckedStateChanged()
DOverscanActivity.java80 @Override public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
81 mode.setTitle("My Action Mode!"); in onCreateActionMode()
82 mode.setSubtitle(null); in onCreateActionMode()
83 mode.setTitleOptionalHint(false); in onCreateActionMode()
89 @Override public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
93 @Override public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
97 @Override public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
/development/ndk/platforms/android-3/include/linux/
Dqic117.h65 unused, mode, motion, report enumerator
77mode, 0, discretional}, {"soft reset", 0x00, 0x00, motion, 1, required}, {"report next bit", 0…
Dproc_fs.h38 mode_t mode; member
73 #define proc_net_fops_create(name, mode, fops) ({ (void)(mode), NULL; }) argument
74 #define proc_net_create(name, mode, info) ({ (void)(mode), NULL; }) argument
Dsysfs.h23 mode_t mode; member
31 #define __ATTR(_name,_mode,_show,_store) { .attr = {.name = __stringify(_name), .mode = _mode, .o…
33 #define __ATTR_RO(_name) { .attr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODU…
Datmsap.h71 unsigned char mode; member
80 unsigned char mode; member
Dsysdev.h35 …_class_attribute attr_##_name = { .attr = {.name = __stringify(_name), .mode = _mode }, .show …
58 …sysdev_attribute attr_##_name = { .attr = {.name = __stringify(_name), .mode = _mode }, .show …
/development/ndk/sources/android/libportable/arch-mips/
Dopen.c65 mode_t mode = 0; in open_portable() local
73 mode = (mode_t) va_arg(args, int); in open_portable()
77 return __open(pathname, mips_change_flags(flags), mode); in open_portable()
83 mode_t mode = 0; in openat_portable() local
92 mode = (mode_t) va_arg(args, int); in openat_portable()
96 return __openat(fd, pathname, mips_change_flags(flags), mode); in openat_portable()
/development/ndk/platforms/android-3/include/
Dfcntl.h46 extern int open(const char* path, int mode, ...);
47 extern int openat(int fd, const char* path, int mode, ...);
50 extern int creat(const char* path, mode_t mode);
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/
Dmux.h18 #define MUX_REG(reg, mode_offset, mode) .mux_reg = FUNC_MUX_CTRL_##reg, .mask_offset = mode_offse… argument
24 …ne MUX_REG_730(reg, mode_offset, mode) .mux_reg = OMAP730_IO_CONF_##reg, .mask_offset = mode_o… argument
28mode, pull_reg, pull_bit, pull_status, pu_pd_reg, pu_pd_status, debug_status) { .name = des… argument
30 …ode_offset, mode, pull_bit, pull_status, debug_status) { .name = desc, .debug = debug_status… argument
32 …24XX(desc, reg_offset, mode, pull_en, pull_mode, dbg) { .name = desc, .debug = dbg, .mux_… argument
/development/scripts/
Ddivide_and_compress.py176 old_fp = self.OpenZipFileAtPath(old_archive, mode='r')
183 mode='w',
195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED): argument
197 if mode is None:
199 mode = 'a'
201 mode = 'w'
203 if mode == 'r':
204 return zipfile.ZipFile(path, mode)
206 return zipfile.ZipFile(path, mode, compress)
295 archive_obj = self.OpenZipFileAtPath(archive_path, mode='r')
/development/ndk/sources/android/libportable/arch-x86/
Dopen.c61 mode_t mode = 0; in open_portable() local
69 mode = (mode_t) va_arg(args, int); in open_portable()
73 return __open(pathname, x86_change_flags(flags), mode); in open_portable()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixGrabber.java55 private void getMatrix(GL10 gl, int mode, float[] mat) { in getMatrix() argument
57 gl2.glMatrixMode(mode); in getMatrix()
/development/ndk/platforms/android-3/include/linux/netfilter/
Dxt_CONNSECMARK.h21 u_int8_t mode; member
Dxt_SECMARK.h24 u_int8_t mode; member
/development/ndk/platforms/android-3/include/sys/
Dstat.h101 extern int mkdirat(int dirfd, const char *pathname, mode_t mode);
103 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
Dipt_TTL.h24 u_int8_t mode; member
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dipcbuf.h30 __kernel_mode_t mode; member
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dipcbuf.h30 __kernel_mode_t mode; member
/development/ndk/platforms/android-3/arch-arm/include/asm/
Dipcbuf.h22 __kernel_mode_t mode; member
/development/tools/emulator/system/camera/
DEmulatedCameraDevice.cpp125 void EmulatedCameraDevice::initializeWhiteBalanceModes(const char* mode, in initializeWhiteBalanceModes() argument
128 ALOGV("%s with %s, %f, %f", __FUNCTION__, mode, r_scale, b_scale); in initializeWhiteBalanceModes()
131 mSupportedWhiteBalanceScale.add(String8(mode), value); in initializeWhiteBalanceModes()
134 void EmulatedCameraDevice::setWhiteBalanceMode(const char* mode) { in setWhiteBalanceMode() argument
135 ALOGV("%s with white balance %s", __FUNCTION__, mode); in setWhiteBalanceMode()
137 mSupportedWhiteBalanceScale.valueFor(String8(mode)); in setWhiteBalanceMode()
/development/ndk/platforms/android-9/arch-mips/include/sys/
Dstat.h135 extern int mkdirat(int dirfd, const char *pathname, mode_t mode);
137 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSharingSupportProvider.java75 public ParcelFileDescriptor openFile(Uri uri, String mode) { in openFile() argument
77 if (mode.equals("r") && in openFile()

1234