DrewNaylor / Retiled

An attempt at creating a "desktop" environment mainly for Linux phones and tablets that's similar in function to some parts of Microsoft's Windows Phone 8.x, primarily the Start screen, Search app, navigation bar, Action Center, and the status bar. Development is mainly being done using the PinePhone, so that'll be the main supported device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can something similar to the code for All Apps list context menu bounds checking be used to enhance the "barn door" transition animations so items near the top of the visible area (plus a little outside of it vertically and likely stuff horizontally) start animating before items lower on the page then the thing that was tapped gets animated last, emulating how WP does it?

DrewNaylor opened this issue · comments

We'll have to keep track of the pressed item so that it's animated last though. I'm trying to figure out a reasonable way to divide the visible area plus stuff a little outside that in a way that's efficient, maybe dividing in it tenths? Twentieths? Twenty-fourths so it's divisible by 6? Something.

Anyway, each item will have to round in some way to each divider, perhaps rounding up? Or maybe rounding down? I don't know.

And then I don't know if the transition is different as you go horizontally, or if stuff just doesn't have to travel as far. All I know is that stuff towards the top of the screen goes before stuff toward the bottom on WP, but I don't remember where I learned that. I think that also affects controls like buttons when they're pressed down, but I don't like that idea so I won't add it.