/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 176 public static String newFilterPath(String base, int filterType) { in newFilterPath() argument 186 return base; in newFilterPath() 189 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; in newFilterPath() 193 public static String newClusterPath(String base, int clusterType) { in newClusterPath() argument 212 return base; in newClusterPath() 215 return "/cluster/{" + base + "}/" + kind; in newClusterPath() 219 public static String switchClusterPath(String base, int clusterType) { in switchClusterPath() argument 220 return newClusterPath(removeOneClusterFromPath(base), clusterType); in switchClusterPath() 224 private static String removeOneClusterFromPath(String base) { in removeOneClusterFromPath() argument 226 return removeOneClusterFromPath(base, done); in removeOneClusterFromPath() [all …]
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/ |
D | phNxpConfig.cpp | 122 inline bool isDigit (char c, int base) in isDigit() argument 126 if (base == 16) in isDigit() 144 inline int getDigitValue (char c, int base) in getDigitValue() argument 148 if (base == 16) in getDigitValue() 212 int base = 0; in readConfig() local 276 base = 0; in readConfig() 285 base = 10; in readConfig() 286 numValue = getDigitValue (c, base); in readConfig() 293 base = 16; in readConfig() 305 base = 16; in readConfig() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 116 ImageTypeShort base; in BorderSpread() local 123 base = pyr->ptr[-h] - off; in BorderSpread() 126 for (h = height; h--; base += pyr->pitch) { in BorderSpread() 128 base[-1 - w] = base[0]; in BorderSpread() 130 base[off2 + w + 1] = base[off2]; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 137 for (h = top; h--; base -= pyr->pitch) { in BorderSpread() 138 memcpy(base - pyr->pitch, base, pyr->pitch * sizeof(short)); in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 142 for (h = bot; h--; base += pyr->pitch) { in BorderSpread() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | ActionHandler.java | 19 import static com.android.documentsui.base.Shared.DEBUG; 20 import static com.android.documentsui.base.State.ACTION_CREATE; 21 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 22 import static com.android.documentsui.base.State.ACTION_OPEN; 23 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 24 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 44 import com.android.documentsui.base.BooleanConsumer; 45 import com.android.documentsui.base.DocumentInfo; 46 import com.android.documentsui.base.DocumentStack; 47 import com.android.documentsui.base.Features; [all …]
|
D | PickActivity.java | 19 import static com.android.documentsui.base.State.ACTION_CREATE; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 23 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 44 import com.android.documentsui.base.DocumentInfo; 45 import com.android.documentsui.base.Features; 46 import com.android.documentsui.base.MimeTypes; 47 import com.android.documentsui.base.RootInfo; 48 import com.android.documentsui.base.Shared; [all …]
|
D | Config.java | 19 import static com.android.documentsui.base.State.ACTION_CREATE; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 23 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 28 import com.android.documentsui.base.MimeTypes; 29 import com.android.documentsui.base.State;
|
D | MenuManager.java | 19 import static com.android.documentsui.base.State.ACTION_CREATE; 20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT; 21 import static com.android.documentsui.base.State.ACTION_OPEN; 22 import static com.android.documentsui.base.State.ACTION_OPEN_TREE; 23 import static com.android.documentsui.base.State.ACTION_PICK_COPY_DESTINATION; 29 import com.android.documentsui.base.State;
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 100 def __init__(self, name, base): argument 102 self.base = base 105 return '%s%s' % (self.name, ' %s' % self.base if self.base else '') 250 def __init__(self, base, offset): argument 251 self.base = base 255 return '%s << %s' % (self.base, self.offset) 258 base = self.base.resolve(enum, document) 260 return base << offset
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | RefreshTask.java | 19 import static com.android.documentsui.base.Shared.DEBUG; 29 import com.android.documentsui.base.ApplicationScope; 30 import com.android.documentsui.base.BooleanConsumer; 31 import com.android.documentsui.base.CheckedTask; 32 import com.android.documentsui.base.DocumentInfo; 33 import com.android.documentsui.base.Features; 34 import com.android.documentsui.base.State;
|
D | AbstractActionHandler.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorInt; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.Shared.DEBUG; 44 import com.android.documentsui.base.BooleanConsumer; 45 import com.android.documentsui.base.DocumentInfo; 46 import com.android.documentsui.base.DocumentStack; 47 import com.android.documentsui.base.Lookup; 48 import com.android.documentsui.base.Providers; 49 import com.android.documentsui.base.RootInfo; 50 import com.android.documentsui.base.Shared; [all …]
|
D | DirectoryLoader.java | 19 import static com.android.documentsui.base.Shared.VERBOSE; 39 import com.android.documentsui.base.DebugFlags; 40 import com.android.documentsui.base.DocumentInfo; 41 import com.android.documentsui.base.Features; 42 import com.android.documentsui.base.FilteringCursorWrapper; 43 import com.android.documentsui.base.Lookup; 44 import com.android.documentsui.base.RootInfo;
|
D | Model.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorString; 20 import static com.android.documentsui.base.Shared.DEBUG; 21 import static com.android.documentsui.base.Shared.VERBOSE; 36 import com.android.documentsui.base.DocumentFilters; 37 import com.android.documentsui.base.DocumentInfo; 38 import com.android.documentsui.base.EventListener; 39 import com.android.documentsui.base.Features;
|
D | BaseActivity.java | 19 import static com.android.documentsui.base.Shared.DEBUG; 20 import static com.android.documentsui.base.Shared.EXTRA_BENCHMARK; 21 import static com.android.documentsui.base.State.MODE_GRID; 47 import com.android.documentsui.base.DocumentInfo; 48 import com.android.documentsui.base.EventHandler; 49 import com.android.documentsui.base.RootInfo; 50 import com.android.documentsui.base.Shared; 51 import com.android.documentsui.base.State; 52 import com.android.documentsui.base.State.ViewMode;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 19 import static com.android.documentsui.base.Shared.DEBUG; 43 import com.android.documentsui.base.ConfirmationCallback; 44 import com.android.documentsui.base.ConfirmationCallback.Result; 45 import com.android.documentsui.base.DebugFlags; 46 import com.android.documentsui.base.DocumentFilters; 47 import com.android.documentsui.base.DocumentInfo; 48 import com.android.documentsui.base.DocumentStack; 49 import com.android.documentsui.base.Features; 50 import com.android.documentsui.base.Lookup; 51 import com.android.documentsui.base.MimeTypes; [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorInt; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.Shared.DEBUG; 22 import static com.android.documentsui.base.Shared.VERBOSE; 23 import static com.android.documentsui.base.State.MODE_GRID; 24 import static com.android.documentsui.base.State.MODE_LIST; 76 import com.android.documentsui.base.DocumentFilters; 77 import com.android.documentsui.base.DocumentInfo; 78 import com.android.documentsui.base.DocumentStack; 79 import com.android.documentsui.base.EventHandler; [all …]
|
D | ListeningGestureDetector.java | 19 import static com.android.documentsui.base.Shared.VERBOSE; 31 import com.android.documentsui.base.BooleanConsumer; 32 import com.android.documentsui.base.EventHandler; 33 import com.android.documentsui.base.Events; 34 import com.android.documentsui.base.Events.InputEvent; 35 import com.android.documentsui.base.Events.MotionInputEvent; 36 import com.android.documentsui.base.Features;
|
D | ModelBackedDocumentsAdapter.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorInt; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.State.MODE_GRID; 22 import static com.android.documentsui.base.State.MODE_LIST; 30 import com.android.documentsui.base.EventListener; 31 import com.android.documentsui.base.Lookup; 32 import com.android.documentsui.base.State;
|
D | IconHelper.java | 19 import static com.android.documentsui.base.Shared.VERBOSE; 20 import static com.android.documentsui.base.State.MODE_GRID; 21 import static com.android.documentsui.base.State.MODE_LIST; 42 import com.android.documentsui.base.DocumentInfo; 43 import com.android.documentsui.base.MimeTypes; 44 import com.android.documentsui.base.State; 45 import com.android.documentsui.base.State.ViewMode;
|
D | GridDocumentHolder.java | 19 import static com.android.documentsui.base.DocumentInfo.getCursorLong; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 34 import com.android.documentsui.base.DebugFlags; 35 import com.android.documentsui.base.DocumentInfo; 36 import com.android.documentsui.base.Events.InputEvent; 37 import com.android.documentsui.base.Shared;
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 970 base::Bind(&btgattc_register_scanner_cb, uuid)); in registerScannerNative() 1028 sGattIf->client->read_phy(bda, base::Bind(&readClientPhyCb, clientIf, bda)); in gattClientReadPhyNative() 1175 base::Bind(&set_scan_params_cmpl_cb, client_if)); in gattSetScanParametersNative() 1234 std::move(filt_params), base::Bind(&scan_filter_param_cb, client_if)); in gattClientScanFilterParamAddNative() 1244 base::Bind(&scan_filter_param_cb, client_if)); in gattClientScanFilterParamDeleteNative() 1253 nullptr, base::Bind(&scan_filter_param_cb, client_if)); in gattClientScanFilterParamClearAllNative() 1276 {}, base::Bind(&scan_filter_cfg_cb, client_if)); in gattClientScanFilterAddRemoveNative() 1295 base::Bind(&scan_filter_cfg_cb, client_if)); in gattClientScanFilterAddRemoveNative() 1308 {}, base::Bind(&scan_filter_cfg_cb, client_if)); in gattClientScanFilterAddRemoveNative() 1312 base::Bind(&scan_filter_cfg_cb, client_if)); in gattClientScanFilterAddRemoveNative() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 42 private ScoredItem(String base, String text) { in ScoredItem() argument 43 this.mBase = base; in ScoredItem() 45 this.mScore = RoutineWatchEvaluator.calculateTitleMatchScore(base, text); in ScoredItem() 115 String base = "foo bar baz"; in testCalculateTitleMatchScore_longerMatchIsBetter() local 117 score(base, ""), in testCalculateTitleMatchScore_longerMatchIsBetter() 118 score(base, "bar"), in testCalculateTitleMatchScore_longerMatchIsBetter() 119 score(base, "foo bar"), in testCalculateTitleMatchScore_longerMatchIsBetter() 120 score(base, "foo bar baz")); in testCalculateTitleMatchScore_longerMatchIsBetter()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 117 File base = null; in generateFileInfo() local 122 base = new File(root + Constants.DEFAULT_STORE_SUBDIR); in generateFileInfo() 123 if (!base.isDirectory() && !base.mkdir()) { in generateFileInfo() 125 + base.getPath()); in generateFileInfo() 128 stat = new StatFs(base.getPath()); in generateFileInfo() 186 filename = base.getPath() + File.separator + filename; in generateFileInfo()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 19 import static com.android.documentsui.base.Shared.DEBUG; 20 import static com.android.documentsui.base.Shared.VERBOSE; 59 import com.android.documentsui.base.BooleanConsumer; 60 import com.android.documentsui.base.DocumentInfo; 61 import com.android.documentsui.base.DocumentStack; 62 import com.android.documentsui.base.Events; 63 import com.android.documentsui.base.RootInfo; 64 import com.android.documentsui.base.Shared; 65 import com.android.documentsui.base.State;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchViewManager.java | 19 import static com.android.documentsui.base.Shared.DEBUG; 36 import com.android.documentsui.base.DocumentInfo; 37 import com.android.documentsui.base.DocumentStack; 38 import com.android.documentsui.base.EventHandler; 39 import com.android.documentsui.base.RootInfo; 40 import com.android.documentsui.base.Shared;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | FilteringCursorWrapper.java | 17 package com.android.documentsui.base; 19 import static com.android.documentsui.base.DocumentInfo.getCursorLong; 20 import static com.android.documentsui.base.DocumentInfo.getCursorString; 21 import static com.android.documentsui.base.Shared.DEBUG; 22 import static com.android.documentsui.base.Shared.TAG;
|