803 Commits

Author SHA1 Message Date
Artur Dryomov
8e33646304 Fix minor code style issues.
Change-Id: I316529388e1e90acd5b62441cf304a61ac71931a
2013-09-07 11:55:54 +03:00
Artur Dryomov
508d32cd03 Fix possible null pointer exception.
It is weird anyway.

Change-Id: Ibde6e7dc7dc52c556ebc5e6e32ef939a316c5b1b
2013-09-07 11:55:53 +03:00
Artur Dryomov
2eb19ddb3f Add showing helper messages while searching computers.
Change progress bars from large to average size as well.
* It makes them consistent with other Google apps.
* It brings better LAF for Gingerbread.

Change-Id: Id25a42c9735c3c9948c507eacfbfd64d90d87435
2013-09-07 11:55:53 +03:00
Artur Dryomov
275aeab074 Add a requirements screen.
Change-Id: Ie3821f4c21853e9c89065a964d069bfde80e81d8
2013-09-07 11:55:52 +03:00
Artur Dryomov
c37cd33fad Add suppressing warnings for preferences activity.
Change-Id: I7808e8bbc080b65017dc273e423db51c9151d9f7
2013-09-05 20:27:22 +03:00
Artur Dryomov
f98a01f061 Remove triggering next transitions on last slide.
The current server-side code calls finishing of a slide show multiple
times so we cannot rely on this inidicator to exit the slide show.

Change-Id: I78b11f62d45d45bcf005e6f0a36f2d632b886900
2013-09-05 19:38:04 +03:00
Artur Dryomov
3c1c51020c Add the settings screen.
It contains options that can confuse user:
* changing transitions using volume keys;
* keeping screenon while presenting.

Change-Id: I1a9cb9afdf1409fc78e713b899d68ae045db5cb7
2013-09-05 19:38:03 +03:00
Artur Dryomov
4c30c48684 Move building server via TCP servers finder to a separate method.
Change-Id: I8def7a5f7ecf924f6cc61f3a037defa9e8116089
Reviewed-on: https://gerrit.libreoffice.org/5815
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-09-05 09:48:03 +00:00
Artur Dryomov
d07bb04d2f Remove cancel buttons from timer dialogs.
The cancel button just duplicates back button on Android devices.

Change-Id: Ic0647e4e74d2009b21807467acb63184847a1e25
2013-09-03 12:22:48 +03:00
Artur Dryomov
20eb1462b6 Change saving computer connnection fragment state.
* Do it more proper way.
* Do not reconnect on orientation changes without user actions.

Change-Id: Ib5dcb7ef05096b9ee2899d3508961fc52f706729
2013-09-03 12:22:48 +03:00
Artur Dryomov
7b6720c3f1 Add preferences keys single source.
Should help avoiding type errors.

Change-Id: I5b15d7e21e3adcff0fd1fe11d5a14c121fbd486b
2013-09-03 12:22:47 +03:00
Artur Dryomov
b6f6147c9c Add saving computer information on keyboard actions.
Change-Id: I84844a004d2d07809f024ed2e84abcbbba80fb99
2013-09-03 12:22:47 +03:00
Artur Dryomov
837d6e5024 Change search delay from 10 seconds to 5.
Should be better for UI interaction feelings.

Change-Id: I68322ed71878ec520676d68d821f64041476b800
2013-09-03 12:22:47 +03:00
Artur Dryomov
920370f7d8 Add computer name as a subtitle to the connection activity.
Change-Id: I3df33faef2004107cd2a806e536efb63517a18c7
2013-09-03 12:22:46 +03:00
Artur Dryomov
cfe24b09a5 Change time of intents filter reginstration.
A Bluetooth pairing dialog somehow sets the connection fragment on pause
so old registration would cause loosing messages from service.

Change-Id: Ie4f6bef96b89a0c2aa86ec00da478831b572e191
2013-09-03 12:22:46 +03:00
Artur Dryomov
ff0ab3bd21 Update the launcher icon.
Change-Id: I63808fc96fd235fdb483f95b75d3a13d4402c867
2013-09-03 12:22:46 +03:00
Artur Dryomov
79f79ab077 Add saving the current tab between application launches.
Mimic the Contacts app behaviour basically.

Change-Id: Ib0579d26c105629cfe59620f996689a949bad073
2013-08-03 19:02:01 +03:00
Artur Dryomov
38a3eba78d Change the Preferences class.
* Remove context dependency.
* Modify the interface for easy usage.

