Members
_MODE
create : when the user turns on passcode settings edit : when the user presses edit passcode button confirm : when the user turns off passcode settings new : when the user is editing passcode and has entered old passcode successfully
.create : when the user turns on passcode settings edit : when the user presses edit passcode button confirm : when the user turns off passcode settings new : when the user is editing passcode and has entered old passcode successfully
CarrierSettings
Singleton object that handles some cell and data settings.
Singleton object that handles some cell and data settings.
- Source:
DeviceStorageHelper
Helper class for getting available/used storage required by *_storage.js
.Helper class for getting available/used storage required by *_storage.js
FileSizeFormatter
Helper class for formatting file size strings required by *_storage.js
.Helper class for formatting file size strings required by *_storage.js
requirejs
alameda 0.2.0 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
alameda 0.2.0 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. Available via the MIT or new BSD license. see: http://github.com/requirejs/alameda for details
- Source:
Methods
_customize()
Change UI based on conditions
.Change UI based on conditions
- Source:
_datePickerChange()
Update DatePicker value
.Update DatePicker value
- Source:
_getInstance() → {Object}
Returns the instance of ctor corrsponding to serviceId
.Returns the instance of ctor corrsponding to serviceId
- Source:
Returns:
- Type
- Object
_hideActionMenu()
hide the whole action menu.
hide the whole action menu.
- Source:
_renderAuthorizedNumbers() → {Promise}
we will render all registered FDN numbers on screen.
we will render all registered FDN numbers on screen.
- Source:
Returns:
- Type
- Promise
_renderFdnContact(contact)
render needed UI for each contact item.
render needed UI for each contact item.
Parameters:
Name | Type | Description |
---|---|---|
contact |
Object |
- Source:
_renderTimeFormat()
Update TimeFormat selector
.Update TimeFormat selector
- Source:
_renderTimeZone()
monitor time.timezone changes, see /shared/js/tz_select.js
.monitor time.timezone changes, see /shared/js/tz_select.js
- Source:
_showActionMenu(contact)
show specific contact on the menu.
show specific contact on the menu.
Parameters:
Name | Type | Description |
---|---|---|
contact |
Object |
- Source:
_timePickerChange()
Update TimePicker value
.Update TimePicker value
- Source:
_updateContact(action, options) → {Promise}
update information on each contact item based on passed in parameters.
update information on each contact item based on passed in parameters.
Parameters:
Name | Type | Description |
---|---|---|
action |
String | |
options |
Object |
- Source:
Returns:
- Type
- Promise
_updateUI()
Update Panel UI elements
.Update Panel UI elements
- Source:
getIccByIndex(index) → {object}
Retrieve current ICC by a given index.
Retrieve current ICC by a given index. If no index is provided, it will
use the index provided by DsdsSettings.getIccCardIndexForCallSettings
,
which is the default. Unless there are very specific reasons to provide an
index, this function should always be invoked with no parameters in order to
use the currently selected ICC index.
Parameters:
Name | Type | Description |
---|---|---|
index |
Number | index of the mobile connection to get the ICC from |
Returns:
- Type
- object
getWallpaperPath() → {Promise}
Given the current them set, we get the path for the image set as background.
Given the current them set, we get the path for the image set as background.
- Source:
Returns:
fulfilled with the path to the wallpaper
- Type
- Promise
loadWallpaper() → {Promise}
Load an image {blob} from another app via XHR.
Load an image {blob} from another app via XHR.
- Source:
Returns:
fulfilled with the blob.
- Type
- Promise
module:Panel(options) → {Panel}
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | Options are used to override the internal functions. |
- Source:
Returns:
- Type
- Panel
module:SettingsPanel(options) → {SettingsPanel}
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | Options are used to override the internal functions of Panel. |
- Source:
Returns:
- Type
- SettingsPanel
openDialog()
These so-called "dialog boxes" are just standard Settings panels () with reset/submit buttons: these buttons both return to the previous panel when clicked, and each button has its own (optional) callback.
These so-called "dialog boxes" are just standard Settings panels () with reset/submit buttons: these buttons both return to the previous panel when clicked, and each button has its own (optional) callback.
openLink()
Open a link with a web activity
.Open a link with a web activity
reopenSettings()
Move settings to foreground
.Move settings to foreground
rollbackTheme()
Setting a theme will happen in a two steps process, we will first set the theme manifest, and after that we will save any other setting related to the new theme.
Setting a theme will happen in a two steps process, we will first set the theme manifest, and after that we will save any other setting related to the new theme. If an error happens in any of those two processes, we will need to be sure that we enable back the previous theme selection
- Source:
saveConfig() → {Promise}
Perform the operation to writing to settings
.Perform the operation to writing to settings
- Source:
Returns:
fulfilled when config is saved
- Type
- Promise
setWallpaper() → {Promise}
Saves in memory the configuration for wallpaper.
Saves in memory the configuration for wallpaper. saveConfig will need to be invoked to make this changes permanent.
- Source:
Returns:
fulfilled inmediately.
- Type
- Promise