Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/base/sax/java/android/sax/
DRootElement.java100 int depth = -1; field in RootElement.Handler
112 int depth = ++this.depth; in startElement() local
114 if (depth == 0) { in startElement()
128 if (depth == current.depth + 1) { in startElement()
183 if (depth == current.depth) { in endElement()
204 depth--; in endElement()
DChildren.java37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
56 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
91 Child(Element parent, String uri, String localName, int depth, in Child() argument
93 super(parent, uri, localName, depth); in Child()
DElement.java34 final int depth; field in Element
46 Element(Element parent, String uri, String localName, int depth) { in Element() argument
50 this.depth = depth; in Element()
/frameworks/native/opengl/libagl/
Degl.cpp171 GGLSurface depth; member
179 depth.version = sizeof(GGLSurface); in egl_surface_t()
180 depth.data = 0; in egl_surface_t()
181 depth.format = depthFormat; in egl_surface_t()
186 free(depth.data); in ~egl_surface_t()
393 if (depth.format) { in connect()
394 depth.width = width; in connect()
395 depth.height = height; in connect()
396 depth.stride = depth.width; // use the width here in connect()
397 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * in connect()
[all …]
Dmatrix.cpp386 void matrix_stack_t::init(int depth) { in init() argument
387 stack = new matrixf_t[depth]; in init()
388 ops = new uint8_t[depth]; in init()
389 maxDepth = depth; in init()
390 depth = 0; in init()
402 stack[depth].loadIdentity(); in loadIdentity()
403 ops[depth] = OP_IDENTITY; in loadIdentity()
409 stack[depth].load(rhs); in load()
410 ops[depth] = OP_ALL; // TODO: we should look at the matrix in load()
415 stack[depth].load(rhs); in load()
[all …]
/frameworks/base/tools/aapt/
Dpseudolocalize.cpp42 size_t depth = mLastDepth; in text() local
59 depth++; in text()
60 } else if (c == k_arg_end && depth) { in text()
61 depth--; in text()
64 if (mLastDepth != depth || pos == length - 1) { in text()
67 if (!pseudo || depth == mLastDepth) { in text()
81 if (pseudo && depth < mLastDepth) { // End of message in text()
83 } else if (!pseudo && depth > mLastDepth) { // Start of message in text()
87 mLastDepth = depth; in text()
DCommand.cpp331 int depth = 0; in printCompatibleScreens() local
336 depth--; in printCompatibleScreens()
337 if (depth < 0) { in printCompatibleScreens()
345 depth++; in printCompatibleScreens()
411 int depth = 0; in getNfcAidCategories() local
415 depth--; in getNfcAidCategories()
423 if (depth == 0 && tag == serviceTagName) { in getNfcAidCategories()
428 depth++; in getNfcAidCategories()
436 if (depth == 1) { in getNfcAidCategories()
440 } else if (depth == 2 && withinApduService) { in getNfcAidCategories()
[all …]
/frameworks/base/tools/aapt2/
DManifestParser.cpp31 int depth = 0; in parse() local
35 depth--; in parse()
41 depth++; in parse()
44 if (depth == 1) { in parse()
DScopedXmlPullParser.cpp60 const size_t depth = mParser->getDepth(); in getDepth() local
61 if (depth < mDepth) { in getDepth()
64 return depth - mDepth; in getDepth()
DXmlPullParser.h150 int depth = 1; in skipCurrentElement() local
151 while (depth > 0) { in skipCurrentElement()
157 depth++; in skipCurrentElement()
160 depth--; in skipCurrentElement()
/frameworks/compile/mclinker/lib/LD/
DDiagnostic.cpp41 unsigned int depth = 0; in findMatch() local
43 if (depth == 0 && *pBegin == pVal) in findMatch()
45 if (depth != 0 && *pBegin == '}') in findMatch()
46 --depth; in findMatch()
61 ++depth; in findMatch()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java68 public GLDualGL2View(Context context, boolean translucent, int depth, int stencil) { in GLDualGL2View() argument
70 init(translucent, depth, stencil); in GLDualGL2View()
73 private void init(boolean translucent, int depth, int stencil) { in init() argument
76 new ConfigChooser(8,8,8,8, depth, stencil) : in init()
77 new ConfigChooser(5,6,5,0, depth, stencil)); in init()
115 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
120 mDepthSize = depth; in ConfigChooser()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java65 public GLPerfView(Context context, boolean translucent, int depth, int stencil) { in GLPerfView() argument
67 init(translucent, depth, stencil); in GLPerfView()
70 private void init(boolean translucent, int depth, int stencil) { in init() argument
73 new ConfigChooser(8,8,8,8, depth, stencil) : in init()
74 new ConfigChooser(5,6,5,0, depth, stencil)); in init()
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
117 mDepthSize = depth; in ConfigChooser()
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java65 public GL2JNIView(Context context, boolean translucent, int depth, int stencil) { in GL2JNIView() argument
67 init(translucent, depth, stencil); in GL2JNIView()
70 private void init(boolean translucent, int depth, int stencil) { in init() argument
73 new ConfigChooser(8,8,8,8, depth, stencil) : in init()
74 new ConfigChooser(5,6,5,0, depth, stencil)); in init()
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
117 mDepthSize = depth; in ConfigChooser()
/frameworks/rs/driver/
DrsdFrameBuffer.cpp35 DrvAllocation *depth = nullptr; in setDepthAttachment() local
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; in setDepthAttachment()
39 if (depth->uploadDeferred) { in setDepthAttachment()
44 fbo->setDepthTarget(depth); in setDepthAttachment()
DrsdFrameBufferObj.h34 void setDepthTarget(DrvAllocation *depth) { in setDepthTarget() argument
35 mDepthTarget = depth; in setDepthTarget()
/frameworks/wilhelm/src/itf/
DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth) in I3DMacroscopic_SetSize() argument
29 (0 <= depth) && (depth <= SL_MILLIMETER_MAX))) { in I3DMacroscopic_SetSize()
36 thiz->mSize.mDepth = depth; in I3DMacroscopic_SetSize()
57 SLmillimeter depth = thiz->mSize.mDepth; in I3DMacroscopic_GetSize() local
61 *pDepth = depth; in I3DMacroscopic_GetSize()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java56 final int repeatCount, List<ResourceReference> types, int depth) { in createItems() argument
89 createItems(dataBindingItem, depth + 1); in createItems()
96 private void createItems(DataBindingItem item, int depth) { in createItems() argument
97 if (depth == 2) { in createItems()
98 createItems(item, item.getChildren().size(), item.getCount(), mChildrenTypes, depth); in createItems()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES30.spec4 …GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLe…
5 …GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLe…
6 …set, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GL…
7 …set, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GL…
9 …Lint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLs…
10 …Lint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLs…
11 …set, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GL…
12 …set, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GL…
66 void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
109 …Lenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth )
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java144 int depth = 1; in skip() local
145 while (depth > 0) { in skip()
148 depth++; in skip()
151 depth--; in skip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DConsole.java118 public static void logStackTrace(int depth) { in logStackTrace() argument
119 logStackTrace("", depth); in logStackTrace()
123 public static void logStackTrace(String key, int depth) { in logStackTrace() argument
140 int start = Math.min(offset + depth, callStack.length); in logStackTrace()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java157 int depth = 1; in skip() local
158 while (depth != 0) { in skip()
161 depth--; in skip()
164 depth++; in skip()
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Ddepth_fs.glsl2 // Non-linear depth value
9 // Linear depth value
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java105 int depth = parser.getDepth(); in createAnimationFromXml() local
107 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in createAnimationFromXml()
182 int depth = parser.getDepth(); in createLayoutAnimationFromXml() local
184 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in createLayoutAnimationFromXml()
331 int depth = parser.getDepth(); in createInterpolatorFromXml() local
333 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in createInterpolatorFromXml()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java135 int depth = parser.getDepth(); in createTransitionFromXml() local
140 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in createTransitionFromXml()
243 int depth = parser.getDepth(); in getTargetIds() local
245 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in getTargetIds()
297 int depth = parser.getDepth(); in createTransitionManagerFromXml() local
300 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in createTransitionManagerFromXml()

123456