Home
last modified time | relevance | path

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

12

/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/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java194 int depth = 1; in skip() local
195 while (depth != 0) { in skip()
198 depth--; in skip()
201 depth++; in skip()
/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.java411 public static StackTraceElement getCaller(int depth) {
413 if (depth < 0) {
417 if (trace == null || trace.length < (depth + 2)) {
425 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/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/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/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/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/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/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/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java384 synchronized boolean setCurrentBrowsedPlayer(String uid, int items, int depth) { in setCurrentBrowsedPlayer() argument
392 for (Integer level = 0; level < depth; level++) { in setCurrentBrowsedPlayer()
399 mDepth = depth; in setCurrentBrowsedPlayer()
DAvrcpControllerService.java643 private void handleSetBrowsedPlayerRsp(byte[] address, int items, int depth) { in handleSetBrowsedPlayerRsp() argument
645 Log.d(TAG, "handleSetBrowsedPlayerRsp depth: " + depth); in handleSetBrowsedPlayerRsp()
652 items, depth); in handleSetBrowsedPlayerRsp()
/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/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java956 int depth = 0; in completeConstruction() local
957 for (StateInfo i = si; i != null; depth++) { in completeConstruction()
960 if (maxDepth < depth) { in completeConstruction()
961 maxDepth = depth; in completeConstruction()
/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/Car/tests/
Dreadme.md36 …fest -b pi-car-dev -g name:platform/tools/repohooks,name:platform/packages/apps/Car/tests --depth=1
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java395 final int depth = parser.getDepth(); in getPredefinedDeviceProfiles() local
398 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in getPredefinedDeviceProfiles()

12