/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Shared.java | 149 * A convenient way to transform any list into a (parcelable) ArrayList. 150 * Uses cast if possible, else creates a new list with entries from {@code list}. 152 public static <T> ArrayList<T> asArrayList(List<T> list) { argument 153 return list instanceof ArrayList 154 ? (ArrayList<T>) list 155 : new ArrayList<T>(list);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | Events.java | 108 public static void writeEvent(Context context, int tag, Object... list) { argument 111 if (list != null && list.length > 0) { 117 (Boolean) list[1] ? 1 : 0); 118 sb.append(SHOW_REASONS[(Integer) list[0]]).append(" keyguard=").append(list[1]); 122 (Boolean) list[0]); 123 sb.append(list[0]); 127 sb.append(DISMISS_REASONS[(Integer) list[0]]); 131 (Integer) list[ 215 writeEvent(long time, int tag, Object[] list) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HotplugDetectionAction.java | 200 private static BitSet addressListToBitSet(List<Integer> list) { argument 202 for (Integer value : list) {
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
H A D | MemoryUsageTest.java | 49 * apps - A list of applications to start and their corresponding result keys 118 private Map<String, String> parseListToMap(String list) { argument 120 String names[] = list.split("\\|"); 281 + " not found in process list, most likely it is crashed");
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 344 hwc_display_contents_1_t *list; local 346 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) { 347 testPrintE("Allocate list failed"); 350 list->flags = HWC_GEOMETRY_CHANGED; 351 list->numHwLayers = numFrames; 353 hwc_layer_1_t *layer = &list->hwLayers[0]; 382 if (verbose) { testPrintI("Prepare:"); hwcTestDisplayList(list); } 383 hwcDevice->prepare(hwcDevice, 1, &list); 386 hwcTestDisplayListPrepareModifiable(list); 390 list [all...] |
H A D | hwcRects.cpp | 58 * Constructs a Hardware Composer (HWC) list of frames from 80 * a list of attributes and the format of their expected value. 93 #include <list> 164 list<Rectangle> rectangle; 194 * 5. Create HWC list from frame descriptions 196 * 6. Have HWC render the list description of the frames 299 // Add to the list of rectangles 307 // Create list of frames 308 hwc_display_contents_1_t *list; local 309 list [all...] |
H A D | hwcStress.cpp | 221 * b. Create a HWC list with room to specify a prandomly 226 * of the layers in the HWC list. 228 * d. Prandomly fill in the HWC list with handles 231 * e. Pass the populated list to the HWC prepare call. 233 * f. Pass the populated list to the HWC set call. 412 hwc_display_contents_1_t *list; local 413 list = hwcTestCreateLayerList(testRandMod(frames.size()) + 1); 414 if (list == NULL) { 421 selectedFrames = vectorRandSelect(frames, list->numHwLayers); 428 for (unsigned int n1 = 0; n1 < list [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 61 sensor_t const* list; local 62 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); 66 mActivationCount.add(list[i].handle, model); 69 list[i].handle, 0); 90 sensor_t const* list; local 91 int count = mSensorModule->get_sensors_list(mSensorModule, &list); 101 const Info& info = mActivationCount.valueFor(list[i].handle); 103 result.appendFormat("0x%08x) active-count = %zu; ", list[i].handle, 125 ssize_t SensorDevice::getSensorList(sensor_t const** list) { argument 127 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); [all...] |
/frameworks/rs/ |
H A D | rsList.h | 83 return p == other.p && buffer == other.buffer && list == other.list; 87 return p != other.p || buffer != other.buffer || list != other.list; 95 iterator(const List* list_) : list(list_) {} 97 p(p_), buffer(buffer_), list(list_) {} 102 const List* list; member in class:android::renderscript::List::iterator
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 87 ArrayList<PathDataNode> list = new ArrayList<PathDataNode>(); 93 addNode(list, s.charAt(0), val); 100 addNode(list, pathData.charAt(start), new float[0]); 102 return list.toArray(new PathDataNode[list.size()]); 177 private static void addNode(ArrayList<PathDataNode> list, char cmd, float[] val) { argument 178 list.add(new PathDataNode(cmd, val)); 192 * @param s the string containing a command and list of floats
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LoggingItemAnimator.java | 47 List<? extends BaseRecyclerViewAnimationsTest.AnimateLogBase> list) { 48 for (BaseRecyclerViewAnimationsTest.AnimateLogBase log : list) { 46 contains(RecyclerView.ViewHolder viewHolder, List<? extends BaseRecyclerViewAnimationsTest.AnimateLogBase> list) argument
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 373 * with the list of children. If loading the children will be an expensive 380 * with an empty list. When the given {@code parentId} is invalid, implementations must 387 * @param result The Result to send the list of children to. 396 * with the list of children. If loading the children will be an expensive 403 * with an empty list. When the given {@code parentId} is invalid, implementations must 410 * @param result The Result to send the list of children to. 636 void onResultSent(List<MediaBrowser.MediaItem> list, @ResultFlags int flag) { 647 ? applyOptions(list, options) : list; 674 private List<MediaBrowser.MediaItem> applyOptions(List<MediaBrowser.MediaItem> list, argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraErrorCollector.java | 331 * Check that all values in the list are greater than or equal to the min value. 334 * @param list The list of values to be checked 338 List<T> list, T min) { 339 for (T value : list) { 359 * Expect the list of values are in the range. 362 * @param list The list of values to be checked 366 public <T extends Comparable<? super T>> void expectValuesInRange(String msg, List<T> list, argument 368 for (T value : list) { 337 expectValuesGreaterOrEqual(String msg, List<T> list, T min) argument 1053 expectValuesUnique(String msg, List<T> list) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileAdapter.java | 402 private <T> void move(int from, int to, List<T> list) { argument 403 list.add(to, list.remove(from));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.h | 97 // commits the list 109 // create a work list for numLayers layer. sets HWC_GEOMETRY_CHANGED. 180 * Interface used to implement an iterator to a list 196 * Iterator through a HWCLayer list. 239 // Returns an iterator to the beginning of the layer list 242 // Returns an iterator to the end of the layer list 338 hwc_display_contents_1* list; member in struct:android::HWComposer::DisplayData
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | FragmentTransitionCompat21.java | 126 * Prepares the enter transition by adding a non-existent view to the transition's target list 127 * and setting it epicenter callback. By adding a non-existent view to the target list, 130 * views will appear. At the start of the transition, we clear the list of targets so that 287 return; // This child is already in the list, so all its children are also. 428 * The views list should match those added in addTargets and should contain 456 * when they are removed later, a list match will suffice to remove the targets. 487 private static boolean isNullOrEmpty(List list) { argument 488 return list == null || list.isEmpty();
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 61 void freePages(List<Page *> *list); 76 void PageCache::freePages(List<Page *> *list) { argument 77 List<Page *>::iterator it = list->begin(); 78 while (it != list->end()) {
|
H A D | OMXClient.cpp | 54 virtual status_t listNodes(List<ComponentInfo> *list); 259 status_t MuxOMX::listNodes(List<ComponentInfo> *list) { argument 266 return mLocalOMX->listNodes(list);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
H A D | InputMethodUtilsTest.java | 279 // (overridesImplicitlyEnabledSubtype:true) in the given list. 304 // (overridesImplicitlyEnabledSubtype:true) in the given list. 327 // any subtype whose locale is exactly equal to the specified locale in the given list, 805 private static List<InputMethodInfo> cloneViaParcel(final List<InputMethodInfo> list) { argument 809 p.writeTypedList(list);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 214 public String[] list(String prefix, int uid) { method in class:KeyStore 216 return mBinder.list(prefix, uid); 223 public String[] list(String prefix) { method in class:KeyStore 224 return list(prefix, UID_SELF);
|
/frameworks/base/media/java/android/media/browse/ |
H A D | MediaBrowser.java | 325 * The list of subscriptions is maintained even when not connected and is 335 * @param parentId The id of the parent media item whose list of children 337 * @param callback The callback to receive the list of children. 348 * The list of subscriptions is maintained even when not connected and is 358 * @param parentId The id of the parent media item whose list of children 363 * @param callback The callback to receive the list of children. 380 * @param parentId The id of the parent media item whose list of children 394 * @param parentId The id of the parent media item whose list of children 630 final String parentId, final ParceledListSlice list, final Bundle options) { 650 List<MediaItem> data = list 629 onLoadChildren(final IMediaBrowserServiceCallbacks callback, final String parentId, final ParceledListSlice list, final Bundle options) argument 1077 onLoadChildren(String parentId, ParceledListSlice list) argument 1082 onLoadChildrenWithOptions(String parentId, ParceledListSlice list, final Bundle options) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ServiceRecord.java | 177 void dumpStartList(PrintWriter pw, String prefix, List<StartItem> list, long now) { argument 178 final int N = list.size(); 180 StartItem si = list.get(i);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 178 ArrayList<PathDataNode> list = new ArrayList<PathDataNode>(); 184 addNode(list, s.charAt(0), val); 191 addNode(list, pathData.charAt(start), new float[0]); 193 return list.toArray(new PathDataNode[list.size()]); 325 * @param s the string containing a command and list of floats 369 private static void addNode(@NonNull ArrayList<PathDataNode> list, char cmd, argument 371 list.add(new PathDataNode(cmd, val));
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
H A D | PreferenceFragment.java | 305 * Sets the drawable that will be drawn between each item in the list. 318 * Sets the height of the divider that will be drawn between each item in the list. Calling 718 public ScrollToPreferenceObserver(RecyclerView.Adapter adapter, RecyclerView list, argument 721 mList = list;
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaBrowserServiceCompat.java | 294 void onResultSent(List<MediaBrowserCompat.MediaItem> list, @ResultFlags int flags) { 296 if (list != null) { 298 for (MediaBrowserCompat.MediaItem item : list) { 371 void onResultSent(List<MediaBrowserCompat.MediaItem> list, @ResultFlags int flags) { 373 if (list != null) { 375 for (MediaBrowserCompat.MediaItem item : list) { 703 void onLoadChildren(String mediaId, List<MediaBrowserCompat.MediaItem> list, Bundle options) argument 735 public void onLoadChildren(String mediaId, List<MediaBrowserCompat.MediaItem> list, argument 740 if (list != null) { 742 list instanceo 1060 applyOptions(List<MediaBrowserCompat.MediaItem> list, final Bundle options) argument [all...] |