Commit Graph

189 Commits

Author SHA1 Message Date
Irfan Sheriff
b9dfea636f Fix WPS pin input UI
Change If60f42f7 introduces a bug for the WPS UI.

The input from access point text box should be shown for KEYPAD input

Bug: 5542833
Change-Id: I27f758b31b69425f51fe7ed17bf9b787a1bf66cc
2011-10-31 13:39:14 -07:00
Irfan Sheriff
ec10578884 Update new API in debug settings
Bug: 5247957
Change-Id: I594e55a928a2870cb153b042df74a2b354bee073
2011-09-13 16:03:08 -07:00
Irfan Sheriff
6689200262 Use renamed Wps class
Bug: 5247957
Change-Id: Ib95f0411f637bcb6d43b9b963a282d4e9c4e813a
2011-09-06 22:32:04 -07:00
Irfan Sheriff
655900e028 Provide help to turn off auto network disable
When a user clicks on an network that is disabled due to poor
connection, add help information to let the user disable the feature

Bug: 5254937
Change-Id: Ia8ddaf9684ae21c9b4c1ab1edba6c941eb5272fd
2011-09-06 09:35:23 -07:00
Isaac Levy
d621e09300 Changing wifi connection dialog per UX
- Added an advanced options checkbox and moving WPS, DHCP, Proxy to there
- Minor string changes

Change-Id: I7a135a483435379692a54ea0ef2663136c468945
2011-08-18 21:05:08 -07:00
Isaac Levy
8b2bf2e538 Changed wifi status lines per UX consult
Change-Id: I656fa2c5c52338b320796a919edb5018e7b68851
2011-08-16 17:15:27 -07:00
Irfan Sheriff
c7787a78f7 Fix NPE from monkey run
Bug: 5037499
Change-Id: Ic12fab174d19b759899ce8b3f92f202f549e7c00
2011-07-27 20:11:54 -07:00
repo sync
b98463f8b0 Updated: Wi-Fi p2p initial UI implementation
Change-Id: If60f42f76fa07a868d2e11b012b4697252c69f5f
2011-07-24 11:16:50 -07:00
Gilles Debunne
e78c187905 Settings refactoring
Wifi and bluetooth pane refactored, main toggles moved to left pane.

Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a
2011-06-21 11:05:29 -07:00
Irfan Sheriff
317e0aa530 Fix UI settings display issues
- Update access points to reflect the latest IP configuration
- Show IP list for static IP networks

Bug: 4391449
Change-Id: If8fb6fe8bdca9d6e635b1b12927c17e1661f200c
2011-06-07 12:28:26 -07:00
Irfan Sheriff
7c210ba5c1 Fix invalid linkspeed display
Bug: 4391449
Change-Id: I8c8efcaa73d09c1e8b523f7798b6c626edc96c1e
2011-05-23 16:47:02 -07:00
Irfan Sheriff
21e644a9a8 Fix submit button display for WPS
Change Icd3fde90 exposed an existing issue where password validity was
being checked for WPS as well. Fix it.

Bug: 4391449
Change-Id: I60ca8869eee680f5ec71284a1ac6ba956a992312
2011-05-20 16:50:23 -07:00
Irfan Sheriff
990c3ad530 Fix enabling of submit button
Change I478c915b introduced a regression where the submit
button is enabled even if no password is entered for a secure
network.

This happened because our checks would override a password
check when IP and proxy settings are valid (which is the default
setting)

Bug: 4462439
Change-Id: Icd3fde90759f33fa391ec79ae8075b6d8388d2e9
2011-05-19 16:06:31 -07:00
Robert Greenwalt
3c3490c819 Use new RouteInfo class.
Change-Id: I144ebb87e6d1809f59ebd32e64e186d836a365f8
2011-04-29 17:13:44 -07:00
Irfan Sheriff
5640ccff74 Avoid dialog dismiss until IP and proxy is valid
Accepting an invalid configuration can lead to
unexpected behavior.

Validate all fields before dismissing dialog. A further
improvement to this can be highlighting the faulty field
to the user by a color change.

