/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataManager.java | 68 public static DataManager from(Context context) { method in class:DataManager
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeleteDropTarget.java | 141 // If we are dragging a widget from AppsCustomize, hide the delete target 146 // If we are dragging an application from AppsCustomize, only show the control if we can 156 // let them uninstall from here either. 206 Rect from = new Rect(); local 207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 210 float scale = (float) to.width() / from.width(); 221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, 231 // Uninstall the application if it is being dragged from AppsCustomize 236 // Remove the folder from the workspace and delete the contents from launcher mode 270 final Rect from = new Rect(); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 223 final Rect from = new Rect(); local 224 dragLayer.getViewRectRelativeToSelf(d.dragView, from); 230 final float scale = (float) to.width() / from.width(); 241 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
BugleApnSettingsLoader.java | 47 * This loader tries to load APNs from 3 sources in order: 58 * Create a base APN from parameters 66 public static BaseApn from(final String typesIn, final String mmscIn, final String proxyIn, method in class:BugleApnSettingsLoader.BaseApn 151 * Create an APN loaded from local database 162 public static DatabaseApn from(final List<Apn> apns, final String typesIn, method in class:BugleApnSettingsLoader.DatabaseApn 168 final BaseApn base = BaseApn.from(typesIn, mmscIn, proxyIn, portIn); 357 * Load from Gservices if APN setting is set in Gservices 367 LogUtil.i(LogUtil.BUGLE_TAG, "Loading APNs from gservices"); 370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port)); 377 * Load matching APNs from telephony provider [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
if_link.h | 187 __u32 from; member in struct:ifla_vlan_qos_mapping
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_import.py | 14 from test.test_support import (unlink, TESTFN, unload, run_unittest, rmtree, 16 from test import symlink_support 17 from test import script_helper 58 from test import double_const # don't blink -- that *was* the test 81 self.fail("import from %s failed: %s" % (ext, err)) namespace 94 self.fail("import from .pyc/.pyo failed: %s" % err) namespace 210 # Need to be able to load from current dir. 546 # This will import * from .test_import. 547 from . import relimport 553 exec "from os import path" in n [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_import.py | 14 from test.test_support import (unlink, TESTFN, unload, run_unittest, rmtree, 16 from test import symlink_support 17 from test import script_helper 58 from test import double_const # don't blink -- that *was* the test 81 self.fail("import from %s failed: %s" % (ext, err)) namespace 94 self.fail("import from .pyc/.pyo failed: %s" % err) namespace 210 # Need to be able to load from current dir. 546 # This will import * from .test_import. 547 from . import relimport 553 exec "from os import path" in n [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
GlobalProjectMonitor.java | 129 * @param from the path of the project before the rename action. 131 public void projectRenamed(IProject project, IPath from); 299 IPath from = delta.getMovedFromPath(); local 303 pl.projectRenamed(project, from);
|
/prebuilts/gradle-plugin/com/android/tools/testutils/24.3.1/ |
testutils-24.3.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-alpha1/ |
testutils-24.4.0-alpha1.jar | |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 44 import gov.nist.javax.sip.header.From; 122 * dialog identifier that can be used to retrieve this structure from the SipStack. 203 // The following fields are extracted from the request that created the 263 // We store here the useful data from the first transaction without having to 280 * is to prevent interleaving INVITEs ( which will result in a 493 from the UA that receives 446 stack.getStackLogger().logDebug("resend 200 response from " + dialog); 716 * @param sipMessage -- SIP Message to extract the relevant information from. 733 * Add a route list extracted from a record route list. If this is a server dialog then we 738 * @param recordRouteList -- the record route list from the incoming message. 745 // route from the response and reverse its order t 1928 From from = new From(); local 2066 From from = (From) dialogRequest.getFrom(); local 2471 From from = new From(); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleCursorAdapterTest.java | 368 final String[] from = new String[] { "column2" }; local 369 simpleCursorAdapter.changeCursorAndColumns(newCursor, from, VIEWS_TO);
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
Adapters.java | 57 * to display the content of a cursor, most often coming from a content provider</li> 99 * <p>The <code><select /></code> tag is used to select columns from the cursor 115 * <p>The <code><bind /></code> tag is used to bind a column from the cursor to 130 * <li><code>android:from</code>: The name of the column to bind from. 181 * <p>A map element simply specifies a value to match from and a value to match to. When 182 * a column's value equals the value to match from, it is replaced with the value to match 185 * <li><code>android:fromValue</code>: The value to match from. This attribute is mandatory</li> 223 * <bind android:from="display_name" android:to="@id/name" android:as="string" /> 224 * <bind android:from="starred" android:to="@id/star" android:as="drawable"> 805 String from = a.getString(R.styleable.CursorAdapter_MapItem_fromValue); local [all...] |
/external/dhcpcd/ |
dhcpcd.c | 314 struct in_addr from, to; local 342 * This could happen if our IP was pulled out from underneath us. 343 * Also, we should not unicast from a BOOTP lease. */ 353 from.s_addr = dhcp->ciaddr; 354 if (from.s_addr) 365 len = make_udp_packet(&udp, (uint8_t *)dhcp, len, from, to); 371 * As such we remove it from consideration without actually 444 const struct in_addr *from) 459 tfrom = "from"; 467 addr = *from; 668 struct in_addr from; local [all...] |
/external/fio/ |
client.c | 373 const char *from; local 376 from = inet_ntop(AF_INET6, (struct sockaddr *) &client->addr6.sin6_addr, buf, bufsize); 378 from = "sock"; 380 from = inet_ntop(AF_INET, (struct sockaddr *) &client->addr.sin_addr, buf, bufsize); 382 return from; 545 /* Windows uses SIGBREAK as a quit signal from other applications */ [all...] |
/external/fio/engines/ |
net.c | 4 * IO engine that reads/writes to/from sockets. 372 * Receive bytes from a socket and fill them into the internal pipe 382 * Transmit 'len' bytes from the internal pipe 456 * splice transmit - map data from the io_u into a pipe by using vmsplice, 595 struct sockaddr *from; local 600 from = (struct sockaddr *) &nd->addr; 603 from = (struct sockaddr *) &nd->addr6; 607 from = NULL; 612 io_u->xfer_buflen, flags, from, len);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableMapTest.java | 166 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet());
|
/external/icu/icu4c/source/common/ |
ucnv.c | 150 and created from a converter that is shared across threads. 346 or from user code that statically links this code. */ 404 /*returns a single Name from the list, will return NULL if out of bounds 436 /* Unicode string or empty string from ucnv_setSubstString(). */ 879 * Previous m:n conversion stored source units from a partial match 881 * We need to "replay" them from a temporary buffer and convert them first. 926 /* handle error from ucnv_convertEx() */ 1005 /* switch back from replaying to the real source and continue */ 2542 UConverter *algoConverter, *to, *from; local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 42 ** Much of this section of code is stolen from private.h. 312 wp = _("differs from POSIX standard"); 522 register int from; local 535 for (from = 0; environ[from] != NULL; ++from) 536 if (strncmp(environ[from], "TZ=", 3) != 0) 537 fakeenv[to++] = environ[from];
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
OlsonTimeZone.java | 37 * from 0..n-1, where n is the number of zones, with the zones sorted 56 * List of transition times represented by 32bit seconds from the 106 * from the complex zone element 5, and the ID string, which is not 108 * scale from seconds to milliseconds. 112 * (UN M.49 - World). This data is generated from "zone.tab" 117 // Generated by serialver from JDK 1.4.1_01 159 // Compute local epoch millis from input fields 305 // observed from 1943 to the present, most clients will expect 474 * Construct from a resource bundle 685 // Linear search from the end is the fastest approach, sinc 980 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; local 1032 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; local [all...] |
TimeZoneNamesImpl.java | 125 if (date >= map.from() && date < map.to()) { 229 * Initialize the transient fields, called from the constructor and 255 * This is called from the initializer to load default zone's 561 MZMapEntry(String mzID, long from, long to) { 563 _from = from; 571 long from() { method in class:TimeZoneNamesImpl.MZMapEntry 605 long from, to; local 606 from = parseDate(fromStr); 608 mzMaps.add(new MZMapEntry(mzid, from, to));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateIntervalFormatTest.java | 9 * Port From: ICU4C v1.8.1 : format : DateIntervalFormatTest 1343 Calendar from = Calendar.getInstance(); local 1382 Calendar from = Calendar.getInstance(); local 1418 Calendar from = Calendar.getInstance(); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/ |
SpoofCheckerTest.java | 80 * Test build from source rules. 113 // Check that newly built-from-rules SpoofChecker is able to function. 119 // The checker we just built from source rules should be equivalent to the 120 // default checker created from prebuilt rules baked into the ICU data. 122 assertTrue("Checker built from rules equals default", defaultChecker.equals(rsc)); 301 /* Remove a character that is in our good Latin test identifier from the allowed chars set. */ 398 // testSkeleton. Spot check a number of confusable skeleton substitutions from the 494 // Two acute accents, one from the composed a with acute accent, \u00e1, 706 // Verify that each item from the Unicode confusables.txt file 722 // Parse lines from the confusables.txt file. Example Line 750 String from = parseHex(parseLine.group(1)); local [all...] |
/external/iproute2/ip/ |
iproute.c | 63 fprintf(stderr, " ip route get ADDRESS [ from ADDRESS iif STRING ]\n"); 357 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, 364 fprintf(fp, "from %s ", format_host(r->rtm_family, 371 fprintf(fp, "from 0/%u ", r->rtm_src_len); 431 __u32 from = to>>16; local 433 fprintf(fp, "realm%s ", from ? "s" : ""); 434 if (from) { 436 rtnl_rtrealm_n2a(from, b1, sizeof(b1))); 596 __u32 from = to>>16; local 598 fprintf(fp, " realm%s ", from ? "s" : "") [all...] |
/external/iputils/ |
arping.c | 376 int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM) 386 if (FROM->sll_pkttype != PACKET_HOST && 387 FROM->sll_pkttype != PACKET_BROADCAST && 388 FROM->sll_pkttype != PACKET_MULTICAST) 397 if (ah->ar_hrd != htons(FROM->sll_hatype) && 398 (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) 442 printf("%s ", FROM->sll_pkttype==PACKET_HOST ? "Unicast" : "Broadcast"); 443 printf("%s from ", ah->ar_op == htons(ARPOP_REPLY) ? "reply" : "request"); 470 if (FROM->sll_pkttype != PACKET_HOST) 1196 printf("from %s %s\n", inet_ntoa(src), device.name ? : "") 1214 struct sockaddr_storage from; local [all...] |