Merge pull request #14863 from danteruiz/android-apps-directories
Case 20877: Support CMake time configuration of QmlFileSelectors
0
interface/resources/icons/+android/backward.svg → interface/resources/icons/+android_interface/backward.svg
Executable file → Normal file
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
interface/resources/icons/+android/go-a.svg → interface/resources/icons/+android_interface/go-a.svg
Executable file → Normal file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
0
interface/resources/icons/+android/mic-unmute-a.svg → interface/resources/icons/+android_interface/mic-unmute-a.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
0
interface/resources/icons/+android/myview-a.svg → interface/resources/icons/+android_interface/myview-a.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
0
interface/resources/icons/+android/myview-hover.svg → interface/resources/icons/+android_interface/myview-hover.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
0
interface/resources/icons/+android/myview-i.svg → interface/resources/icons/+android_interface/myview-i.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
|
@ -32,7 +32,7 @@ const QStringList& FileUtils::getFileSelectors() {
|
||||||
std::call_once(once, [] {
|
std::call_once(once, [] {
|
||||||
|
|
||||||
#if defined(Q_OS_ANDROID)
|
#if defined(Q_OS_ANDROID)
|
||||||
//extraSelectors << "android_" HIFI_ANDROID_APP;
|
extraSelectors << "android_" HIFI_ANDROID_APP;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(USE_GLES)
|
#if defined(USE_GLES)
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
|
|
||||||
var DEFAULT_SCRIPTS_COMBINED = [
|
var DEFAULT_SCRIPTS_COMBINED = [
|
||||||
"system/progress.js",
|
"system/progress.js",
|
||||||
"system/+android/touchscreenvirtualpad.js",
|
"system/+android_interface/touchscreenvirtualpad.js",
|
||||||
"system/+android/actionbar.js",
|
"system/+android_interface/actionbar.js",
|
||||||
"system/+android/audio.js" ,
|
"system/+android_interface/audio.js" ,
|
||||||
"system/+android/modes.js"/*,
|
"system/+android_interface/modes.js"/*,
|
||||||
"system/away.js",
|
"system/away.js",
|
||||||
"system/controllers/controllerDisplayManager.js",
|
"system/controllers/controllerDisplayManager.js",
|
||||||
"system/controllers/handControllerGrabAndroid.js",
|
"system/controllers/handControllerGrabAndroid.js",
|
||||||
|
@ -33,7 +33,7 @@ var DEFAULT_SCRIPTS_COMBINED = [
|
||||||
];
|
];
|
||||||
|
|
||||||
var DEBUG_SCRIPTS = [
|
var DEBUG_SCRIPTS = [
|
||||||
"system/+android/stats.js"
|
"system/+android_interface/stats.js"
|
||||||
];
|
];
|
||||||
|
|
||||||
var DEFAULT_SCRIPTS_SEPARATE = [ ];
|
var DEFAULT_SCRIPTS_SEPARATE = [ ];
|
|
@ -25,6 +25,7 @@ var DEFAULT_SCRIPTS_COMBINED = [
|
||||||
"system/notifications.js",
|
"system/notifications.js",
|
||||||
"system/commerce/wallet.js",
|
"system/commerce/wallet.js",
|
||||||
"system/dialTone.js",
|
"system/dialTone.js",
|
||||||
|
"system/quickGoto.js",
|
||||||
"system/firstPersonHMD.js",
|
"system/firstPersonHMD.js",
|
||||||
"system/tablet-ui/tabletUI.js",
|
"system/tablet-ui/tabletUI.js",
|
||||||
"system/miniTablet.js"
|
"system/miniTablet.js"
|
||||||
|
|
|
@ -26,8 +26,8 @@ function init() {
|
||||||
qml: "hifi/ActionBar.qml"
|
qml: "hifi/ActionBar.qml"
|
||||||
});
|
});
|
||||||
backButton = actionbar.addButton({
|
backButton = actionbar.addButton({
|
||||||
icon: "icons/+android/backward.svg",
|
icon: "icons/+android_interface/backward.svg",
|
||||||
activeIcon: "icons/+android/backward.svg",
|
activeIcon: "icons/+android_interface/backward.svg",
|
||||||
text: "",
|
text: "",
|
||||||
bgOpacity: 0.0,
|
bgOpacity: 0.0,
|
||||||
hoverBgOpacity: 0.0,
|
hoverBgOpacity: 0.0,
|
36
scripts/system/quickGoto.js
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
//
|
||||||
|
// quickGoto.js
|
||||||
|
// scripts/system/
|
||||||
|
//
|
||||||
|
// Created by Dante Ruiz
|
||||||
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
/* globals Tablet, Toolbars, Script, HMD, DialogsManager */
|
||||||
|
|
||||||
|
(function() { // BEGIN LOCAL_SCOPE
|
||||||
|
|
||||||
|
function addGotoButton(destination) {
|
||||||
|
tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||||
|
button = tablet.addButton({
|
||||||
|
icon: "icons/tablet-icons/goto-i.svg",
|
||||||
|
activeIcon: "icons/tablet-icons/goto-a.svg",
|
||||||
|
text: destination
|
||||||
|
});
|
||||||
|
var buttonDestination = destination;
|
||||||
|
button.clicked.connect(function() {
|
||||||
|
Window.location = "hifi://" + buttonDestination;
|
||||||
|
});
|
||||||
|
Script.scriptEnding.connect(function () {
|
||||||
|
tablet.removeButton(button);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
addGotoButton("dev-mobile");
|
||||||
|
addGotoButton("quest-dev");
|
||||||
|
|
||||||
|
}()); // END LOCAL_SCOPE
|