/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebHistoryItemTest.java | 78 WebBackForwardList list = view.copyBackForwardList(); local 79 assertEquals(0, list.getSize()); 83 list = view.copyBackForwardList(); 84 assertEquals(1, list.getSize()); 85 WebHistoryItem item = list.getCurrentItem(); 96 list = view.copyBackForwardList(); 97 assertEquals(2, list.getSize()); 98 item = list.getCurrentItem(); 116 WebBackForwardList list = view.copyBackForwardList(); local 117 assertEquals(0, list.getSize()) 126 WebBackForwardList list = view.copyBackForwardList(); local [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
DecodingImageSource.java | 32 import java.util.List; 42 List<ImageConsumer> consumers = new ArrayList<ImageConsumer>(5); 43 List<ImageDecoder> decoders = new ArrayList<ImageDecoder>(5); 88 * This method stops sending data to the list of consumers. 89 * @param consumersList - list of consumers 91 private void abortAllConsumers(List<ImageConsumer> consumersList) { 115 * @param consumersList - list of consumers 118 private static void removeConsumer(List<ImageConsumer> consumersList, ImageConsumer ic) { 160 * Checks if the consumer is in the list and returns it it is there 161 * @param consumersList - list of consumer [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursorTest.java | 29 * Tests restoring the scroll position in a list with a managed cursor. 56 * Scroll the list using arrows, launch new activity, hit back, make sure we're still scrolled. 67 assertTrue("List changed to touch mode", !mListView.isInTouchMode()); 68 assertTrue("List did not preserve scroll position", 73 * Scroll the list using touch, launch new activity, hit back, make sure we're still scrolled. 84 assertTrue("List not in touch mode", mListView.isInTouchMode()); 85 assertTrue("List did not preserve scroll position", 90 * Scroll the list using arrows, launch new activity, change to touch mode, hit back, make sure 103 assertTrue("List did not change to touch mode", mListView.isInTouchMode()); 104 assertTrue("List did not preserve scroll position", [all...] |
/dalvik/libcore/xml/src/main/java/org/xml/sax/ |
AttributeList.java | 1 // SAX Attribute List Interface. 22 * <p>When an attribute list is supplied as part of a 24 * event, the list will return valid results only during the 26 * to the parser, the attribute list is invalid. To save a 27 * persistent copy of the attribute list, use the SAX1 31 * <p>An attribute list includes only attributes that have been 36 * list:</p> 82 * Return the number of attributes in this list. 89 * @return The number of attributes in the list. 95 * Return the name of an attribute in this list (by position) [all...] |
/external/proguard/src/proguard/ant/ |
ConfigurationTask.java | 354 private List extendKeepSpecifications(List keepSpecifications, 372 private List extendClassSpecifications(List classSpecifications, 386 private List extendClassSpecifications(List classSpecifications, 387 List additionalClassSpecifications) 403 private List extendFilter(List filter, 410 private List extendFilter(List filter [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
MidiSystem.java | 21 import java.util.List; 75 * obtain the list of MidiDeviceProviders 77 List<?> deviceProviders = ProviderService.getProviders(midiDeviceProviderPath); 97 * obtain the list of MidiDeviceProviders 99 List<?> deviceProviders = ProviderService.getProviders(midiDeviceProviderPath); 101 List<MidiDevice.Info> infos = new ArrayList<MidiDevice.Info>(); 103 * look through list of providers and save info of devices 119 * obtain the list of MidiFileReaderProviders 121 List<?> fileReaderProviders = ProviderService.getProviders(midiFileReaderPath); 141 * obtain the list of MidiFileReaderProvider [all...] |
/external/clearsilver/util/ |
dict.c | 56 pthread_mutex_t mList; /* list update mutex */ 57 skipList list; /* skip list */ member in struct:_dictCtx 141 /* list locked, so safe to walk entry */ 214 skipRelease(dict->list, lock); 236 if((err = skipInsert(dict->list, hash, entry, FALSE)) == STATUS_OK) 251 entry = skipSearch(dict->list, hash, &lock); 279 /* find entry in list */ 280 entry = skipSearch(dict->list, hash, &lock); 329 skipRelease(dict->list, lock) [all...] |
/external/opencore/oscl/oscl/osclbase/src/ |
oscl_linked_list.cpp | 44 * Return the first element of list in passed parameter, 45 * @param ele return the value of first element of list in this parameter 58 * Return the next element of list in passed parameter, 59 * @param ele return the value of next element of list in this parameter 60 * @return 32-bit interger ,if next element is found in list,it returns 1 80 * Debug routine: Checks the list for elements. 82 * to the list then returns 1 otherwise returns 0. 96 * Adds new element to the list.if list is already there then it adds element at end of list otherwis [all...] |
/hardware/ril/libril/ |
ril_event.cpp | 108 static void init_list(struct ril_event * list) 110 memset(list, 0, sizeof(struct ril_event)); 111 list->next = list; 112 list->prev = list; 113 list->fd = -1; 116 static void addToList(struct ril_event * ev, struct ril_event * list) 118 ev->next = list; 119 ev->prev = list->prev 292 struct ril_event * list; local [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
CertificatePolicies.java | 29 import java.util.List; 40 * Certificate and Certificate Revocation List (CRL) Profile. 52 private List policyInformations; 63 * @param policyInformations: List 65 public CertificatePolicies(List policyInformations) { 78 // @param policyInformations: List 81 private CertificatePolicies(List policyInformations, byte[] encoding) { 90 public List getPolicyInformations() { 142 return new CertificatePolicies((List) in.content, in.getEncoded());
|
GeneralSubtrees.java | 27 import java.util.List; 38 * Certificate and Certificate Revocation List (CRL) Profile. 51 // the list of values of GeneralSubtrees 52 private List generalSubtrees; 63 * @param generalSubtrees: List 65 public GeneralSubtrees(List generalSubtrees) { 71 * Returns the list of values of subtrees. 74 public List getSubtrees() { 109 return new GeneralSubtrees((List)in.content);
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
ApiDemos.java | 33 import java.util.List; 55 protected List getData(String prefix) { 56 List<Map> myData = new ArrayList<Map>(); 62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); local 64 if (null == list) 75 int len = list.size(); 80 ResolveInfo info = list.get(i); 131 protected void addItem(List<Map> data, String name, Intent intent) {
|
/external/jdiff/src/jdiff/ |
ClassDiff.java | 38 public List ctorsAdded = null; 40 public List ctorsRemoved = null; 42 public List ctorsChanged = null; 45 public List methodsAdded = null; 47 public List methodsRemoved = null; 49 public List methodsChanged = null; 52 public List fieldsAdded = null; 54 public List fieldsRemoved = null; 56 public List fieldsChanged = null;
|
/external/proguard/src/proguard/util/ |
ListParser.java | 23 import java.util.List; 27 * The regular expressions are either presented as a list, or they are 30 * considering any subsequent entries in the list. The creation of StringMatcher 42 * comma-separated list with the given StringParser. 54 // Does the regular expression contain a ',' list separator? 61 * be a list of optionally negated simple entries. 63 * An empty list results in a StringMatcher that matches any string. 65 public StringMatcher parse(List regularExpressions) 70 // linked list of matchers.
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
CreateInfo.java | 21 * The list of class from layoutlib_create to inject in layoutlib. 31 * The list of methods to stub out. Each entry must be in the form 40 * The list of classes to rename, must be an even list: the binary FQCN 67 * List of classes for which the methods returning them should be deleted. 68 * The array contains a list of null terminated section starting with the name of the class 69 * to rename in which the methods are deleted, followed by a list of return types identifying 75 "android.graphics.Paint$Align", // list of type identifying methods to delete 81 null }; // separator, for next class/methods list.
|
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
OrFileFilter.java | 24 import java.util.List;
27 * A {@link java.io.FileFilter} providing conditional OR logic across a list of
29 * list return <code>true</code>. Otherwise, it returns <code>false</code>.
30 * Checking of the file filter list stops when the first filter returns
42 /** The list of file filters. */
43 private List fileFilters;
61 public OrFileFilter(final List fileFilters) {
95 public List getFileFilters() {
109 public void setFileFilters(final List fileFilters) {
|
/external/proguard/src/proguard/gui/ |
MemberSpecificationsPanel.java | 31 import java.util.List; 36 * MemberSpecification entries in a list. 52 list.setCellRenderer(new MyListCellRenderer()); 123 (MyMemberSpecificationWrapper)list.getSelectedValue(); 137 list.getSelectedIndex()); 149 public void setMemberSpecifications(List fieldSpecifications, 150 List methodSpecifications) 187 public List getMemberSpecifications(boolean isField) 195 List memberSpecifications = new ArrayList(size); 221 public Component getListCellRendererComponent(JList list, [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
Header.java | 31 import java.util.List;
47 private List fields = new LinkedList();
75 * Adds a field to the end of the list of fields.
80 List values = (List) fieldMap.get(field.getName().toLowerCase());
90 * Gets the fields of this header. The returned list will not be
93 * @return the list of <code>Field</code> objects.
95 public List getFields() {
107 List l = (List) fieldMap.get(name.toLowerCase()); [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
Header.java | 24 import java.util.List; 61 public Header(Map<String, List<String>> map) { 63 for (Entry<String, List<String>> next : map.entrySet()) { 66 List<String> value = next.getValue(); 107 LinkedList<String> list = keyTable.get(key); local 108 if (list == null) { 109 list = new LinkedList<String>(); 110 keyTable.put(key, list); 113 list.add(value); 132 LinkedList<String> list = keyTable.get(key) local [all...] |
/external/opencore/nodes/common/include/ |
pvmf_meta_data_extension.h | 67 * Synchronous method to return the number of metadata values for the specified list of key strings 69 * @param aKeyList A reference to a metadata key list to specifying the values of interest to count 71 * @returns The number of metadata values based on the provided key list 76 * Asynchronous method to retrieve a list of metadata keys. The subset of all available keys in the node can 80 * @param aKeyList A reference to a metadata key list to add the metadata keys 81 * @param aStartingKeyIndex Index into the node's total key list that corresponds to the first key entry to retrieve 96 * Asynchronous method to retrieve a list of metadata values. The subset of all available values in the node can 97 * be specified by providing a combination of key list, starting index, and maximum number of values to retrieve 100 * @param aKeyList A reference to a metadata key list specifying the metadata values to retrieve 101 * @param aValueList A reference to a metadata value list to add the metadata value [all...] |
/frameworks/base/services/java/com/android/server/status/ |
NotificationViewList.java | 31 private static final int indexInList(ArrayList<StatusBarNotification> list, NotificationData n){ 32 final int N = list.size(); 34 StatusBarNotification that = list.get(i); 73 ArrayList<StatusBarNotification> list = new ArrayList<StatusBarNotification>(); local 77 list.add(mOngoing.get(i)); 83 list.add(mLatest.get(i)); 86 return list; 100 private static final int indexForKey(ArrayList<StatusBarNotification> list, IBinder key) { 101 final int N = list.size(); 103 if (list.get(i).key == key) 125 ArrayList<StatusBarNotification> list = notification.data.ongoingEvent ? mOngoing : mLatest; local 182 ArrayList<StatusBarNotification> list = notification.data.ongoingEvent ? mOngoing : mLatest; local [all...] |
/packages/apps/IM/src/com/android/im/service/ |
ContactListManagerAdapter.java | 25 import java.util.List; 122 public int createContactList(String name, List<Contact> contacts) { 142 public List getContactLists() { 162 for(ContactListAdapter list : mContactLists.values()) { 163 int resCode = list.removeContact(address); 165 // Did not find in this list, continue to remove from 166 // other list. 305 * Tells if a contact is a temporary one which is not in the list of 322 for (ContactListAdapter list : mContactLists.values()) { 323 if (name.equals(list.getName())) [all...] |
/bionic/libc/bionic/ |
libc_init_static.c | 9 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer in 52 static void call_array(void(**list)()) 54 // First element is -1, list is null-terminated 55 while (*++list) { 56 (*list)();
|
/dalvik/libcore/luni/src/main/java/java/net/ |
CookieHandler.java | 20 import java.util.List; 69 * a list of request headers. 74 public abstract Map<String, List<String>> get(URI uri, 75 Map<String, List<String>> requestHeaders) throws IOException; 84 * a list of request headers. 88 public abstract void put(URI uri, Map<String, List<String>> responseHeaders)
|
/dalvik/libcore/xml/src/main/java/org/w3c/dom/ |
DOMImplementationSource.java | 19 * listed in the binding-specific list of available sources so that its 29 * are required. This is a space separated list in which each feature 31 * version number. This method returns the first item of the list 46 * A method to request a list of DOM implementations that support the 49 * are required. This is a space separated list in which each feature 53 * @return A list of DOM implementations that support the desired
|