Change-Id: I9dfabbea1ec9ec9224dc8238a1884fdf695fc8db
2013-08-03 19:02:00 +03:00
Artur Dryomov
ef5342c677 Fix updating of all slides even it is not necessary.
Change-Id: I6f7937296915a7cff71d9d9ee491736a0c2c31be
2013-08-03 19:02:00 +03:00
Artur Dryomov
20a17af069 Move computer creation layout to scroll view.
* Allows to use auto-focus.
* Should probably be better on devices with small displays in landscape
  mode.

Change-Id: I745ffbf1aef5f757b54155a9e79e99026c49dd86
2013-08-03 19:01:59 +03:00
Artur Dryomov
53738414d3 Fix possible negative time setting when time is up.
Change-Id: Ic519480dd85075b0122d8ef8fcb32c1a68542ae3
2013-08-03 19:01:58 +03:00
Artur Dryomov
943a989139 Add more expression to the warning text.
Change-Id: Ic535c4f744a1564f847e4ba4e9f312f82fc07e72
2013-08-03 19:01:58 +03:00
Artur Dryomov
b2e2f08837 Fix slide show orientation changes crashes.
Change-Id: I6539d4b36fd858dd7eb609acc2e58c8851f3bfe4
2013-08-03 19:01:58 +03:00
Artur Dryomov
d4b4c94aa1 Add saving current mode when showing a slide show.
Should be helpful on orientation changes.

Change-Id: I0a00c980882decc3da3460f63b82c5d0bb308298
2013-08-03 19:01:57 +03:00
Artur Dryomov
08157e4b63 Add saving state for ComputerConnectionFragment.
This change should provide more smooth rotation change.

Change-Id: I3d530485752069fb5f6d4683b68b83ef97f87808
2013-08-02 04:10:49 +03:00
Artur Dryomov
429148c5f1 Change computers adding behaviour.
Show a button only when a WiFi tab is selected or there are no Bluetooth
support at all.

Change-Id: I8944f4a4ec0dbcba087744960f467dca87ba7a86
2013-08-02 03:49:46 +03:00
Artur Dryomov
fa484c3b00 Fix possible pin-related bug.
The latest LO release does not allow entering PIN-codes without leading
zero. This change should solve possible issues from client-side.

Change-Id: Ie2f2db9baa5d677cbbed772497d32668cdd5748f
2013-08-02 03:49:46 +03:00
Artur Dryomov
d3cef7ed75 Add servers sorting.
Change-Id: Idd3d39fcf91fba6d5f7b0615d241f6ad9f46bd5f
2013-08-02 03:49:45 +03:00
Artur Dryomov
7e07a45500 Change search timeouts from milliseconds to seconds.
Makes things readable and should prevent potential typing bugs.

Change-Id: Ifcb90568859e94896f5c2a313546fe1fdd6fa4bc
2013-08-01 19:47:07 +03:00
Artur Dryomov
9864a2d5d4 Fix Bluetooth devices discovery.
* Listen async Bluetooth status messages and start discovery properly.
* Remember Bluetooth status before running the app and manage the state.

Change-Id: I2be3fb6a503c5f6ace96732ebd0302935f1afb84
2013-08-01 19:47:07 +03:00
Artur Dryomov
46de4c598e Fix computer creation spelling.
Replace a notice with different hint. Change error message to be
shorter.

Change-Id: I93f063bb07c37749466787d7a965893fc79a69bb
2013-08-01 18:38:57 +03:00
Artur Dryomov
dc2e2d0068 Remove custon scaling for GridView slide previews.
Should make thinks less hacky.

Change-Id: I007800558ce8a0a567addde3b01926bb53c311f6
2013-08-01 18:38:57 +03:00
Michael Meeks
687b62f481 android: don't mess with the system bluetooth setting unless we have to. 2013-08-01 15:36:10 +02:00
Artur Dryomov
c12137a876 Add changing local slide when remote slide was changed.
Change-Id: If7325a0266484686549a0c1073827613aa40cb85
2013-07-30 23:52:06 +03:00
Artur Dryomov
e291784e0c Fix tiny source code issues.
* Add headers and footers.
* Remove unused resources.
* Fix classes usage.

