Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cyrilmottier/Polaris
/ functions
Functions
167 in github.com/cyrilmottier/Polaris
⨍
Functions
167
◇
Types & classes
22
↓ 10 callers
Method
get
(int index)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:51
↓ 8 callers
Method
getIntrinsicWidth
()
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:188
↓ 7 callers
Method
size
()
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:83
↓ 6 callers
Method
addView
(View child, int index, ViewGroup.LayoutParams params)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:379
↓ 5 callers
Method
set
Set the {@link CoordinateRegion} to the specified values. Note: no range checking is performed, so it is up to the caller to ensure that latitude, lon
library/src/com/cyrilmottier/polaris/CoordinateRegion.java:133
↓ 4 callers
Method
getAnnotation
(int index)
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:81
↓ 4 callers
Method
oopsBackgroundModified
()
library/src/com/cyrilmottier/polaris/MapCalloutView.java:630
↓ 3 callers
Method
getSelectedAnnotation
Returns the selected annotation. @return The selected annotation
library/src/com/cyrilmottier/polaris/PolarisMapView.java:646
↓ 3 callers
Method
init
()
library/src/com/cyrilmottier/polaris/PolarisMapView.java:327
↓ 3 callers
Method
init
(Context context)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:107
↓ 3 callers
Method
isClickable
()
library/src/com/cyrilmottier/polaris/MapCalloutView.java:158
↓ 3 callers
Method
isEmpty
Returns true if the region defined by this {@link CoordinateRegion} is empty i.e. if at least one of the span values is <= 0. @return true if this re
library/src/com/cyrilmottier/polaris/CoordinateRegion.java:158
↓ 3 callers
Method
setClickable
(boolean clickable)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:163
↓ 3 callers
Method
setOnDoubleTapListener
Set a new listener to listen to double tap events. @param l The listener to set
library/src/com/cyrilmottier/polaris/MapCalloutView.java:313
↓ 3 callers
Method
show
(MapView mapView, GeoPoint point, boolean animated)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:276
↓ 3 callers
Method
size
()
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:67
↓ 2 callers
Method
boundMarker
Adjusts a drawable's bounds so that (0,0) is a pixel set according to the given gravity. @param marker The Drawable to adjust @return The Drawable th
library/src/com/cyrilmottier/polaris/MapViewUtils.java:137
↓ 2 callers
Method
getLocalConfigString
Uses reflection in order to extract a local configuration. @return The String associated to the given name (should be stored as a static fina
sample/src/com/cyrilmottier/android/polarissample/util/Config.java:62
↓ 2 callers
Method
getMapCallout
(int index)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:728
↓ 2 callers
Method
scheduleRegionChangeConfirmed
()
library/src/com/cyrilmottier/polaris/PolarisMapView.java:706
↓ 2 callers
Method
setAnchorOffset
Set the anchor offset in pixels i.e. the horizontal distance between the left of this {@link Drawable} and the middle of the arrow. @param offset The
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:273
↓ 2 callers
Method
setAnnotationsOverlay
(AnnotationsOverlay overlay)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:197
↓ 2 callers
Method
setLeftAccessoryView
Set a new left accessory view to this {@link MapCalloutView}. The newly added view will remove the previous one. Setting {@link android.view.ViewGroup
library/src/com/cyrilmottier/polaris/MapCalloutView.java:466
↓ 2 callers
Method
setOnClickListener
(OnClickListener l)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:150
↓ 2 callers
Method
setSelectedAnnotation
Set the selected annotation. @param position The position of the annotation to select
library/src/com/cyrilmottier/polaris/PolarisMapView.java:658
↓ 2 callers
Method
setUserLocationOverlay
(MyLocationOverlay overlay)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:193
↓ 2 callers
Method
testRegionChange
()
library/src/com/cyrilmottier/polaris/PolarisMapView.java:713
↓ 1 callers
Method
boundMarkerCenterBottom
Adjusts a drawable's bounds so that (0,0) is a pixel in the center of the bottom row of the drawable. Useful for "pin"-like graphics. For convenience,
library/src/com/cyrilmottier/polaris/MapViewUtils.java:126
↓ 1 callers
Method
bringChildToFront
(View child)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:391
↓ 1 callers
Method
dismiss
(boolean animated)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:300
↓ 1 callers
Method
dismissCallout
(int position)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:760
↓ 1 callers
Method
dismissCallout
(int position)
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:37
↓ 1 callers
Method
equals
(Object o)
library/src/com/cyrilmottier/polaris/CoordinateRegion.java:86
↓ 1 callers
Method
getCoordinateRegion
Return the visible region of your map. Fills in the output region with the values from the center coordinates and the spans. @param region The visibl
library/src/com/cyrilmottier/polaris/PolarisMapView.java:670
↓ 1 callers
Method
getCurrentMapCallout
()
library/src/com/cyrilmottier/polaris/PolarisMapView.java:738
↓ 1 callers
Method
getDefaultMarker
()
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:58
↓ 1 callers
Method
getIntrinsicHeight
()
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:182
↓ 1 callers
Method
getLeftMargin
Return the left margin for this {@link MapCalloutDrawable} in pixels. The left margin defines the minimum value of the anchor offset. @return The lef
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:252
↓ 1 callers
Method
getLocalConfig
()
sample/src/com/cyrilmottier/android/polarissample/util/Config.java:47
↓ 1 callers
Method
getMarker
Return the Drawable use as this {@link Annotation}'s marker or null if none have been set. @return The marker {@link Drawable}
library/src/com/cyrilmottier/polaris/Annotation.java:74
↓ 1 callers
Method
getNextMapCallout
()
library/src/com/cyrilmottier/polaris/PolarisMapView.java:742
↓ 1 callers
Method
getRightMargin
Return the right margin for this {@link MapCalloutDrawable} in pixels. The right margin defines can be used to compute the maximum value of the anchor
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:263
↓ 1 callers
Method
getSelectedAnnotationPosition
Returns the position of the selected annotation or {@value #INVALID_POSITION} if no annotation is currently selected. @return the position of the sel
library/src/com/cyrilmottier/polaris/PolarisMapView.java:634
↓ 1 callers
Method
hasDisplayableContent
Indicates whether this {@link MapCalloutView} has some displayable content. The result of this method is used as a hint to know whether or not the cal
library/src/com/cyrilmottier/polaris/MapCalloutView.java:544
↓ 1 callers
Method
layoutFixed
(boolean changed, int l, int t, int r, int b)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:196
↓ 1 callers
Method
layoutVariable
(boolean changed, int l, int t, int r, int b)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:200
↓ 1 callers
Method
offsetToContainRect
(Rect innerRect, Rect outerRect, Point outPoint)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:616
↓ 1 callers
Method
onAnnotationClicked
Indicates the selected annotation has been clicked. This is usually the callback one may use to show additional information about the clicked annotati
library/src/com/cyrilmottier/polaris/PolarisMapView.java:232
↓ 1 callers
Method
onAnnotationDeselected
Tells client that an annotation has been de-selected. An annotation can be de-selected either because the map has been tapped or because it has been d
library/src/com/cyrilmottier/polaris/PolarisMapView.java:218
↓ 1 callers
Method
onAnnotationSelected
Tells client that an annotation has been selected. An annotation can be selected either because a marker has been tapped or because it has been select
library/src/com/cyrilmottier/polaris/PolarisMapView.java:203
↓ 1 callers
Method
onClick
(View v)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:837
↓ 1 callers
Method
onDoubleTap
Called when a view has been double tapped. @param v The view that was double tapped.
library/src/com/cyrilmottier/polaris/MapCalloutView.java:55
↓ 1 callers
Method
onDoubleTap
(MotionEvent e)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:44
↓ 1 callers
Method
onLongClick
(PolarisMapView mapView, GeoPoint geoPoint)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:264
↓ 1 callers
Method
onLongPress
(MotionEvent e)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:46
↓ 1 callers
Method
onRegionChangeConfirmed
Equivalent to {@link #onRegionChanged(PolarisMapView)}. This method has the advantage to be called only when a change has been confirmed (i.e. once an
library/src/com/cyrilmottier/polaris/PolarisMapView.java:164
↓ 1 callers
Method
onRegionChanged
Tells client that the region displayed by the {@link PolarisMapView} just changed. <p> <strong>Note</strong>: This method is called whenever the curre
library/src/com/cyrilmottier/polaris/PolarisMapView.java:153
↓ 1 callers
Method
onSimpleTap
(MotionEvent e)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:42
↓ 1 callers
Method
onSingleTapConfirmed
(MotionEvent e)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:663
↓ 1 callers
Method
onTouchEvent
(MotionEvent ev)
library/src/com/cyrilmottier/polaris/PolarisMapView.java:362
↓ 1 callers
Method
onUp
(MotionEvent e)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:671
↓ 1 callers
Method
setActionnable
Enables or disables action events for this view. When a {@link PolarisMapView} is actionnable it will be zoomable and pannable. @param actionnable tr
library/src/com/cyrilmottier/polaris/PolarisMapView.java:566
↓ 1 callers
Method
setAnnotations
Set the annotations to display in this {@link PolarisMapView}. @param annotations The annotations @param annotationMarkerId The resource identifier t
library/src/com/cyrilmottier/polaris/PolarisMapView.java:601
↓ 1 callers
Method
setBackgroundDrawable
(Drawable background)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:145
↓ 1 callers
Method
setData
Sets the view's data from a given overlay item. Overlay's title and snippet are respectively used as the new title and subtitle. @param item - The ov
library/src/com/cyrilmottier/polaris/MapCalloutView.java:355
↓ 1 callers
Method
setDisclosureEnabled
Enable or disable the disclosure indicator. Put simple, the disclosure indicator should always be visible when the {@link MapCalloutView} is clickable
library/src/com/cyrilmottier/polaris/MapCalloutView.java:381
↓ 1 callers
Method
setMarkerHeight
Defines the height of the marker i.e. the dimension in pixels the callout will be offset from the bottom. @return The height (in pixels) of the pin.
library/src/com/cyrilmottier/polaris/MapCalloutView.java:576
↓ 1 callers
Method
setOnAnnotationSelectionChangedListener
Set a new {@link OnAnnotationSelectionChangedListener}. @param listener The new {@link OnAnnotationSelectionChangedListener}
library/src/com/cyrilmottier/polaris/PolarisMapView.java:591
↓ 1 callers
Method
setOnRegionChangedListenerListener
Set a new {@link OnRegionChangedListener}. @param listener The new {@link OnRegionChangedListener}
library/src/com/cyrilmottier/polaris/PolarisMapView.java:486
↓ 1 callers
Method
setSelectedAnnotation
(int position)
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:92
↓ 1 callers
Method
setSubtitle
Set the subtitle of the {@link MapCalloutView}. The {@link MapCalloutView} automatically manages empty (null or zero-length) subtitle. @param subtitl
library/src/com/cyrilmottier/polaris/MapCalloutView.java:339
↓ 1 callers
Method
setTitle
Set the title of the {@link MapCalloutView}. The {@link MapCalloutView} automatically manages empty (null or zero-length) title. @param title The tit
library/src/com/cyrilmottier/polaris/MapCalloutView.java:323
↓ 1 callers
Method
setUserTrackingButtonEnabled
Enable/disable user tracking on this {@link PolarisMapView}. @param enabled True if user tracking is enabled, false otherwise.
library/src/com/cyrilmottier/polaris/PolarisMapView.java:515
↓ 1 callers
Method
showCallout
(int position)
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:39
↓ 1 callers
Method
smoothCenterOnUserLocation
Smoothly animates the {@link MapView} so that it centers on the user location. In case, no location is currently available, the error message is displ
library/src/com/cyrilmottier/polaris/MapViewUtils.java:73
↓ 1 callers
Method
smoothScrollBy
Animated equivalent to {@link MapController#scrollBy(int, int)}. Scroll by a given amount using the default animation, in pixels. <p> <strong>Limitati
library/src/com/cyrilmottier/polaris/MapViewUtils.java:54
↓ 1 callers
Method
supportsMultiTouchZoom
Determine whether multi-touch is fully enabled on the current device. The hint returned by this method can be used to decide whether to enable the bui
library/src/com/cyrilmottier/polaris/PolarisMapView.java:688
↓ 1 callers
Method
testRegionChangeConfirmed
()
library/src/com/cyrilmottier/polaris/PolarisMapView.java:717
↓ 1 callers
Method
updateBounds
()
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:207
Method
Annotation
Construct an {@link Annotation}. @param point Position of the annotation. @param title Title text for this annotation
library/src/com/cyrilmottier/polaris/Annotation.java:37
Method
AnnotationsOverlay
(MystiqueCallback callback, List<Annotation> annotations, Drawable defaultMarker)
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:47
Method
Build
()
library/src/com/cyrilmottier/polaris/Build.java:25
Method
Config
()
sample/src/com/cyrilmottier/android/polarissample/util/Config.java:32
Method
CoordinateRegion
Create a new empty region. All coordinates are initialized to 0.
library/src/com/cyrilmottier/polaris/CoordinateRegion.java:53
Method
MapCalloutDrawable
Create a new {@link MapCalloutDrawable} whose anchor is placed in the middle just like a regular 9-patch would do. @param context The Context in whic
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:80
Method
MapCalloutView
(Context context)
library/src/com/cyrilmottier/polaris/MapCalloutView.java:92
Method
MapViewUtils
()
library/src/com/cyrilmottier/polaris/MapViewUtils.java:38
Method
OverlayContainer
(Context context, MagnetoCallback callback)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:103
Method
PolarisMapView
Create a new {@link PolarisMapView}. @param context A {@link MapActivity} Context. @param attrs An attribute set.
library/src/com/cyrilmottier/polaris/PolarisMapView.java:301
Method
addOverlay
Add a new {@link Overlay} to the {@link Overlay}'s list. The {@link Overlay} will be added at the end of the list. Hence, it will be drawn on top of a
library/src/com/cyrilmottier/polaris/PolarisMapView.java:429
Method
addOverlay
(Overlay overlay)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:201
Method
boundMarkerCenter
Adjusts a drawable's bounds so that (0,0) is the center center of the drawable. Useful for "waypoint badge"-like graphics. For convenience, returns th
library/src/com/cyrilmottier/polaris/MapViewUtils.java:114
Method
createItem
(int index)
library/src/com/cyrilmottier/polaris/internal/AnnotationsOverlay.java:62
Method
draw
(Canvas canvas)
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:92
Method
draw
(Canvas canvas, MapView mapView, boolean shadow)
library/src/com/cyrilmottier/polaris/internal/OverlayContainer.java:112
Method
getAnchorMode
()
library/src/com/cyrilmottier/polaris/MapCalloutView.java:587
Method
getChangingConfigurations
()
library/src/com/cyrilmottier/polaris/MapCalloutDrawable.java:197
Method
getCustomView
Return the custom view. @return The custom view or null if no custom view has been set
library/src/com/cyrilmottier/polaris/MapCalloutView.java:497
Method
getLeftAccessoryView
Return the left accessory view. @return The left accessory view.
library/src/com/cyrilmottier/polaris/MapCalloutView.java:452
Method
getMarkerHeight
Defines the height of the marker i.e. the dimension in pixels the callout will be offset from the bottom. @return
library/src/com/cyrilmottier/polaris/MapCalloutView.java:566
next →
1–100 of 167, ranked by callers