Home
last modified time | relevance | path

Searched refs:defaultLocation (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLocationTest.java69 Location defaultLocation = new Location(LocationManager.GPS_PROVIDER); in defaultLocationShouldNotReportFieldsAsAvailable() local
70 assertFalse(defaultLocation.hasAccuracy()); in defaultLocationShouldNotReportFieldsAsAvailable()
71 assertFalse(defaultLocation.hasBearing()); in defaultLocationShouldNotReportFieldsAsAvailable()
72 assertFalse(defaultLocation.hasAltitude()); in defaultLocationShouldNotReportFieldsAsAvailable()
73 assertFalse(defaultLocation.hasSpeed()); in defaultLocationShouldNotReportFieldsAsAvailable()
75 assertEquals(0.0d, defaultLocation.getLatitude()); in defaultLocationShouldNotReportFieldsAsAvailable()
76 assertEquals(0.0d, defaultLocation.getLongitude()); in defaultLocationShouldNotReportFieldsAsAvailable()
77 assertEquals(0.0f, defaultLocation.getAccuracy()); in defaultLocationShouldNotReportFieldsAsAvailable()
78 assertEquals(0.0f, defaultLocation.getBearing()); in defaultLocationShouldNotReportFieldsAsAvailable()
79 assertEquals(0.0f, defaultLocation.getSpeed()); in defaultLocationShouldNotReportFieldsAsAvailable()
[all …]
/external/python/cpython2/Mac/Modules/
DNav.c451 AEDesc *defaultLocation = NULL; in nav_NavGetFile() local
466 …if (!filldialogoptions(dict, &defaultLocation, &dialogOptions, &eventProc, &previewProc, &filterPr… in nav_NavGetFile()
468 err = NavGetFile(defaultLocation, &reply, &dialogOptions, in nav_NavGetFile()
470 PyMem_DEL(defaultLocation); in nav_NavGetFile()
486 AEDesc *defaultLocation = NULL; in nav_NavPutFile() local
500 …if (!filldialogoptions(dict, &defaultLocation, &dialogOptions, &eventProc, NULL, NULL, NULL, &file… in nav_NavPutFile()
502 err = NavPutFile(defaultLocation, &reply, &dialogOptions, in nav_NavPutFile()
504 PyMem_DEL(defaultLocation); in nav_NavPutFile()
609 AEDesc *defaultLocation = NULL; in nav_NavChooseFile() local
624 …if (!filldialogoptions(dict, &defaultLocation, &dialogOptions, &eventProc, &previewProc, &filterPr… in nav_NavChooseFile()
[all …]
/external/python/cpython2/Lib/plat-mac/
DEasyDialogs.py594 defaultLocation = args['defaultLocation']
595 if isinstance(defaultLocation, Carbon.File.FSSpec):
597 Carbon.AppleEvents.typeFSS, defaultLocation.data)
599 if not isinstance(defaultLocation, Carbon.File.FSRef):
600 defaultLocation = Carbon.File.FSRef(defaultLocation)
602 Carbon.AppleEvents.typeFSRef, defaultLocation.data)
636 defaultLocation=None, argument
657 defaultLocation=defaultLocation, dialogOptionFlags=dialogOptionFlags,
688 defaultLocation=None, argument
710 defaultLocation=defaultLocation, dialogOptionFlags=dialogOptionFlags,
[all …]
Dgensuitemodule.py109 defaultLocation=appsfolder)
454 defaultLocation=DEFAULT_USER_PACKAGEFOLDER)
461 defaultLocation=DEFAULT_STANDARD_PACKAGEFOLDER)
/external/python/cpython2/Doc/library/
Deasydialogs.rst110 .. function:: AskFileForOpen( [message] [, typeList] [, defaultLocation] [, defaultOptionFlags] [, …
114 *typeList* is a list of 4-char filetypes allowable, *defaultLocation* is the
129 .. function:: AskFileForSave( [message] [, savedFileName] [, defaultLocation] [, defaultOptionFlags…
137 .. function:: AskFolder( [message] [, defaultLocation] [, defaultOptionFlags] [, location] [, clien…