Bug: 3462049
Change-Id: I0d0a6eae1d62b16fbb822261c4536c4108a5866d
2011-03-03 15:04:23 -08:00
Irfan Sheriff
00615cf5dc DO NOT MERGE Proxy and IP fixes
Fix dual display of IP addresses for static IP
Fix inputType for proxy and IP fields
Add hint texts for IP fields

Change-Id: I5b556a07c2a5b69ecec959c933f2872e70496946
2011-03-03 15:01:07 -08:00
Daisuke Miyakawa
d1c22a1b56 Show more graceful screens for "add network" flow
- use TableLayout instead of RelativeLayout for
  wifi configuration to align each columns appropriately.
- split @id/type field into two fields in SetupWizard

Bug: 3403168
Change-Id: I37f2c60ce1b0473af7d20dee1775e9893d2abade
2011-03-02 13:05:14 -08:00
Robert Greenwalt
c9bc99b246 Use new NetworkUtils.numericToInetAddress.
Fetches an InetAddress without danger of an accidental dns lookup.

Change-Id: Ic0ca48cdd06bbbf6f0fb2cd4ae7832dde451ccae
2011-02-22 15:56:45 -08:00
Robert Greenwalt
cd44f206e0 Merge "Use the new LinkProperties gateways." 2011-02-11 11:38:51 -08:00
Robert Greenwalt
caf8cf5cf5 Use the new LinkProperties gateways.
Changed from singular gateway InetAddress to plural.

bug:3438810
Change-Id: I07dff8b7dd620a444b5ba2e4f7a87c76a0736fdb
2011-02-11 10:11:04 -08:00
Irfan Sheriff
f11033f7ab Merge "Re-enable wifi proxy UI" 2011-02-10 14:56:52 -08:00
Irfan Sheriff
d9c7dcf0e4 Re-enable wifi proxy UI
- Add text to warn users about support
- Move proxy above IP settings based on UI recommendations

Bug: 3328410
Change-Id: I3b5aafd32b16adfcd2fadb572ebb2694afdeccbb
2011-02-10 10:21:54 -08:00
Daisuke Miyakawa
35eae7ccc7 Clean up XL Wifi setup and fix misc problems.
- Introduce screen state, which suppress inconsistent
  UI shown in 3378805.
- Introduce initSecurityFields(), which will reduce hook
  inside WifiConfigController#showSecurityfields()
- fix layout for eap-not-supported case with "add network"
  flow.

Bug: 3378805
Bug: 3403168
Change-Id: I52895570809095d9baceac5f84665572188ecefd
2011-02-09 12:23:28 -08:00
Daisuke Miyakawa
7893447987 Enlarge texts and fit the other elements
Basically set text size to 18sp and change layouts
along with the new design.

- Add custom list item xml for Wi-Fi security field
  rename existing "custom_list_item.xml" to appropriate
  name so that we won't be confused with their naming.
- Use the custom xml just in SetupWizard.

Bug: 3364731
Change-Id: I014903277a03c359ea193dd0f0a37c84ade19fa1
2011-01-28 14:22:48 -08:00
Robert Greenwalt
6f3a98bb00 Hide http proxy UI
We don't have support in the media code so rather than confuse the users
with some apps using proxies and some not we'll just turn it off for all
for now.

bug:3283883
Change-Id: If29bb34fce04eab5adc9b5180b70dbfd718cc709
2010-12-29 16:25:28 -08:00
Daisuke Miyakawa
dadf1e53cb Show "not configurable" screen in EAP
Bug: 3175016
Change-Id: If67c0cbf41adee205c8b3eec410e39bc29c2f04d
2010-12-16 10:58:49 -08:00
Irfan Sheriff
cdbc80afb2 Use WpsConfiguration for new API
Change-Id: I4c1544178bcb29e751db56edb781faf9145cdf86
2010-12-13 16:00:41 -08:00
Robert Greenwalt
52322a9173 Use separate settings for host and port.
IPv6 uses ':' in addresses so it's a bad thing to use as a separator.
Rather than find another separator we'll just store them separately.
bug:2700664

