Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 535) sorted by relevance

12345678910>>...22

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java176 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/
DphNxpConfig.cpp122 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/
DPyramid.cpp116 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/
DActionHandler.java19 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 …]
DPickActivity.java19 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 …]
DConfig.java19 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;
DMenuManager.java19 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/
Dparser.py100 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/
DRefreshTask.java19 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;
DAbstractActionHandler.java19 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 …]
DDirectoryLoader.java19 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;
DModel.java19 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;
DBaseActivity.java19 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/
DActionHandler.java19 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/
DDirectoryFragment.java19 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 …]
DListeningGestureDetector.java19 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;
DModelBackedDocumentsAdapter.java19 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;
DIconHelper.java19 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;
DGridDocumentHolder.java19 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/
Dcom_android_bluetooth_gatt.cpp970 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/
DRoutineWatchEvaluatorTest.java42 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/
DBluetoothOppReceiveFileInfo.java117 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/
DRootsFragment.java19 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/
DSearchViewManager.java19 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/
DFilteringCursorWrapper.java17 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;

12345678910>>...22