Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ACTION_CALL_IDLE - Static variable in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Intent action constant for the call idle state.
- ACTION_ON_CALL - Static variable in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Intent action constant for the on call state.
- ADE_DEFAULT_RESTART_INTERVAL - Static variable in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
-
Default interval after which try to restart the service.
- ADE_NOTIFICATION_TIMEOUT - Static variable in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
The minimal period in milliseconds between two events.
- ADE_PREF_EVENTS_PRIORITY - Static variable in class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
-
Shared preference key for the event priorities.
- ADE_PRIORITY_SPLIT - Static variable in class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
-
DynamicPriority splitter to separate different events.
- APP - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for the app event.
C
- CALL - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for the call event.
- CHARGING - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for the charging event.
- COLLAPSED - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicHinge
-
Constant for the collapsed hinge state.
- com.pranavpandey.android.dynamic.engine - package com.pranavpandey.android.dynamic.engine
- com.pranavpandey.android.dynamic.engine.listener - package com.pranavpandey.android.dynamic.engine.listener
- com.pranavpandey.android.dynamic.engine.model - package com.pranavpandey.android.dynamic.engine.model
- com.pranavpandey.android.dynamic.engine.receiver - package com.pranavpandey.android.dynamic.engine.receiver
- com.pranavpandey.android.dynamic.engine.service - package com.pranavpandey.android.dynamic.engine.service
- com.pranavpandey.android.dynamic.engine.task - package com.pranavpandey.android.dynamic.engine.task
- com.pranavpandey.android.dynamic.engine.util - package com.pranavpandey.android.dynamic.engine.util
- CREATOR - Static variable in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Parcelable creator to create from parcel.
D
- describeContents() - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
- DOCK - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for the dock event.
- doInBackground(Void) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
- DynamicAppInfo - Class in com.pranavpandey.android.dynamic.engine.model
-
Collection of various properties for a given package for an easy data interchange.
- DynamicAppInfo() - Constructor for class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Default constructor to initialize the dynamic app info.
- DynamicAppInfo(Parcel) - Constructor for class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Read an object of this class from the parcel.
- DynamicAppMonitor - Class in com.pranavpandey.android.dynamic.engine.task
-
A
DynamicTask
to monitor foreground to provide app specific functionality. - DynamicAppMonitor(DynamicEngine) - Constructor for class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Constructor to initialize an object of this class.
- DynamicEngine - Class in com.pranavpandey.android.dynamic.engine
-
Service to monitor various system events to provide event specific functionality in the app.
- DynamicEngine() - Constructor for class com.pranavpandey.android.dynamic.engine.DynamicEngine
- DynamicEngineUtils - Class in com.pranavpandey.android.dynamic.engine.util
-
Helper class used for the
DynamicEngine
. - DynamicEngineUtils() - Constructor for class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
- DynamicEvent - Annotation Interface in com.pranavpandey.android.dynamic.engine.model
-
Events supported by the
DynamicEngine
. - DynamicEventListener - Interface in com.pranavpandey.android.dynamic.engine.listener
-
Interface to listen various system events with the help of
DynamicEngine
. - DynamicHinge - Annotation Interface in com.pranavpandey.android.dynamic.engine.model
-
Hinge states supported by the
DynamicEngine
. - DynamicPriority - Class in com.pranavpandey.android.dynamic.engine.model
-
Helper class to manage priority of the different events in case two or more events will occur simultaneously.
- DynamicPriority() - Constructor for class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
- DynamicStateReceiver - Class in com.pranavpandey.android.dynamic.engine.receiver
-
Broadcast receiver to listen call events.
- DynamicStateReceiver() - Constructor for class com.pranavpandey.android.dynamic.engine.receiver.DynamicStateReceiver
- DynamicStickyService - Class in com.pranavpandey.android.dynamic.engine.service
-
Sticky service which will restart automatically if killed by the system.
- DynamicStickyService() - Constructor for class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
E
- equals(DynamicAppInfo) - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Compare the object of this class with another object.
F
- FLAT - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicHinge
-
Constant for the flat hinge state.
G
- getActivityInfo(Context, ComponentName) - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Returns activity info from the component name.
- getAppInfoFromPackage(Context, String) - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Load dynamic app info from the package name.
- getApplicationInfo() - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Get the application info.
- getAppMonitor() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the task to monitor foreground app.
- getCallIntentFilter() - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Returns the intent filter to register the call event.
- getCurrentAppInfo() - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Get the current dynamic app info.
- getCurrentEvents() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Retrieve the current ongoing events.
- getDefaultEventsPriority(Context) - Static method in class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
-
Get the default events priority after checking the telephony functionality.
- getEventByPriority(List<String>, int) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the event according to its priority.
- getEventsIntentFilter() - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Returns the intent filter to register various events.
- getEventsPriority(Context) - Static method in class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
-
Get the saved events priority after checking the device for telephony and per app functionality.
- getForegroundEventType() - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Returns the correct type for the foreground event.
- getForegroundPackage(ActivityManager) - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Retrieve the foreground package.
- getForegroundPackage(UsageStatsManager, long, long) - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Retrieve the foreground package.
- getHighestPriorityEvent() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the event with highest priority.
- getHinge() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Returns the dynamic hinge state.
- getLabel() - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Get the application label or name.
- getPackageIntentFilter() - Static method in class com.pranavpandey.android.dynamic.engine.util.DynamicEngineUtils
-
Returns the intent filter to register package intent.
- getPackageName() - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Get the package name.
- getRestartInterval() - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
-
Get the restart interval after which try to restart the service.
- getSensorManager() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the sensor manager used by this service.
- getSpecialEventListener() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the listener to listen special events.
- getTopActivity() - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Get the top activity component name.
H
- HALF_EXPANDED - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicHinge
-
Constant for the half expanded hinge state.
- HEADSET - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for the headset event.
I
- initializeEvents() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Initialize special events and check for some already occurred and ongoing events.
- isCall() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the status of call event.
- isCharging() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the status of charging event.
- isDocked() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the status of dock event.
- isDormant() - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Get the dormant status of this task.
- isHeadset() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the status of the headset event.
- isLocked() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the status of lock event.
- isPaused() - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Get the paused status of this task.
- isRunning() - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Get the running status of this task.
- isScreenOff() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Get the status of screen of event.
L
- LOCK - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for the lock event.
N
- NONE - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicEvent
-
Constant for no event.
O
- onAccessibilityEvent(AccessibilityEvent) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onAccessibilityEvent(AccessibilityEvent) - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
- onAccessibilityEvent(AccessibilityEvent) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
This method will be called to notify for the accessibility event.
- onAccessibilityStateChanged(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onAccessibilityStateChanged(boolean) - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
-
Called back on change in the accessibility state.
- onAccuracyChanged(Sensor, int) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onAppChange(DynamicAppInfo) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onAppChange(DynamicAppInfo) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the foreground app is changed.
- onCallStateChange(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onCallStateChange(boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the call state is changed.
- onCancelled() - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
- onChargingStateChange(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onChargingStateChange(boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the charging state is changed.
- onCreate() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onCreate() - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
- onDestroy() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onDockStateChange(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onDockStateChange(boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the dock state is changed.
- onHeadsetStateChange(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onHeadsetStateChange(boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the headset state is changed.
- onHingeStateChange(int) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onHingeStateChange(int) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the hinge state is changed.
- onInitialize(boolean, boolean, boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onInitialize(boolean, boolean, boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called on initializing the service so that we can get the current charging, headset and dock state.
- onInterrupt() - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
- onLockStateChange(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onLockStateChange(boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the lock state is changed.
- onPackageRemoved(String) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when an app package is removed.
- onPackageUpdated(DynamicAppInfo, boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when an app package is added or changed.
- onPostExecute(DynamicResult<Void>) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
- onPreExecute() - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
- onProgressUpdate(DynamicResult<DynamicAppInfo>) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
- onReceive(Context, Intent) - Method in class com.pranavpandey.android.dynamic.engine.receiver.DynamicStateReceiver
- onScreenStateChange(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onScreenStateChange(boolean) - Method in interface com.pranavpandey.android.dynamic.engine.listener.DynamicEventListener
-
This method will be called when the screen state is changed.
- onSensorChanged(SensorEvent) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
- onServiceConnected() - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
- onStartCommand(Intent, int, int) - Method in class com.pranavpandey.android.dynamic.engine.service.DynamicStickyService
R
- resetPriority(Context) - Static method in class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
-
Reset the events priority to default.
S
- saveEventsPriority(Context, List<String>) - Static method in class com.pranavpandey.android.dynamic.engine.model.DynamicPriority
-
Save the events priority.
- setApplicationInfo(ApplicationInfo) - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Set the application info.
- setAppMonitorTask(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Enable or disable the foreground app monitor task.
- setAppMonitorTaskPaused(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Pause or resume the foreground app monitor task.
- setCall(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the status of call event.
- setCharging(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the status of charging event.
- setCurrentAppInfo(DynamicAppInfo) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Set the current dynamic app info.
- setDocked(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the status of dock event.
- setDormant(boolean) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Set the dormant status of this task.
- setHeadset(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the status of headset event.
- setHinge(int) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the dynamic hinge state.
- setLabel(String) - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Set the application label or name.
- setLocked(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the status of lock event.
- setPackageName(String) - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Set the package name.
- setPaused(boolean) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Set the paused status of this task.
- setRunning(boolean) - Method in class com.pranavpandey.android.dynamic.engine.task.DynamicAppMonitor
-
Set the running status of this task.
- setScreenOff(boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Set the status of screen off event.
- setTopActivity(ComponentName) - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
-
Set the top activity component name.
U
- UNKNOWN - Static variable in annotation interface com.pranavpandey.android.dynamic.engine.model.DynamicHinge
-
Constant for the unknown hinge state.
- updateEventsMap(String, boolean) - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Update the status of an event.
- updateEventsPriority() - Method in class com.pranavpandey.android.dynamic.engine.DynamicEngine
-
Update the events priority.
W
- writeToParcel(Parcel, int) - Method in class com.pranavpandey.android.dynamic.engine.model.DynamicAppInfo
All Classes and Interfaces|All Packages|Constant Field Values