Home
last modified time | relevance | path

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

12345

/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()
/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/tools/emulator/opengl/host/libs/Translator/GLcommon/
DGLESvalidate.cpp69 bool GLESvalidate::drawMode(GLenum mode) { in drawMode() argument
70 switch(mode) { in drawMode()
83 bool GLESvalidate::drawType(GLenum mode) { in drawType() argument
84 return mode == GL_UNSIGNED_BYTE || in drawType()
85 mode == GL_UNSIGNED_SHORT || in drawType()
86 mode == GL_UNSIGNED_INT; in drawType()
111 bool GLESvalidate::blendEquationMode(GLenum mode){ in blendEquationMode() argument
112 return mode == GL_FUNC_ADD || in blendEquationMode()
113 mode == GL_FUNC_SUBTRACT || in blendEquationMode()
114 mode == GL_FUNC_REVERSE_SUBTRACT; in blendEquationMode()
/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/tools/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Validate.cpp18 bool GLESv2Validate::blendEquationMode(GLenum mode){ in blendEquationMode() argument
19 return mode == GL_FUNC_ADD || in blendEquationMode()
20 mode == GL_FUNC_SUBTRACT || in blendEquationMode()
21 mode == GL_FUNC_REVERSE_SUBTRACT; in blendEquationMode()
80 bool GLESv2Validate::hintTargetMode(GLenum target,GLenum mode){ in hintTargetMode() argument
82 switch(mode) { in hintTargetMode()
DGLESv2Validate.h25 static bool blendEquationMode(GLenum mode);
29 static bool hintTargetMode(GLenum target,GLenum mode);
/development/tools/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLESvalidate.h29 static bool drawMode(GLenum mode);
30 static bool drawType(GLenum mode);
35 static bool blendEquationMode(GLenum 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/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/tools/emulator/opengl/host/libs/libOpenglRender/
Drender_api.cpp324 setStreamMode(int mode) in setStreamMode() argument
326 switch (mode) { in setStreamMode()
328 mode = DEFAULT_STREAM_MODE; in setStreamMode()
345 gRendererStreamMode = mode; in setStreamMode()
/development/tools/emulator/opengl/host/libs/GLESv2_dec/
DGL2Decoder.cpp106 void GL2Decoder::s_glDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * d… in s_glDrawElementsData() argument
109 ctx->glDrawElements(mode, count, type, data); in s_glDrawElementsData()
113 void GL2Decoder::s_glDrawElementsOffset(void *self, GLenum mode, GLsizei count, GLenum type, GLuint… in s_glDrawElementsOffset() argument
116 ctx->glDrawElements(mode, count, type, (void *)offset); in s_glDrawElementsOffset()
DGL2Decoder.h31 …static void gl2_APIENTRY s_glDrawElementsOffset(void *self, GLenum mode, GLsizei count, GLenum typ…
32 …static void gl2_APIENTRY s_glDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type,…
/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/
Dxt_CONNSECMARK.h21 u_int8_t mode; member
Dxt_SECMARK.h24 u_int8_t mode; member
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
Dipt_TTL.h24 u_int8_t mode; member
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java356 PaintMode mode; in onTouchOrHoverEvent() local
359 mode = PaintMode.Splat; in onTouchOrHoverEvent()
362 mode = PaintMode.Draw; in onTouchOrHoverEvent()
375 paint(getPaintModeForTool(event.getToolType(j), mode), in onTouchOrHoverEvent() local
387 paint(getPaintModeForTool(event.getToolType(j), mode), in onTouchOrHoverEvent() local
414 private void paint(PaintMode mode, float x, float y) { in paint() argument
415 paint(mode, x, y, 1.0f, 0, 0, 0, 0, 0); in paint()
418 private void paint(PaintMode mode, float x, float y, float pressure, in paint() argument
427 switch (mode) { in paint()
/development/ndk/platforms/android-3/arch-arm/include/asm/
Dipcbuf.h22 __kernel_mode_t mode; member

12345