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

/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfileData.java129 // second word: depth of the stack (N)
131 private void writeOneStack(Node node, int depth) throws IOException { argument
133 writeInt(depth);
134 while (depth-- > 0) {
140 private void writeAllStacks(Node node, int depth) throws IOException { argument
142 writeOneStack(node, depth);
148 writeAllStacks(children.get(i), depth + 1);
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/core/
H A DDMTValidator.java21 // General Description: The classes contained here provide a depth first recursive traversal of the
52 private int depth = 1; field in class:DMTValidator
127 // Increment our depth
129 depth += 1;
135 if (depth <= 2)
162 path [depth - 2] = nodeName;
169 for (int i=1; i<depth-1; i++)
692 depth -= 1;
H A DGen.java21 // General Description: The classes contained here provide a depth first recursive traversal of the
1259 private int depth = 1; field in class:Gen
1612 depth += 1;
1614 for (int ii = 0; ii < depth; ii++) {
1620 if (depth <= 2) {
1641 path[depth - 2] = nodeName;
1646 for (int i = 1; i < depth - 1; i++) {
1655 if (depth > 2) {
1657 for (int ii = 1; ii < depth - 1; ii++) {
1833 if (depth <
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DDirectoryWalker.java32 * This class operates with a {@link FileFilter} and maximum depth to
65 * protected boolean handleDirectory(File directory, int depth, Collection results) {
76 * protected void handleFile(File file, int depth, Collection results) {
206 * private void handleIsCancelled(File file, int depth, Collection results) {
226 * protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException {
229 * throw new CancelException(file, depth);
234 * protected void handleFile(File file, int depth, Collection results) throws IOException {
237 * throw new CancelException(file, depth);
258 * The limit on the directory depth to walk.
263 * Construct an instance with no filtering and unlimited <i>depth</
350 walk(File directory, int depth, Collection results) argument
393 checkIfCancelled(File file, int depth, Collection results) argument
434 handleIsCancelled( File file, int depth, Collection results) argument
488 handleDirectory(File directory, int depth, Collection results) argument
503 handleDirectoryStart(File directory, int depth, Collection results) argument
517 handleFile(File file, int depth, Collection results) argument
531 handleRestricted(File directory, int depth, Collection results) argument
545 handleDirectoryEnd(File directory, int depth, Collection results) argument
574 private int depth = -1; field in class:DirectoryWalker.CancelException
583 CancelException(File file, int depth) argument
596 CancelException(String message, File file, int depth) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
H A Ddic_node_properties.h42 const uint16_t depth, const uint16_t leavingDepth, const int *const prevWordsNodePos) {
50 mDepth = depth;
92 mDepth = dicNodeProp->mDepth + 1; // Increment the depth of a passing child
40 init(const int pos, const int childrenPos, const int nodeCodePoint, const int probability, const bool isTerminal, const bool hasChildren, const bool isBlacklistedOrNotAWord, const uint16_t depth, const uint16_t leavingDepth, const int *const prevWordsNodePos) argument
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtils.java96 final DecoderChainSpec spec, final File src, final int depth) {
100 // over and over, ending in a stack overflow. Hence we limit the depth at which we try
102 if (depth > MAX_DECODE_DEPTH) return null;
112 getRawDictionaryOrNullInternal(spec, uncompressedFile, depth + 1);
120 getRawDictionaryOrNullInternal(spec, decryptedFile, depth + 1);
95 getRawDictionaryOrNullInternal( final DecoderChainSpec spec, final File src, final int depth) argument
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRendererSurfaceView.java51 int depth, int stencil) {
53 initialize(context, translucent, depth, stencil);
56 private void initialize(Context context, boolean translucent, int depth, int stencil) { argument
58 init(translucent, depth, stencil);
68 private void init(boolean translucent, int depth, int stencil) { argument
90 translucent ? new ConfigChooser(8, 8, 8, 8, depth, stencil) :
91 new ConfigChooser(5, 6, 5, 0, depth, stencil));
126 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { argument
131 mDepthSize = depth;
50 MosaicRendererSurfaceView(Context context, boolean translucent, int depth, int stencil) argument
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
H A DHoloSpiralRS.java218 private void generateSpiral(ScriptField_VertexColor_s points, float depth, float radius, argument
224 float halfDepth = depth / 2.0f;
233 radius * (float) Math.sin(radians), (percentage * depth) - halfDepth);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DParser.java79 // The current tag depth
80 private int depth; field in class:Parser
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_node.h444 const int depth = getNodeCodePointCount(); local
445 const int depthDiff = right->getNodeCodePointCount() - depth;
449 for (int i = 0; i < depth; ++i) {
/packages/apps/OMA-DM/engine/dmlib/linux_java/samples/unittest/src/
H A Ddmt_test.cc1561 static void SubTreeStruct(PDmtNode ptrNode, int depth) argument
1563 for (int i=0; i < depth; i++) {
1564 if (i == (depth-1)) {
1588 SubTreeStruct(aChildren[i], depth+1);
/packages/apps/OMA-DM/engine/dmlib/dmt-tools/lib/
H A DGenTool.jar ... .lang.Object { private final String[] illegalCharsForNodeName private int depth private static final String parm private static String initDir private ...

Completed in 532 milliseconds