From f1d3fc36e569b2005879acfbb857d250c1d4e512 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Mon, 28 Jan 2019 11:19:15 -0800 Subject: [PATCH] Cleaning up pre-master merge --- .../apps/{ui => interface}/proguard-rules.pro | 0 .../fragment/SignedInFragment.java | 73 ---- .../src/main/res/drawable/ic_launcher.xml | 0 ...d_button.xml => rounded_button_color1.xml} | 0 .../src/main/res/drawable/rounded_edit.xml | 7 - .../src/main/res/layout/fragment_signedin.xml | 63 --- android/apps/ui/CMakeLists.txt | 7 - android/apps/ui/src/main/AndroidManifest.xml | 32 -- android/apps/ui/src/main/cpp/PlayerWindow.cpp | 22 - android/apps/ui/src/main/cpp/PlayerWindow.h | 27 -- android/apps/ui/src/main/cpp/RenderThread.cpp | 98 ----- android/apps/ui/src/main/cpp/RenderThread.h | 42 -- android/apps/ui/src/main/cpp/main.cpp | 58 --- android/apps/ui/src/main/cpp/main.qml | 21 - android/apps/ui/src/main/cpp/mainqt.cpp | 5 - android/apps/ui/src/main/cpp/resources.qrc | 6 - .../java/io/highfidelity/ui/UiActivity.java | 21 - .../apps/ui/src/main/res/values/strings.xml | 3 - android/apps/ui/src/main/uiApp.pro | 22 - android/settings.gradle | 4 +- interface/src/raypick/LaserPointer.cpp | 6 +- .../raypick/LaserPointerScriptingInterface.h | 2 +- interface/src/raypick/ParabolaPick.cpp | 14 +- interface/src/raypick/ParabolaPointer.cpp | 2 +- interface/src/raypick/PathPointer.cpp | 12 +- .../src/raypick/PickScriptingInterface.cpp | 22 +- .../src/raypick/PickScriptingInterface.h | 113 +++-- .../src/raypick/PointerScriptingInterface.h | 9 +- interface/src/raypick/RayPick.cpp | 13 +- .../src/raypick/RayPickScriptingInterface.h | 10 +- interface/src/raypick/StylusPointer.cpp | 2 +- .../src/display-plugins/DisplayPlugin.cpp | 2 +- .../hmd/DebugHmdDisplayPlugin.cpp | 13 - .../src/EntityTreeRenderer.cpp | 10 +- .../entities/src/EntityScriptingInterface.cpp | 130 ++---- .../entities/src/EntityScriptingInterface.h | 95 ++-- libraries/entities/src/EntityTree.cpp | 408 ++++++++++-------- libraries/entities/src/EntityTree.h | 57 +-- libraries/entities/src/EntityTreeElement.cpp | 256 ++++++++--- libraries/entities/src/EntityTreeElement.h | 52 +-- .../src/gpu/gles/GLESBackendOutput.cpp | 2 +- .../src/input-plugins/InputPlugin.cpp | 3 +- libraries/pointers/src/Pick.cpp | 5 +- libraries/pointers/src/Pick.h | 79 +--- libraries/pointers/src/PickCacheOptimizer.h | 6 +- libraries/render-utils/src/Model.cpp | 5 - libraries/render/src/render/CullTask.cpp | 16 +- .../utilities/tests/entityPerfTest.js | 8 - tools/gpu-frame-player/src/PlayerWindow.cpp | 19 +- tools/webview/CMakeLists.txt | 7 - tools/webview/src/PlayerWindow.cpp | 23 - tools/webview/src/PlayerWindow.h | 27 -- tools/webview/src/RenderThread.cpp | 95 ---- tools/webview/src/RenderThread.h | 42 -- tools/webview/src/main.cpp | 31 -- tools/webview/src/main.qml | 23 - tools/webview/src/mainqt.cpp | 5 - tools/webview/src/resources.qrc | 6 - 58 files changed, 684 insertions(+), 1457 deletions(-) rename android/apps/{ui => interface}/proguard-rules.pro (100%) delete mode 100644 android/apps/interface/src/main/java/io/highfidelity/hifiinterface/fragment/SignedInFragment.java rename android/apps/{ui => interface}/src/main/res/drawable/ic_launcher.xml (100%) rename android/apps/interface/src/main/res/drawable/{rounded_button.xml => rounded_button_color1.xml} (100%) delete mode 100644 android/apps/interface/src/main/res/drawable/rounded_edit.xml delete mode 100644 android/apps/interface/src/main/res/layout/fragment_signedin.xml delete mode 100644 android/apps/ui/CMakeLists.txt delete mode 100644 android/apps/ui/src/main/AndroidManifest.xml delete mode 100644 android/apps/ui/src/main/cpp/PlayerWindow.cpp delete mode 100644 android/apps/ui/src/main/cpp/PlayerWindow.h delete mode 100644 android/apps/ui/src/main/cpp/RenderThread.cpp delete mode 100644 android/apps/ui/src/main/cpp/RenderThread.h delete mode 100644 android/apps/ui/src/main/cpp/main.cpp delete mode 100644 android/apps/ui/src/main/cpp/main.qml delete mode 100644 android/apps/ui/src/main/cpp/mainqt.cpp delete mode 100644 android/apps/ui/src/main/cpp/resources.qrc delete mode 100644 android/apps/ui/src/main/java/io/highfidelity/ui/UiActivity.java delete mode 100644 android/apps/ui/src/main/res/values/strings.xml delete mode 100644 android/apps/ui/src/main/uiApp.pro delete mode 100644 tools/webview/CMakeLists.txt delete mode 100644 tools/webview/src/PlayerWindow.cpp delete mode 100644 tools/webview/src/PlayerWindow.h delete mode 100644 tools/webview/src/RenderThread.cpp delete mode 100644 tools/webview/src/RenderThread.h delete mode 100644 tools/webview/src/main.cpp delete mode 100644 tools/webview/src/main.qml delete mode 100644 tools/webview/src/mainqt.cpp delete mode 100644 tools/webview/src/resources.qrc diff --git a/android/apps/ui/proguard-rules.pro b/android/apps/interface/proguard-rules.pro similarity index 100% rename from android/apps/ui/proguard-rules.pro rename to android/apps/interface/proguard-rules.pro diff --git a/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/fragment/SignedInFragment.java b/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/fragment/SignedInFragment.java deleted file mode 100644 index 9ed2f1c7f5..0000000000 --- a/android/apps/interface/src/main/java/io/highfidelity/hifiinterface/fragment/SignedInFragment.java +++ /dev/null @@ -1,73 +0,0 @@ -package io.highfidelity.hifiinterface.fragment; - -import android.app.Fragment; -import android.content.Context; -import android.os.Bundle; -import android.text.Html; -import android.text.Spanned; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.widget.Button; -import android.widget.TextView; - -import java.io.IOException; -import java.io.InputStream; - -import io.highfidelity.hifiinterface.R; - -public class SignedInFragment extends Fragment { - - private Button mGetStartedButton; - private OnSignedInInteractionListener mListener; - - public SignedInFragment() { - // Required empty public constructor - } - - public static SignedInFragment newInstance() { - SignedInFragment fragment = new SignedInFragment(); - return fragment; - } - - @Override - public View onCreateView(LayoutInflater inflater, ViewGroup container, - Bundle savedInstanceState) { - View rootView = inflater.inflate(R.layout.fragment_signedin, container, false); - mGetStartedButton = rootView.findViewById(R.id.getStarted); - - mGetStartedButton.setOnClickListener(view -> { - getStarted(); - }); - - return rootView; - } - - @Override - public void onAttach(Context context) { - super.onAttach(context); - if (context instanceof SignedInFragment.OnSignedInInteractionListener) { - mListener = (SignedInFragment.OnSignedInInteractionListener) context; - } else { - throw new RuntimeException(context.toString() - + " must implement OnSignedInInteractionListener"); - } - } - - @Override - public void onDetach() { - super.onDetach(); - mListener = null; - } - - public void getStarted() { - if (mListener != null) { - mListener.onGettingStarted(); - } - } - - public interface OnSignedInInteractionListener { - void onGettingStarted(); - } - -} diff --git a/android/apps/ui/src/main/res/drawable/ic_launcher.xml b/android/apps/interface/src/main/res/drawable/ic_launcher.xml similarity index 100% rename from android/apps/ui/src/main/res/drawable/ic_launcher.xml rename to android/apps/interface/src/main/res/drawable/ic_launcher.xml diff --git a/android/apps/interface/src/main/res/drawable/rounded_button.xml b/android/apps/interface/src/main/res/drawable/rounded_button_color1.xml similarity index 100% rename from android/apps/interface/src/main/res/drawable/rounded_button.xml rename to android/apps/interface/src/main/res/drawable/rounded_button_color1.xml diff --git a/android/apps/interface/src/main/res/drawable/rounded_edit.xml b/android/apps/interface/src/main/res/drawable/rounded_edit.xml deleted file mode 100644 index 3c1cac4d1d..0000000000 --- a/android/apps/interface/src/main/res/drawable/rounded_edit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/android/apps/interface/src/main/res/layout/fragment_signedin.xml b/android/apps/interface/src/main/res/layout/fragment_signedin.xml deleted file mode 100644 index 1c982b0e0d..0000000000 --- a/android/apps/interface/src/main/res/layout/fragment_signedin.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - -