Project

General

Profile

Download (21.6 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / main / RubikActivity.java @ 526a5906

# Date Author Comment
526a5906 02/02/2022 04:25 PM Leszek Koltunski

Restore the list of objects before resotoring the list of records; otherwise we cannot restore records of downloaded objects.

e847c553 02/02/2022 01:36 PM Leszek Koltunski

Make 'downloaded' debugs controlled by a single boolean.

aec421fd 02/01/2022 10:45 PM Leszek Koltunski

Downloaded Objects: subtle bugfix. We cannot use ObjectType in ObjectControl to check if two objects are the same because DownloadedObjects have ObjectType null !

43c2812a 02/01/2022 03:11 PM Leszek Koltunski

Downloaded Objects: bugfixes

84d746d7 02/01/2022 01:30 PM Leszek Koltunski

Downloaded Objects more or less work now.

314e9ff0 01/30/2022 11:48 PM Leszek Koltunski

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

acabdd83 01/28/2022 10:17 PM Leszek Koltunski

Rename the 'network' package to 'external' since it will also deal with writing/reading files from local storage.

c651024f 01/25/2022 01:30 AM Leszek Koltunski

Downloading updates: dialog progress.

9c39179e 01/24/2022 09:37 PM Leszek Koltunski

Downloading updates: dialog progress.

804293f0 01/17/2022 03:17 PM Leszek Koltunski

Re-organize tutorial list so that we can pull this one from JSON files.

1071fb69 01/06/2022 11:46 PM Leszek Koltunski

Corrections for the UI.

6e3fcb91 01/06/2022 10:39 PM Leszek Koltunski

Remove 3 out of 4 object icons.

09cf2a36 12/07/2021 11:17 PM Leszek Koltunski

Introduce 'Simple' and 'Nice' meshes.

f12e4de9 12/06/2021 11:36 PM Leszek Koltunski

Progress with Config UI.

400ff34d 12/06/2021 01:46 AM Leszek Koltunski

Move the 'currObject' from RubikScreenPlay (WTF?) to RubikObjectList.

d433b50e 12/06/2021 12:59 AM Leszek Koltunski

In the 'magic' app, ObjectType is now only used in RubikObject and RubikObjectList classes and nowhere else.
This is a major step towards being able to download objects from an online repository.

51853bf2 11/24/2021 06:02 PM Leszek Koltunski

Improve initial detection of screenHeight.

1237d25d 11/24/2021 05:36 PM Leszek Koltunski

Beginnings of the ConfigActivity.

dd874ae8 11/05/2021 10:41 AM Leszek Koltunski

Convert the theme to be a MaterialTheme and the TransparentImageButton to be a MaterialButton - the first forced by the second, and the second because a MaterialButton gives us control over the location of the icon in top of it. We need that because of the new 'solve/scramble' split-button in the lower right of the Play screen.

b20e89d2 10/30/2021 01:46 AM Leszek Koltunski

Move the main app to the 'J1M1' object creation mode, i.e. create them from the Json files and using the Dmesh fiels as well.

Make it possible for any app descending from the 'objectlib' to use any of the J0M0, J0M1, J1M0, J1M1 modes.

338babe8 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

4c9947bd 10/13/2021 04:14 PM Leszek Koltunski

1. Do not restore object scrambling if we freshly upgraded from some version older than 1.9.0
2. Bugfix for a recently introduced crasher in the Play screen.

2da68298 10/13/2021 01:59 PM Leszek Koltunski

Create the 3 Popups only on first button click - this time we can have the final screen dimensions (and also it starts faster ) Before we weree getting the screen size from before hiding navigation bars, which made the height smaller, which made the number of obejcts and levels in the popups sometimes too small!

33f6abfd 10/05/2021 10:53 PM Leszek Koltunski

Remove the 'setupObject()' redundant API.

c65a5efe 10/05/2021 03:40 PM Leszek Koltunski

Further simplifications.

e019c70b 10/05/2021 03:12 PM Leszek Koltunski

Remove the concept of a 'TwistyActivity' altogether.

9523ae28 10/05/2021 02:12 PM Leszek Koltunski

Hide most of the TwistyActivity methods inside objectlib.

e4f656d1 10/05/2021 12:52 PM Leszek Koltunski

Simplifications

2afc6754 10/05/2021 11:58 AM Leszek Koltunski

Move RubikControl to objectlib (as 'ObjectAutomator')
Hide ObjectPreRender inside objectlib and move its APi to ObjectControl.

8ab435b9 10/04/2021 10:11 PM Leszek Koltunski

1. Remove 'db level' from objectlib (this belongs to the app!)
2. change ScreenPlay's 'mObject' to be an ObjectType.

05c20dad 10/04/2021 02:17 PM Leszek Koltunski

Simplifications

eaf46415 10/02/2021 12:07 PM Leszek Koltunski

Move PreRender to objectlib.
This code is now shared betweeen the Rubik and Tutorial activities.

d2556e79 10/01/2021 11:31 PM Leszek Koltunski

Move yet more code to objectlib.

88a3e972 10/01/2021 11:27 PM Leszek Koltunski

Move more code to objectlib.

c4175d85 10/01/2021 10:33 PM Leszek Koltunski

Simplify TwistyObject's API.

318c0a7d 10/01/2021 04:33 PM Leszek Koltunski

Reename ObjectList to a more logical ObjectType.

7ac0ee88 10/01/2021 04:31 PM Leszek Koltunski

Simplify ObjectList: now there's just one object per size.

3f7a4363 09/29/2021 04:07 PM Leszek Koltunski

Remove all files that have been separated into a new library 'objectlib'

588ace55 09/29/2021 12:14 PM Leszek Koltunski

Prepare the 'objectlib' package to be separated into a library module

bdbbb4c5 09/28/2021 11:47 PM Leszek Koltunski

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

214e301a 09/06/2021 02:59 PM Leszek Koltunski

Fix the problem reported by Samsung -

1. Fire off the app
2. minimize it, select 'Multi window'
3. put some other app in the lower half of the screen
4. close the lower app
5. our app used to fail to display the upper and lower menu bars.

598de3ee 07/15/2021 05:08 PM Leszek Koltunski

add possible scrolling to the 'object' popup in case the grid of objects does not fit on the screen.

7aa4c349 07/09/2021 02:42 PM Leszek Koltunski

Progress with RubikControl.

03822c33 06/30/2021 09:56 PM Leszek Koltunski

Fix a rare crash.

809c3432 06/30/2021 06:05 PM Leszek Koltunski

Introduce a BlockController - a watchdog which makes sure the Touch and UI blocks do not take too long.
If it detecs a long block, it unblocks and reports the situation to Crashylytics.

55e6be1d 06/29/2021 01:37 PM Leszek Koltunski

Abstract the part that controls the 'Locked' and 'Back Moves' buttons from the two activities: the main one and the tutorial one.
This code had been duplicated there.

8ba7aeb1 05/19/2021 03:45 PM Leszek Koltunski

RubikControl: rotate the cube.

314bffaf 05/16/2021 11:19 PM Leszek Koltunski

RubikControl: fixes; progress.

8badfe2a 05/08/2021 04:39 PM Leszek Koltunski

Progress with RubikControl.

f8eece7d 05/07/2021 11:55 AM Leszek Koltunski

Attach the control nodes directly to the screen, not to the Object Node.

f5da732a 05/04/2021 12:52 AM Leszek Koltunski

Cube Control: step 2.

fcd5b990 05/02/2021 01:56 PM Leszek Koltunski

Rename 'state' to 'screen'

6a083c6a 04/23/2021 02:18 PM Leszek Koltunski

- report the Graphics driver's Renderer and Version.
- new Diamond, Skewb2 and Skewb3 meshes.

eaf87d1d 04/14/2021 09:51 AM Leszek Koltunski

Rename packages

ee4e7896 12/28/2020 09:56 PM Leszek Koltunski

if a user has a verified name, set it as a GoogleAnalytics UserId

ef1f3e34 12/07/2020 11:44 AM Leszek Koltunski

Make the Tutorial Dialog look better

5b4eaf7e 11/23/2020 11:28 PM Leszek Koltunski

Progress creating the Tutorial Dialog.

79bf5d8b 11/23/2020 02:18 PM Leszek Koltunski

Progress creating the Tutorial Dialog.

2971588c 11/18/2020 11:10 PM Leszek Koltunski

Progress creating the Tutorial Activity.

d7de3072 11/16/2020 12:04 PM Leszek Koltunski

More support for using the library from more than one activity

b6468abb 11/07/2020 08:37 PM Leszek Koltunski

Progress with using the Library in a second Activity.

e8f6670f 10/18/2020 01:44 PM Leszek Koltunski

Avoid cutouts in a new way

fd0b901a 10/18/2020 12:50 PM Leszek Koltunski

Avoid the possible cutouts at the top of the screen.

d99f3a48 10/16/2020 08:32 AM Leszek Koltunski

Spearate the concept of number of layers of an object and its size.
In case of the Skewb family, this is no longer the same (Master Skewb has 3 layers but it's twice bigger than the 2-layered Skewb)

e7e0a94d 10/01/2020 04:18 PM Leszek Koltunski

Simplify OpenGL error dialog. Show it only once.

045857e5 09/29/2020 02:31 PM Leszek Koltunski

Minor

eb376d3a 09/29/2020 01:29 PM Leszek Koltunski

Bigger 'OK' button in Dialogs.

1cb36646 09/26/2020 01:10 PM Leszek Koltunski

Make the top and bottom bars transparent, above the GLSurfaceView.

be576d14 09/25/2020 08:37 AM Leszek Koltunski

Rename some classes.

9c2f0c91 09/25/2020 08:35 AM Leszek Koltunski

Rename some classes.

46405bb4 09/23/2020 09:29 PM Leszek Koltunski

Add lock button.

7ea57482 09/23/2020 10:42 AM Leszek Koltunski

Compute the size of the Solver icon correctly.

c9556e1e 09/22/2020 10:57 PM Leszek Koltunski

Apply a hack so that the App enters fullscreen modee on some Huawei devices.

af7b68e6 09/22/2020 03:22 PM Leszek Koltunski

Remove LAYOUT_STABLE from the UI flags since that was causing trembling of the Scores dialog in some platforms.

4fb1fc0d 09/20/2020 06:13 PM Leszek Koltunski

Progress with UI

e365b6c2 09/20/2020 05:09 PM Leszek Koltunski

Make the keyboard visible again

ffd68f35 09/20/2020 10:15 AM Leszek Koltunski

Make it so that the Navigation Bar does not re-appear when we pop up a DialogFragment.

Now there's noly 1 case when it still reappears: it's when we pop up a PopupWindow.

0254cfd7 09/19/2020 09:49 PM Leszek Koltunski

Add hiding the Navigation bar (still unfinished, the bar re-appears when a DialogFragment or a PopupWindow appears)
Integrate the Level Spinner and the Play button into one
Move the Menu button up

fcc0e034 09/16/2020 08:49 PM Leszek Koltunski

Correct the Dino mesh.

2f5783d4 09/14/2020 10:33 PM Leszek Koltunski

Skewb Mesh.

e35247b8 09/10/2020 02:06 PM Leszek Koltunski

Improve Pyraminx Mesh

82f42eeb 07/22/2020 09:53 AM Leszek Koltunski

We need to pause an Activity in the following way:

1) Activity.onPause()
2) View.onPause()
3) Library.onPause()

