Searched refs:depth (Results 1 - 25 of 165) sorted by relevance

1234567

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DLayerInfo.java5 * several consecutive depth levels.
11 LayerInfo(int depth) { argument
12 frontDepth = depth;
13 backDepth = depth;
H A DDepthTransform.java5 * Interface defining a depth transform that translates real depth values
12 * @return The near depth value
17 * @return The far depth value
27 * @return the quantized value that corresponds to the given depth value
29 public int quantize(float depth); argument
32 * @return the depth value that corresponds to the given quantized value
H A DBlurStack.java8 * filtering function, including the range of depth levels, the disc blur radius
9 * of each depth level, how the depth levels are grouped into layers, which
12 * <b> Here by "depth", we mean inverse depth. Pixels with larger depth values
15 * For a layer n, its depth interval is (@code [layerInfo[n].backDepth,
19 * depth values.
36 * The minimum of the interval that is used to group depth levels into
42 * The starting index of depth quantizatio
88 getDiskRadius(int depth) argument
[all...]
H A DKernelDataForRenderScript.java106 int depth = blurStack.getDepth(targetLayer, m);
107 float diskRadius = blurStack.getDiskRadius(depth);
128 int depth = blurStack.getDepth(targetLayer, m);
129 float diskRadius = blurStack.getDiskRadius(depth);
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A DUT_invert.java31 private boolean Test(int width, int height, int depth) { argument
39 if (depth > 0) {
40 typeBuilder.setZ(depth);
44 if (depth < 1) {
45 depth = 1;
55 float a[] = new float[width * height * depth * 4];
56 float b[] = new float[width * height * depth * 4];
60 for (int i = 0; i < width * height * depth * 4; i++) {
77 for (int i = 0; i < width * height * depth * 4; i++) {
H A DUT_global_query.java31 private boolean Test(int width, int height, int depth) { argument
39 if (depth > 0) {
40 typeBuilder.setZ(depth);
44 if (depth < 1) {
45 depth = 1;
56 int g[] = new int[width * height * depth];
57 int d[] = new int[width * height * depth];
58 int r[] = new int[width * height * depth];
62 for (int i = 0; i < width * height * depth; i++) {
84 for (int i = 0; i < width * height * depth;
[all...]
H A DUT_multi_kernel.java31 private boolean Test(int width, int height, int depth) { argument
39 if (depth > 0) {
40 typeBuilder.setZ(depth);
44 if (depth < 1) {
45 depth = 1;
55 float a[] = new float[width * height * depth * 4];
56 float b[] = new float[width * height * depth * 4];
60 for (int i = 0; i < width * height * depth * 4; i++) {
79 for (int i = 0; i < width * height * depth * 4; i++) {
/frameworks/base/sax/java/android/sax/
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--;
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.java34 final int depth; field in class:Element
46 Element(Element parent, String uri, String localName, int depth) { argument
50 this.depth = depth;
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h34 void setDepthTarget(DrvAllocation *depth) { argument
35 mDepthTarget = depth;
H A DrsdFrameBuffer.cpp35 DrvAllocation *depth = nullptr; local
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv;
39 if (depth->uploadDeferred) {
44 fbo->setDepthTarget(depth);
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser_test.cpp36 const size_t depth_outer = parser.depth();
42 const size_t depth_a = parser.depth();
47 const size_t depth_b = parser.depth();
H A DXmlPullParser.h90 size_t depth() const;
167 size_t depth; member in struct:aapt::xml::XmlPullParser::EventData
234 // First get back to the start depth.
235 while (IsGoodEvent(event = parser->Next()) && parser->depth() > start_depth + 1) {
239 while ((event != Event::kEndElement || parser->depth() > start_depth) && IsGoodEvent(event)) {
254 int depth = 1; local
255 while (depth > 0) {
262 depth++;
265 depth--;
/frameworks/base/tools/bit/
H A Daapt.cpp62 int depth; member in struct:Element
114 int depth; member in struct:Scope
117 Scope(Scope* parent, int depth);
122 depth(d)
183 int depth = match[1].length() / 2; local
184 while (depth < scope->depth) {
189 scope = new Scope(scope, depth);
203 element->depth = match[1].length() / 2;
209 while (element->depth <
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DViewShowHidePerfTest.java61 abstract View create(Context context, int depth); argument
97 public View create(Context context, int depth) {
99 createNestedLinearLayoutTree(context, root, depth - 1);
105 public View create(Context context, int depth) {
108 int childCount = (int) Math.pow(2, depth);
121 @Parameterized.Parameters(name = "Factory:{0},depth:{1}")
124 for (int depth : new int[] { 6 }) {
126 params.add(new Object[]{ subTreeFactory, depth });
134 public ViewShowHidePerfTest(SubTreeFactory subTreeFactory, int depth) { argument
135 mChild = subTreeFactory.create(getContext(), depth);
[all...]
/frameworks/base/libs/hwui/
H A DPathTessellator.h131 std::vector<Vertex> &outputVertices, int depth = 0);
143 std::vector<Vertex> &outputVertices, int depth = 0);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java72 public void setDimensions(int width, int height, int depth) { argument
76 dimensions[2] = depth;
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp41 unsigned int depth = 0; local
43 if (depth == 0 && *pBegin == pVal)
45 if (depth != 0 && *pBegin == '}')
46 --depth;
61 ++depth;
/frameworks/native/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/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java65 public GLPerfView(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/native/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/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java150 // Skips tags the parser isn't interested in. Uses depth to handle nested tags. i.e.,
152 // finds the matching END_TAG (as indicated by the value of "depth" being 0).
157 int depth = 1;
158 while (depth != 0) {
161 depth--;
164 depth++;
/frameworks/base/tools/aapt2/tools/consumers/
H A Dduplicates.py81 def __init__(self, name, product, depth, start, end):
84 self.depth = depth
120 if self._current_resource and self._depth == self._current_resource.depth:
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.cpp23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
29 (0 <= depth) && (depth <= SL_MILLIMETER_MAX))) {
36 thiz->mSize.mDepth = depth;
57 SLmillimeter depth = thiz->mSize.mDepth; local
61 *pDepth = depth;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument

Completed in 627 milliseconds

1234567