Change-Id: Ia6c40891ab9f3f44edd65d8ff7a2a1f7a24cf06e
2010-11-19 10:34:31 -08:00
Daisuke Miyakawa
58b0291fe6 Refactor WiFi code around XL setup
Major:
- move SetupWizard-related codes to WifiSettingsForSetupWizardXL as
  much as possible
- stop using Preference for configurinig wifi network. We use
  WifiConfigUiForSetupWizardXL instead, which is base on a bare View.

Minor:
- change button handling code expecting better readability.
- hide Detail button.
- modify strings a bit.
- add logs

Bug: 3175016
Change-Id: I5b29917af73aac6a82e13ba846a9d5085f9bd523
2010-11-10 15:31:10 -08:00
Elliott Hughes
a9a2481dfd Use InetAddress.isNumeric.
Bug: 3073384
Change-Id: I22b03efd7fe267f8b20c06cfc15aa5f0db487ca8
2010-11-04 15:26:22 -07:00
Irfan Sheriff
e45e13f47a UI for wps pin from device
Bug: 3119043
Bug: 3112178
Change-Id: I573146ed0c834cb88d5f42c25fe0be3ed501a321
2010-10-26 09:58:58 -07:00
Irfan Sheriff
34ce343004 Use LinkProperties in WifiSettings UI
Change-Id: I6f59328173e9550a2822573a9b25517ebbec4024
2010-10-08 14:00:21 -07:00
Irfan Sheriff
c5361927f4 Add proxy UI for wifi
bug: 3039302
Change-Id: I6fee69992ea78459f06ef270af5bf857eff93c44
2010-10-06 10:40:44 -07:00
Daisuke Miyakawa
5d3c5cb9d0 Fix misc problems happening in SetupWizard XL
Change-Id: I6ba0813f36625de3d86543953972869657be50be
2010-09-28 16:04:08 -07:00
Irfan Sheriff
e82a459392 Fix string usage for static IP UI
Static IP selection uses strings to match, use
ids instead.

Also, add CHAR LIMIT to the new strings added

Change-Id: I7d632cfd672527be3a9676634b9ac4ea6983b626
2010-09-23 14:44:01 -07:00
Irfan Sheriff
b3024fa6a0 Add UI for WPS
The WPS available option is shown
for networks in scan results. Upon
selecting a network, the user has
the option of manually entering passwords
or choosing WPS for connection

Bug: 2277571
Change-Id: Ia12eb1742f1bf17128d51fa09e56dc4c3f067fa5
2010-09-23 07:18:07 -07:00
Irfan Sheriff
9b7edb16d1 fix add wifi network dialog
On changing security type with the spinner,
the password/eap fields should change accordingly.

Due to a bug with checking of the spinner, this
was not happening. fix it.

Bug: 1654928
Change-Id: I9bb174448694671206293ccdc380a9aad14a3f12
2010-09-17 14:11:30 -07:00
Irfan Sheriff
f027ce5e02 Add static IP UI
Remove the existing UI and add per network static IP config option

Change-Id: I9b8636e1559de9691144fdb54e20d40985896650
2010-09-14 17:02:21 -07:00
Daisuke Miyakawa
d36699282c Add Wifi Setup screen for Setup Wizard with XL size screen.
* Add WifiSettingsForSetupWizardXL as a new Activity
The activity has WifiSettings fragment in it. It also contains
several buttons, texts around the fragment.

* Making configuration UI part of Preference list.
In Wifi Setup for Setup Wizard XL, WifiSettings fragment lets
a UI for configuring access points shown inside a
PregerenceCategory object, while it has been shown as Dialog.

To achieve this action, WifiDialog is decomposed into two parts:
- WifiConfigUiBase (Mainly UI part)
- WifiConfigController (Mainly Wifi controller part)

All codes for wifi configuration in WifiDialog is now in
WifiConfigController, which is reused from
WifiConfigPreference.

* Misc stuff
- Remove AccessPoint#compareTo(). Instead,
  AccessPoint.AccessPointComparater should be used when needed.

Change-Id: I520d690d3301837d32f91dad54a973a379ce1989
2010-09-01 16:17:51 -07:00