Searched defs:depth (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/sax/java/android/sax/
H A DChildren.java37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
91 Child(Element parent, String uri, String localName, int depth, argument
93 super(parent, uri, localName, depth);
H A DElement.java36 final int depth; field in class:Element
48 Element(Element parent, String uri, String localName, int depth) { argument
52 this.depth = depth;
H A DRootElement.java100 int depth = -1; field in class:RootElement.Handler
112 int depth = ++this.depth;
114 if (depth == 0) {
128 if (depth == current.depth + 1) {
183 if (depth == current.depth) {
204 depth--;
/frameworks/base/tests/CoreTests/android/core/
H A DMonitorTest.java299 private static void deepWait(int depth, Object lock) { argument
301 if (depth > 0) {
302 deepWait(depth - 1, lock);
/frameworks/base/tools/localize/
H A Dres_check.cpp10 static int scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth = 0);
91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth) argument
95 if (depth == 0 || !is_xliff_block(value->Namespace(), value->Name())) {
98 err |= scan_for_unguarded_format(pos, children[i], depth+1);
/frameworks/base/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java65 public GL2JNIView(Context context, boolean translucent, int depth, int stencil) { argument
67 init(translucent, depth, stencil);
70 private void init(boolean translucent, int depth, int stencil) { argument
73 new ConfigChooser(8,8,8,8, depth, stencil) :
74 new ConfigChooser(5,6,5,0, depth, stencil));
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { argument
117 mDepthSize = depth;
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java68 public GLDualGL2View(Context context, boolean translucent, int depth, int stencil) { argument
70 init(translucent, depth, stencil);
73 private void init(boolean translucent, int depth, int stencil) { argument
76 new ConfigChooser(8,8,8,8, depth, stencil) :
77 new ConfigChooser(5,6,5,0, depth, stencil));
115 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { argument
120 mDepthSize = depth;
/frameworks/base/media/libdrm/mobile1/include/xml/
H A Dxml_tinyParser.h116 int32_t depth; member in struct:_WBXML
/frameworks/base/tools/aapt/
H A DXMLNode.cpp269 static String8 make_prefix(int depth) argument
273 for (i=0; i<depth; i++) {
305 int depth = 0; local
307 String8 prefix = make_prefix(depth);
321 depth++;
322 prefix = make_prefix(depth);
355 depth--;
369 depth++;
371 depth--;
382 prefix = make_prefix(depth);
[all...]
H A DCommand.cpp464 int depth = 0; local
467 depth--;
473 depth++;
475 //printf("Depth %d tag %s\n", depth, tag.string());
476 if (depth == 1) {
483 } else if (depth == 2 && tag == "permission") {
491 } else if (depth == 2 && tag == "uses-permission") {
504 int depth = 0; local
580 depth--;
581 if (depth <
[all...]
H A DResource.cpp1904 int depth = 0; local
1935 if (/* name == "Application" && */ depth == 2) {
1938 depth--;
1944 depth++;
1946 // printf("Depth %d tag %s\n", depth, tag.string());
1948 if (depth == 1) {
1954 } else if (depth == 2) {
1969 if (!keepTag && inApplication && depth == 3) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeXmlBlockParser.java131 public int getNamespaceCount(int depth) throws XmlPullParserException { argument
/frameworks/base/opengl/libagl/
H A Dstate.cpp98 // in OpenGL, writing to the depth buffer is enabled by default.
444 params[0] = c->rasterizer.state.buffers.depth.format ? 0 : 16;
618 void glClearDepthx(GLclampx depth) { argument
620 c->rasterizer.procs.clearDepthx(c, depth);
623 void glClearDepthf(GLclampf depth) argument
626 c->rasterizer.procs.clearDepthx(c, gglFloatToFixed(depth));
H A Dmatrix.cpp386 void matrix_stack_t::init(int depth) { argument
387 stack = new matrixf_t[depth];
388 ops = new uint8_t[depth];
389 maxDepth = depth;
390 depth = 0;
402 stack[depth].loadIdentity();
403 ops[depth] = OP_IDENTITY;
409 stack[depth].load(rhs);
410 ops[depth] = OP_ALL; // TODO: we should look at the matrix
415 stack[depth]
[all...]
H A Degl.cpp163 GGLSurface depth; member in struct:android::egl_surface_t
171 depth.version = sizeof(GGLSurface);
172 depth.data = 0;
173 depth.format = depthFormat;
178 free(depth.data);
403 // allocate a corresponding depth-buffer
406 if (depth.format) {
407 depth.width = width;
408 depth.height = height;
409 depth
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java126 public int getNamespaceCount(int depth) throws XmlPullParserException { argument
/frameworks/base/media/libstagefright/
H A DMPEG4Extractor.cpp416 status_t MPEG4Extractor::parseChunk(off_t *offset, int depth) { argument
438 const char *indent = &kWhitespace[sizeof(kWhitespace) - 1 - 2 * depth];
463 status_t err = parseChunk(offset, depth + 1);
529 status_t err = parseChunk(offset, depth + 1);
715 status_t err = parseChunk(offset, depth + 1);
772 status_t err = parseChunk(offset, depth + 1);
815 status_t err = parseChunk(offset, depth + 1);
996 status_t err = parseChunk(offset, depth + 1);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp240 /* void glClearDepthf ( GLclampf depth ) */
243 (JNIEnv *_env, jobject _this, jfloat depth) {
245 (GLclampf)depth
249 /* void glClearDepthx ( GLclampx depth ) */
252 (JNIEnv *_env, jobject _this, jint depth) {
254 (GLclampx)depth
242 android_glClearDepthf__F(JNIEnv *_env, jobject _this, jfloat depth) argument
251 android_glClearDepthx__I(JNIEnv *_env, jobject _this, jint depth) argument
H A Dandroid_opengl_GLES11Ext.cpp527 /* void glClearDepthxOES ( GLclampx depth ) */
530 (JNIEnv *_env, jobject _this, jint depth) {
532 (GLclampx)depth
2009 /* void glClearDepthfOES ( GLclampf depth ) */
2012 (JNIEnv *_env, jobject _this, jfloat depth) {
2014 (GLclampf)depth
529 android_glClearDepthxOES__I(JNIEnv *_env, jobject _this, jint depth) argument
2011 android_glClearDepthfOES__F(JNIEnv *_env, jobject _this, jfloat depth) argument
H A Dandroid_opengl_GLES20.cpp368 /* void glClearDepthf ( GLclampf depth ) */
371 (JNIEnv *_env, jobject _this, jfloat depth) {
373 (GLclampf)depth
370 android_glClearDepthf__F(JNIEnv *_env, jobject _this, jfloat depth) argument
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java138 native void nScriptSetClearDepth(int script, float depth); argument
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java118 public void glClearDepthf(float depth) { argument
120 mgl.glClearDepthf(depth);
124 public void glClearDepthx(int depth) { argument
126 mgl.glClearDepthx(depth);
H A DGLLogWrapper.java1255 public void glClearDepthf(float depth) { argument
1257 arg("depth", depth);
1260 mgl.glClearDepthf(depth);
1264 public void glClearDepthx(int depth) { argument
1266 arg("depth", depth);
1269 mgl.glClearDepthx(depth);
/frameworks/base/core/java/android/view/
H A DViewGroup.java2995 protected void debug(int depth) { argument
2996 super.debug(depth);
3000 output = debugIndent(depth);
3005 output = debugIndent(depth);
3012 child.debug(depth + 1);
3016 output = debugIndent(depth);
/frameworks/base/include/private/opengles/
H A Dgl_context.h450 uint8_t depth; member in struct:android::gl::matrix_stack_t
455 void init(int depth);
467 matrixf_t& top() { return stack[depth]; }
468 const matrixf_t& top() const { return stack[depth]; }
469 uint32_t top_ops() const { return ops[depth]; }
471 return !(ops[depth] & ~(OP_TRANSLATE|OP_UNIFORM_SCALE|OP_ROTATE));

Completed in 311 milliseconds

12