Change-Id: Id9580f21709b11077e46393c2e2cf8d911ce0650
2013-07-30 23:52:02 +03:00
Artur Dryomov
0a48350868 Change Impress Remote version.
Bump it to 1.1 and remote additional text from version name because it
is useless.

Change-Id: I6fbd0dc3b499c5aafc80b91c77372360c2767189
2013-07-30 23:52:01 +03:00
Artur Dryomov
c1b522c591 Remove explicit Bluetooth requirement.
Devices without Bluetooth should be able to use the app as well via WiFi
connections. This change should remove some Google Play filtering so
these devices will be able to download the app from the store.

Change-Id: Iebc2f14e0bc57ea7293f8abfa1824b99c4476e8b
2013-07-30 23:51:58 +03:00
Artur Dryomov
c01a2c8284 Fix application and first activity titles bug.
Change-Id: I066af1301c8e5525b5ade310c770273f72007b10
2013-07-30 23:51:49 +03:00
Artur Dryomov
2ba929e40c Change resources a bit.
* Fix spelling.
* Fix dimens to use common 8dp-measured grid.

Change-Id: I92e433eba3b78822f36e8e9f242daa3d893a36f5
2013-07-30 23:51:48 +03:00
Artur Dryomov
f1b77bf371 Add timer support.
Show the timer as a dialog, plus update all following information as it
should be.

Change-Id: Idae00b009ce098cfd482ec79629fc8f674502c9a
2013-07-29 04:13:11 +03:00
Artur Dryomov
766b6f5b14 Add notes support.
It is not possible at moment to add borders to slides previews because
ViewPager has no constant height and ignores wrap_content property. The
current solution seems to be the best.

Change-Id: I14b41e0bda578d2ffcdb1c887d633c6201aa383a
2013-07-29 04:13:11 +03:00
Artur Dryomov
a92fa984ae Add async slide previews loading.
* The previews storage contains bytes arrays instead of Bitmaps which
  should decrease memory footprint.
* All previews processing moved to the background thread.

This change should solve out of memory errors.

Change-Id: Idd4046020c8fe8f977858f1911e04c0ec095380a
2013-07-29 04:13:10 +03:00
Artur Dryomov
ff5c113531 Add auto-hiding tabs when Bluetooth is not available.
Introduce a helper class for Bluetooth as well.

Change-Id: I89b0b4c42ef56ce3f5c2be3a1ea9d443aec04fce
2013-07-29 04:13:10 +03:00
Artur Dryomov
e43a151549 Improve the SlideShowActivity.
* Enable up navigation.
* Show the current slide index properly.
* Show thumbnail if slide was not loaded yet.

Change-Id: I234dc1e583c8549b6a1c069d7e2294726d5e29d1
2013-07-25 18:02:00 +01:00
Artur Dryomov
f01c976a1d Improve the ComputerConnectionFragment.
Show reconnection action bar button only when it is necessary, i. e.
when there is a connection error.

Change-Id: Iecb86f7a1bf0b094f2fffbe12c03bea474774417
2013-07-25 18:01:59 +01:00
Artur Dryomov
001552cc8a Improve the ComputerCreationActivity.
* Allow using IP address as a name.
* Provide proper keyboards for typing name and address.

Change-Id: I86ca58282c81eb0705d6bc82b98b2aab94fbf676
2013-07-25 18:01:59 +01:00
Artur Dryomov
ac546de39e Change the logo to a new one.
* The new logo is a flat version of the launcher icon. It follows the
  Google Play store application style.
* All base densities are available now.

Change-Id: Ieb4cfb7f762421ac1b7a6edeece44788f26dd7d5
2013-07-25 18:01:59 +01:00
Artur Dryomov
173638b9a4 Change ComputersActivity to use swipe tabs.
Such method even remembers a current tab on orientation changes.

Change-Id: Iad14af060b41a4b8d225e83af450cdff0a6e78e0
2013-07-25 18:01:58 +01:00
Artur Dryomov
15081f4582 Improve ComputersFragment.
* Load saved computers better.
* Handle removing and adding computers properly.

Change-Id: I12027ad96f06cfeccbc249f453ccff588ccd79c6
2013-07-25 18:01:58 +01:00
Artur Dryomov
359751db77 Clean up the codebase.
* Fix licenses headers and footers once again.
* Fix inspection warnings.
* Fix typos.
* Rename resources to follow the same style everywhere.

Change-Id: I3ee60f4761446322bd34323f404354096292a086
2013-07-25 18:01:58 +01:00