Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DDirectoryWalker.java350 private void walk(File directory, int depth, Collection results) throws IOException { in walk() argument
351 checkIfCancelled(directory, depth, results); in walk()
352 if (handleDirectory(directory, depth, results)) { in walk()
353 handleDirectoryStart(directory, depth, results); in walk()
354 int childDepth = depth + 1; in walk()
356 checkIfCancelled(directory, depth, results); in walk()
373 handleDirectoryEnd(directory, depth, results); in walk()
375 checkIfCancelled(directory, depth, results); in walk()
393 …protected final void checkIfCancelled(File file, int depth, Collection results) throws IOException… in checkIfCancelled() argument
394 if (handleIsCancelled(file, depth, results)) { in checkIfCancelled()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java152 int depth; in parseXml() local
155 && ((depth = parser.getDepth()) >= innerDepth in parseXml()
157 if (depth > innerDepth || type != XmlResourceParser.START_TAG) { in parseXml()
187 int depth; in parseRoles() local
190 && ((depth = parser.getDepth()) >= innerDepth in parseRoles()
192 if (depth > innerDepth || type != XmlResourceParser.START_TAG) { in parseRoles()
237 int depth; in parsePermissionSet() local
240 && ((depth = parser.getDepth()) >= innerDepth in parsePermissionSet()
242 if (depth > innerDepth || type != XmlResourceParser.START_TAG) { in parsePermissionSet()
352 int depth; in parseRole() local
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java51 int depth, int stencil) { in MosaicRendererSurfaceView() argument
53 initialize(context, translucent, depth, stencil); in MosaicRendererSurfaceView()
56 private void initialize(Context context, boolean translucent, int depth, int stencil) { in initialize() argument
58 init(translucent, depth, stencil); in initialize()
68 private void init(boolean translucent, int depth, int stencil) { in init() argument
90 translucent ? new ConfigChooser(8, 8, 8, 8, depth, stencil) : in init()
91 new ConfigChooser(5, 6, 5, 0, depth, stencil)); in init()
126 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
131 mDepthSize = depth; in ConfigChooser()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java131 private void writeOneStack(Node node, int depth) throws IOException { in writeOneStack() argument
133 writeInt(depth); in writeOneStack()
134 while (depth-- > 0) { in writeOneStack()
140 private void writeAllStacks(Node node, int depth) throws IOException { in writeAllStacks() argument
142 writeOneStack(node, depth); in writeAllStacks()
148 writeAllStacks(children.get(i), depth + 1); in writeAllStacks() local
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceInflater.java87 int depth = parser.getDepth(); in inflate() local
88 if (depth > list.size()) { in inflate()
91 list.set(depth - 1, pref); in inflate()
93 if (depth > 1) { in inflate()
94 ((PreferenceGroup) list.get(depth - 2)).addChild(pref); in inflate()
/packages/apps/Dialer/java/com/android/dialer/common/database/
DSelection.java259 int depth = 1; in parenthesized() local
263 depth++; in parenthesized()
266 depth--; in parenthesized()
267 if (depth == 0) { in parenthesized()
277 Assert.checkArgument(depth == 1); in parenthesized()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java251 int depth = 1; in skip() local
252 while (depth != 0) { in skip()
255 depth--; in skip()
258 depth++; in skip()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java407 public static StackTraceElement getCaller(int depth) {
409 if (depth < 0) {
413 if (trace == null || trace.length < (depth + 2)) {
421 return trace[i + depth + 1];
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java176 for (int depth = 0; depth < DecoderSpecificConstants.DICTIONARY_MAX_WORD_LENGTH; ++depth) { in getTerminalPosition()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DLiveChannelsUiDeviceHelper.java61 Until.hasObject(By.pkg(Constants.TV_APP_PACKAGE).depth(0)), in assertAppStarted()
71 while (mUiDevice.hasObject(By.pkg(CommonConstants.BASE_PACKAGE).depth(0))) { in assertAppStopped()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h41 const uint16_t depth, const uint16_t leavingDepth, const WordIdArrayView prevWordIds) { in init() argument
45 mDepth = depth; in init()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSearchIndexablesProvider.java75 final int depth = parser.getDepth(); in queryNonIndexableKeys() local
79 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in queryNonIndexableKeys()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java357 synchronized boolean setCurrentBrowsedPlayer(String uid, int items, int depth) { in setCurrentBrowsedPlayer() argument
365 for (Integer level = 0; level < depth; level++) { in setCurrentBrowsedPlayer()
372 mDepth = depth; in setCurrentBrowsedPlayer()
DAvrcpControllerService.java556 private void handleSetBrowsedPlayerRsp(byte[] address, int items, int depth) { in handleSetBrowsedPlayerRsp() argument
558 Log.d(TAG, "handleSetBrowsedPlayerRsp depth: " + depth); in handleSetBrowsedPlayerRsp()
565 items, depth); in handleSetBrowsedPlayerRsp()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h430 const int depth = getNodeCodePointCount(); in compare() local
431 const int depthDiff = right->getNodeCodePointCount() - depth; in compare()
435 for (int i = 0; i < depth; ++i) { in compare()
/packages/apps/Contacts/src/com/android/contacts/util/
DLocalizedNameResolver.java99 final int depth = parser.getDepth(); in loadAllContactsNameFromXml() local
100 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in loadAllContactsNameFromXml()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java155 final int depth = parser.getDepth(); in loadPhotoPriorityFromXml() local
156 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in loadPhotoPriorityFromXml()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictions.java208 public Builder setMaxContentDepth(int depth) { in setMaxContentDepth() argument
209 mMaxContentDepth = depth; in setMaxContentDepth()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetParser.java100 final int depth = parser.getDepth(); in parseCustomWidgets() local
104 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in parseCustomWidgets()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridOptionsProvider.java107 final int depth = parser.getDepth(); in parseAllGridOptions() local
110 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in parseAllGridOptions()
DIconShape.java415 final int depth = parser.getDepth();
420 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) {
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java355 int depth; in inflateLayers() local
358 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in inflateLayers()
363 if (depth > innerDepth) { in inflateLayers()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
DTestUtils.java61 uiDevice.wait(Until.hasObject(By.pkg(PACKAGE_NAME).depth(0)), TIME_OUT); in startAnomalyApp()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java328 final int depth = parser.getDepth(); in getPredefinedDeviceProfiles() local
331 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in getPredefinedDeviceProfiles()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DFallbackRecentsTest.java134 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), WAIT_TIME_MS)); in startAppFast()

12