otherwise sometimes there are artifacts when pausing!

b1e9596b 07/09/2020 10:48 PM Leszek Koltunski

Display the 'Privacy Policy' dialog (only if locale is set to ZH - chinese requirement)

6d4d56cb 07/06/2020 10:03 PM Leszek Koltunski

Correction of the size of '3x3x3 Solver' bitmaps.

362807f0 07/06/2020 08:34 PM Leszek Koltunski

Make the Scores Dialog screen-size invariant.

5de2c572 07/06/2020 12:12 PM Leszek Koltunski

Reinvent the Pattern Dialog (Part 3)

054fbee1 07/06/2020 11:51 AM Leszek Koltunski

Reinvent the Pattern Dialog (Part 2)

31a9f38d 07/04/2020 11:07 PM Leszek Koltunski

Introduce HUGE ui version.

f6a9c538 07/04/2020 09:41 PM Leszek Koltunski

Introduce three sizes of UI images: small, medium, large.

ad0c8e0e 06/26/2020 12:22 PM Leszek Koltunski

Make the margins and paddings proportional to screen size.

88fb92ba 06/25/2020 11:12 PM Leszek Koltunski

Improvements to the Menu.

e03e0352 06/25/2020 08:53 PM Leszek Koltunski

Remove the 'MAIN' state.
Fix one crasher with two-fingered dragging in the View.

2eb74743 06/20/2020 10:55 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 5 - first 3 Dialogs)

7ebd72f7 06/20/2020 09:42 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 3)

1bd07548 06/20/2020 09:17 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 2)

e3c74c0f 06/20/2020 07:38 PM Leszek Koltunski

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 1)

31227bf6 06/20/2020 12:21 PM Leszek Koltunski

Move the 'Effects' thing to a button in the Play state.

7eae2d49 06/20/2020 09:58 AM Leszek Koltunski

On object change, report FPS to Firebase

5a4d4fba 06/09/2020 11:18 PM Leszek Koltunski

Convert the PostRender to a PreRender, called before we render.
This makes more sense as this way things are prepared for the very first render.

2d9fc972 05/29/2020 06:47 PM Leszek Koltunski

Add OpenGL Error dialog.