diff options
Diffstat (limited to 'SDL_Core/src/components/HMI/app/view/home')
8 files changed, 0 insertions, 1029 deletions
diff --git a/SDL_Core/src/components/HMI/app/view/home/bottomControls.js b/SDL_Core/src/components/HMI/app/view/home/bottomControls.js deleted file mode 100644 index 787955ce1..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/bottomControls.js +++ /dev/null @@ -1,90 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.BottomControlls
- * @desc BottomControlls module visual representation
- * @category View
- * @filesource app/view/BottomControls.js
- * @version 1.0
- */
-
-SDL.BottomControls = Em.ContainerView.extend( {
-
- elementId: 'app_bottom_controlls',
-
- childViews: [
- 'information', 'home', 'settings'
- ],
-
- information: Em.View.extend( {
- elementId: 'info_but',
- classNameBindings: [
- 'SDL.States.info.active:selected'
- ],
-
- template: Em.Handlebars.compile('<div id="info_but_click"></div>'),
-
- actionDown: function(event) {
-
- if (!SDL.States.info.active) {
- if (SDL.InfoController.activeState === 'info.nonMedia') {
- SDL.NonMediaController.activateCurrentApp();
- } else {
- SDL.States.goToStates(SDL.InfoController.activeState);
- }
- }
- }
- }),
-
- home: Em.View.extend( {
- elementId: 'home_but',
- classNameBindings: [
- 'SDL.States.home.active:selected'
- ],
-
- template: Em.Handlebars.compile('<div id="home_but_click"></div>'),
-
- actionDown: function(event) {
-
- SDL.States.goToStates('home');
- }
- }),
-
- settings: Em.View.extend( {
- elementId: 'setting_but',
-
- classNameBindings: 'SDL.States.settings.active:selected',
-
- template: Em.Handlebars.compile('<div id="setting_but_click"></div>'),
-
- actionDown: function(event) {
-
- if (!SDL.States.settings.active) {
- SDL.States.goToStates('settings');
- }
- }
- })
-});
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/controlButtons.js b/SDL_Core/src/components/HMI/app/view/home/controlButtons.js deleted file mode 100644 index 645c1dd93..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/controlButtons.js +++ /dev/null @@ -1,530 +0,0 @@ -/* - * Copyright (c) 2013, Ford Motor Company All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: · - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. · Redistributions in binary - * form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided - * with the distribution. · Neither the name of the Ford Motor Company nor the - * names of its contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -/** - * @name SDL.controlButtons - * @desc Climate module visual representation - * @category View - * @filesource app/view/home/controlButtons.js - * @version 1.0 - */ - -SDL.ControlButtons = Em.ContainerView - .create( { - - elementId: 'app_controlButtons', - - childViews: [ - 'VRButton', - 'buttonControls', - 'driverDistractionControl', - 'infoTable', - 'sendData', - 'vehicleInfo', - 'tbtClientState', - 'ExitApp', - 'UILanguages', - 'TTSVRLanguages', - 'UILanguagesLabel', - 'TTSVRLanguagesLabel', - 'appUILanguagesLabel', - 'appTTSVRLanguagesLabel', - 'appUILang', - 'appTTSVRLang' - ], - - /* - * Label with name of UILanguages select - */ - appUILang: SDL.Label.extend( { - - elementId: 'appUILang', - - classNames: 'appUILang', - - contentBinding: 'SDL.SDLAppController.model.UILanguage' - }), - - /* - * Label with name of TTSVRLanguages select - */ - appTTSVRLang: SDL.Label.extend( { - - elementId: 'appTTSVRLang', - - classNames: 'appTTSVRLang', - - contentBinding: 'SDL.SDLAppController.model.TTSVRLanguage' - }), - - /* - * Label with name of UILanguages select - */ - appUILanguagesLabel: SDL.Label.extend( { - - elementId: 'appUILanguagesLabel', - - classNames: 'appUILanguagesLabel', - - content: 'application UI Languages' - }), - - /* - * Label with name of TTSVRLanguages select - */ - appTTSVRLanguagesLabel: SDL.Label.extend( { - - elementId: 'appTTSVRLanguagesLabel', - - classNames: 'appTTSVRLanguagesLabel', - - content: 'application (TTS + VR) Languages' - }), - - /* - * Label with name of UILanguages select - */ - UILanguagesLabel: SDL.Label.extend( { - - elementId: 'UILanguagesLabel', - - classNames: 'UILanguagesLabel', - - content: 'UI Languages' - }), - - /* - * Label with name of TTSVRLanguages select - */ - TTSVRLanguagesLabel: SDL.Label.extend( { - - elementId: 'TTSVRLanguagesLabel', - - classNames: 'TTSVRLanguagesLabel', - - content: 'TTS + VR Languages' - }), - - /* - * HMI element Select with list of supported UI component languages - */ - UILanguages: Em.Select.extend( { - - elementId: 'UILanguages', - - classNames: 'languageSelect', - - contentBinding: 'SDL.SDLModel.sdlLanguagesList', - - valueBinding: 'SDL.SDLModel.hmiUILanguage' - }), - - /* - * HMI element Select with list of supported TTS and VR component - * languages - */ - TTSVRLanguages: Em.Select.extend( { - - elementId: 'TTSVRLanguages', - - classNames: 'languageSelect', - - contentBinding: 'SDL.SDLModel.sdlLanguagesList', - - valueBinding: 'SDL.SDLModel.hmiTTSVRLanguage' - }), - - /** - * Sending data from HMI for processing in SDLCore - */ - sendData: SDL.Button.create( { - elementId: 'sendData', - classNames: 'sendData btnNotPressed', - action: function() { - - FFW.BasicCommunication.OnSystemRequest(); - }, - text: 'OnSystemRequest', - templateName: 'text' - }), - - /** - * VehicleInfo button - */ - vehicleInfo: SDL.Button.create( { - elementId: 'vehicleInfoButton', - classNames: 'vehicleInfoButton btn', - text: 'Vehicle Info', - action: function() { - - // this._super(); - SDL.VehicleInfo.toggleActivity(); - }, - templateName: 'text' - }), - - /** - * TBT Client State button - */ - tbtClientState: SDL.Button.create( { - elementId: 'tbtClientStateButton', - classNames: 'tbtClientStateButton btn', - text: 'TBT Client State', - action: function() { - - // this._super(); - SDL.TBTClientStateView.toggleActivity(); - }, - templateName: 'text' - }), - - /** - * Exit Application button opens Exit Application reasons popup - */ - ExitApp: SDL.Button.create( { - elementId: 'exitApp', - classNames: 'exitApp btn', - text: 'Exit Application', - action: function() { - - // this._super(); - SDL.ExitApp.toggleActivity(); - }, - templateName: 'text' - }), - - /** - * Voice Recognition button - */ - VRButton: SDL.Button.create( { - elementId: 'VRButton', - classNames: 'VRButton', - action: 'activateVRPopUp', - target: 'SDL.SDLController' - }), - - infoTable: Em.ContainerView - .extend( { - elementId: 'infoTable', - - classNames: 'infoTable', - - childViews: [ - 'globalPropertiesLabel', - 'gpHelpData', - 'gpTimeoutData', - 'gpAUTOCOMPLETE' - ], - - globalPropertiesLabel: SDL.Label.extend( { - - elementId: 'sdlGPLabel', - - classNames: 'sdlGPLabel', - - content: 'HELP_PROMPT: TIMEOUT_PROMPT: AUTOCOMPLETE_TEXT:' - }), - - gpHelpData: SDL.Label.extend( { - - elementId: 'sdlGPHData', - - classNames: 'sdlGPData', - - contentBinding: 'this.propertiesData', - - propertiesData: function() { - - var str = ''; - if (SDL.SDLAppController.model && SDL.SDLAppController.model.globalProperties.helpPrompt) { - var i = 0; - - for (i = 0; i < SDL.SDLAppController.model.globalProperties.helpPrompt.length; i++) { - str += SDL.SDLAppController.model.globalProperties.helpPrompt[i].text - + ' '; - } - } - return str; - }.property('SDL.SDLAppController.model.globalProperties.helpPrompt.@each.text') - }), - - gpTimeoutData: SDL.Label.extend( { - - elementId: 'sdlGPTData', - - classNames: 'sdlGPData', - - contentBinding: 'this.propertiesData', - - propertiesData: function() { - - var str = ''; - if (SDL.SDLAppController.model && SDL.SDLAppController.model.globalProperties.timeoutPrompt) { - var i = 0; - for (i = 0; i < SDL.SDLAppController.model.globalProperties.timeoutPrompt.length; i++) { - str += SDL.SDLAppController.model.globalProperties.timeoutPrompt[i].text - + ' '; - } - } - - return str; - }.property('SDL.SDLAppController.model.globalProperties.timeoutPrompt.@each.text') - }), - - gpAUTOCOMPLETE: SDL.Label.extend( { - - elementId: 'sdlGPAUTOCOMPLETE', - - classNames: 'sdlGPData', - - contentBinding: 'SDL.SDLAppController.model.globalProperties.keyboardProperties.autoCompleteText', - - propertiesData: function() { - -// var str = ''; -// if (SDL.SDLAppController.model && SDL.SDLAppController.model.globalProperties.timeoutPrompt) { -// var i = 0; -// for (i = 0; i < SDL.SDLAppController.model.globalProperties.timeoutPrompt.length; i++) { -// str += SDL.SDLAppController.model.globalProperties.timeoutPrompt[i].text -// + ' '; -// } -// } -// -// return str; - }.property('SDL.SDLAppController.model.globalProperties.keyboardProperties.autoCompleteText.@each') - }) - }), - - driverDistractionControl: Em.ContainerView.extend( { - elementId: 'driverDistractionControl', - - classNames: 'driverDistractionControl', - - childViews: [ - 'driverDistractionLabel', 'driverDistractionCheckBox' - ], - - driverDistractionLabel: SDL.Label.extend( { - - elementId: 'driverDistractionControlLabel', - - classNames: 'driverDistractionControlLabel', - - content: 'DD' - }), - - driverDistractionCheckBox: Em.Checkbox.extend( { - - elementId: 'driverDistractionControlCheckBox', - - classNames: 'driverDistractionControlCheckBox', - - checkedBinding: 'SDL.SDLModel.driverDistractionState' - - }) - }), - - buttonControls: Em.ContainerView.extend( { - elementId: 'buttonControls', - - classNames: 'buttonControls', - - childViews: [ - 'ContainerControlls', - 'OneBtn', - 'TwoBtn', - 'ThreeBtn', - 'FourBtn', - 'FiveBtn', - 'SixBtn', - 'SevenBtn', - 'EightBtn', - 'NineBtn', - 'ZiroBtn' - ], - - ContainerControlls: Em.ContainerView.extend( { - elementId: 'ContainerControlls', - - classNames: 'ContainerControlls', - - childViews: [ - 'UpBtn', 'DownBtn', 'LeftBtn', 'RightBtn', 'OkBtn' - ], - - /** Up button */ - UpBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'TUNEUP', - classNames: 'UpBtn', - time: 0, - presetName: 'TUNEUP' - }), - - /** Down button */ - DownBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'TUNEDOWN', - classNames: 'DownBtn', - time: 0, - presetName: 'TUNEDOWN' - }), - - /** Left button */ - LeftBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'SEEKLEFT', - classNames: 'LeftBtn', - time: 0, - presetName: 'SEEKLEFT' - }), - - /** Right button */ - RightBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'SEEKRIGHT', - classNames: 'RightBtn', - time: 0, - presetName: 'SEEKRIGHT' - }), - - /** Ok button */ - OkBtn: SDL.Button.create( { - elementId: 'OK', - classNames: 'OkBtn', - time: 0, - presetName: 'OK', - actionDown: function() { - - this._super(); - SDL.SDLController - .onSoftButtonOkActionDown(this.presetName); - }, - actionUp: function() { - - this._super(); - SDL.SDLController - .onSoftButtonOkActionUp(this.presetName); - } - }) - }), - - /** One button */ - OneBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_1', - classNames: 'OneBtn btnNotPressed', - text: '1', - time: 0, - presetName: 'PRESET_1', - templateName: 'text' - }), - - /** Two button */ - TwoBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_2', - classNames: 'TwoBtn btnNotPressed', - text: '2', - time: 0, - presetName: 'PRESET_2', - templateName: 'text' - }), - - /** Three button */ - ThreeBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_3', - classNames: 'ThreeBtn btnNotPressed', - text: '3', - time: 0, - presetName: 'PRESET_3', - templateName: 'text' - }), - - /** Four button */ - FourBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_4', - classNames: 'FourBtn btnNotPressed', - text: '4', - time: 0, - presetName: 'PRESET_4', - templateName: 'text' - }), - - /** Five button */ - FiveBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_5', - classNames: 'FiveBtn btnNotPressed', - text: '5', - time: 0, - presetName: 'PRESET_5', - templateName: 'text' - }), - - /** One button */ - SixBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_6', - classNames: 'SixBtn btnNotPressed', - text: '6', - time: 0, - presetName: 'PRESET_6', - templateName: 'text' - }), - - /** One button */ - SevenBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_7', - classNames: 'SevenBtn btnNotPressed', - text: '7', - time: 0, - presetName: 'PRESET_7', - templateName: 'text' - }), - - /** One button */ - EightBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_8', - classNames: 'EightBtn btnNotPressed', - text: '8', - time: 0, - presetName: 'PRESET_8', - templateName: 'text' - }), - - /** One button */ - NineBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_9', - classNames: 'NineBtn btnNotPressed', - text: '9', - time: 0, - presetName: 'PRESET_9', - templateName: 'text' - }), - - /** One button */ - ZiroBtn: SDL.Button.create(SDL.PresetEvents, { - elementId: 'PRESET_0', - classNames: 'ZiroBtn btnNotPressed', - text: '0', - time: 0, - presetName: 'PRESET_0', - templateName: 'text' - }) - }) - });
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/statusClimateView.js b/SDL_Core/src/components/HMI/app/view/home/statusClimateView.js deleted file mode 100644 index 01b6dc636..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/statusClimateView.js +++ /dev/null @@ -1,66 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.StatusClimateView
- * @desc Climate statusbar visual representation
- * @category View
- * @filesource app/view/climate/StatusClimateView.js
- * @version 1.0
- */
-
-SDL.StatusClimateView = Em.ContainerView.extend( {
-
- elementId: 'status_climate',
-
- classNames: [
- 'status_bar'
- ],
-
- /** Climate components */
- childViews: [
- 'statusHome'
- ],
-
- /** Label for Home screen */
- statusHome: SDL.Label.create( {
- elementId: 'status_climate_label',
-
- classNames: [
- 'visible'
- ],
-
- content: 'Climate'
- }),
-
- /**
- * Select phone state should be called when user press phone statusbar
- */
- actionUp: function(event) {
-
- SDL.States.goToStates('climate');
- }
-
-});
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/statusInfoView.js b/SDL_Core/src/components/HMI/app/view/home/statusInfoView.js deleted file mode 100644 index 1241d87c3..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/statusInfoView.js +++ /dev/null @@ -1,60 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.StatusInfoView
- * @desc Component for Information Status bar
- * @category view
- * @filesource app/view/home/statusNavigationView.js
- * @version 1.0
- */
-SDL.StatusInfoView = Em.ContainerView.extend( {
- /** View Id */
- elementId: 'status_info',
-
- classNames: [
- 'status_bar', 'hidden'
- ],
-
- classNameBindings: [
- 'SDL.States.info.active:selected'
- ],
-
- /** Navigation components */
- childViews: [
- 'statusHome'
- ],
-
- /** Label for Home screen */
- statusHome: SDL.Label.create( {
- elementId: 'status_info_label',
- content: 'Information'
- }),
-
- actionUp: function(event) {
-
- SDL.States.goToStates(SDL.InfoController.activeState);
- }
-});
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/statusMediaView.js b/SDL_Core/src/components/HMI/app/view/home/statusMediaView.js deleted file mode 100644 index 53d72b565..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/statusMediaView.js +++ /dev/null @@ -1,99 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.StatusMediaView
- * @desc Component for Media Status bar
- * @category view
- * @filesource app/view/media/StatusMediaView.js
- * @version 1.0
- */
-SDL.StatusMediaView = Em.ContainerView
- .extend( {
-
- elementId: 'media_status',
-
- classNameBindings: [
- 'SDL.States.media.active:selected'
- ],
-
- /** Climate components */
- childViews: [
- 'statusHome', 'statusInfo'
- ],
-
- /** Label for Home screen */
- statusHome: SDL.Label.extend( {
- elementId: 'media_status_homestatus',
- classNameBindings: [
- 'SDL.States.home.active:visible'
- ],
- contentBinding: Ember.Binding
- .oneWay('SDL.locale.label.view_mediaStatus_entertainment')
- }),
-
- statusInfo: Em.ContainerView
- .extend( {
- elementId: 'media_status_radio_container',
-
- childViews: [
- 'info'
- ],
-
- info: Em.View
- .extend( {
- elementId: 'media_status_radio_info',
- controlerBinding: 'SDL.MediaController',
- /** Bind class for visual representation */
- classNameBindings: [
- 'SDL.States.home.active:hidden_display:visible_display'
- ],
- /** Define module layout */
- template: Em.Handlebars
- .compile('<div class="statusInfo">'
- + '<div class="station">'
- + '<span {{bindAttr class="SDL.CDModel.active:visible_display"}}>{{SDL.CDModel.statusBar}}</span>'
- + // title
- '<span {{bindAttr class="SDL.SDLAppController.model.active:visible_display"}}>{{SDL.SDLAppController.model.statusText}}</span>'
- + // SDL
- '</div>'
- + '<div class="icon cdIco"'
- + '{{bindAttr class="SDL.CDModel.active:cdIco"}}'
- + // CD
- // icon
- '{{bindAttr class="SDL.SDLAppController.model.active:appIco"}}>'
- + // SDL
- '</div>' + '</div>')
- })
- }),
- actionUp: function(event) {
-
- if (SDL.MediaController.activeState.indexOf('media.sdlmedia') >= 0) {
- SDL.SDLMediaController.activateCurrentApp();
- } else {
- SDL.States.goToStates(SDL.MediaController.activeState);
- }
- }
- });
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/statusNavigationView.js b/SDL_Core/src/components/HMI/app/view/home/statusNavigationView.js deleted file mode 100644 index e1d5bac3d..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/statusNavigationView.js +++ /dev/null @@ -1,59 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.StatusNavigationView
- * @desc Component for Navigation Status bar
- * @category view
- * @filesource app/view/home/statusNavigationView.js
- * @version 1.0
- */
-SDL.StatusNavigationView = Em.ContainerView.extend( {
- /** View Id */
- elementId: 'status_nav',
-
- classNames: 'status_bar',
-
- /** Navigation components */
- childViews: [
- 'statusHome'
- ],
-
- /** Label for Home screen */
- statusHome: SDL.Label.create( {
- elementId: 'navigation_status_label',
- classNames: 'visible',
- content: 'Navigation'
- }),
-
- /**
- * Select phone state should be called when user press phone statusbar
- */
- actionUp: function(event) {
-
- SDL.States.goToStates('navigation');
- }
-
-});
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/statusPhoneView.js b/SDL_Core/src/components/HMI/app/view/home/statusPhoneView.js deleted file mode 100644 index 034d9c782..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/statusPhoneView.js +++ /dev/null @@ -1,68 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.StatusPhoneView
- * @desc Phone statusbar visual representation
- * @category View
- * @filesource app/view/phone/StatusPhoneView.js
- * @version 1.0
- */
-
-SDL.StatusPhoneView = Em.ContainerView.extend( {
-
- elementId: 'status_phone',
-
- classNames: [
- 'status_bar'
- ],
-
- /** Bind class for visual representation */
- classNameBindings: [
- 'SDL.States.phone.active:selected'
- ],
-
- /** Climate components */
- childViews: [
- 'statusHome',
- ],
-
- /** Label for Home screen */
- statusHome: SDL.Label.extend( {
- elementId: 'status_phone_label',
-
- classNames: 'visible',
-
- content: 'Phone'
- }),
-
- /**
- * Select phone state should be called when user press phone statusbar
- */
- actionUp: function(event) {
-
- SDL.States.goToStates('phone.dialpad');
- }
-});
\ No newline at end of file diff --git a/SDL_Core/src/components/HMI/app/view/home/topControls.js b/SDL_Core/src/components/HMI/app/view/home/topControls.js deleted file mode 100644 index 0e3508ff5..000000000 --- a/SDL_Core/src/components/HMI/app/view/home/topControls.js +++ /dev/null @@ -1,57 +0,0 @@ -/*
- * Copyright (c) 2013, Ford Motor Company All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: ·
- * Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer. · Redistributions in binary
- * form must reproduce the above copyright notice, this list of conditions and
- * the following disclaimer in the documentation and/or other materials provided
- * with the distribution. · Neither the name of the Ford Motor Company nor the
- * names of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-/**
- * @name SDL.ClimateView
- * @desc Climate module visual representation
- * @category View
- * @filesource app/view/climate/ClimateView.js
- * @version 1.0
- */
-
-SDL.TopControls = Em.ContainerView.extend( {
-
- elementId: 'app_top_menu_cont',
-
- childViews: [
- 'controls'
- ],
-
- controls: Em.ContainerView.extend( {
- elementId: 'top_controls',
-
- childViews: [
- 'clock'
- ],
-
- clock: Em.View.extend( {
- elementId: 'clock',
-
- template: Em.Handlebars
- .compile('<div id="time_num">1:47 86°</div>')
-
- })
- })
-});
\ No newline at end of file |