Skip to main content

Automatic Contrast Evaluation for Android Themes

  • Conference paper
  • First Online:
HCI International 2020 – Late Breaking Papers: Universal Access and Inclusive Design (HCII 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12426))

Included in the following conference series:

Abstract

Several smartphone vendors now offer theme stores where one can submit themes that change the appearance of the OS. Theme designer must follow policies and guidelines to have their themes accepted. One common issue is the low contrast of elements in system applications, that can cause rework and delay to publish submitted themes. To prevent such problems, these devices need to manually check hundred of different screens. In this paper, we describe an automatic tool that walks in several application screens of a device running Android OS, analyzes them and generates detailed reports about low contrast issues. We use a shallow neural network that was trained with more than 10000 elements extracted from screenshots of several different Android applications. We show that our approach present high recall and precision when analyzing Android screen elements, and higher recall and precision when compared to low contrast check in the Google Accessibility Framework.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.samsung.com/hk_en/apps/galaxy-themes/.

  2. 2.

    https://huaweimobileservices.com/huaweithemes/.

  3. 3.

    As a side note, the word “USER” (top right in Fig. 1a and bottom right in Fig. 1b) in both screens violates the WCAG 2.1 guideline for having a low contrast.

References

  1. Agarap, A.F.: Deep learning using rectified linear units (relu). arXiv preprint arXiv:1803.08375 (2018)

  2. Bradski, G.: The OpenCV library. Dr. Dobb’s J. Softw. Tools 120, 122–125 (2000)

    Google Scholar 

  3. Bridle, J.S.: Training stochastic model recognition algorithms as networks can lead to maximum mutual information estimation of parameters. In: Advances in Neural Information Processing Systems, pp. 211–217 (1990)

    Google Scholar 

  4. Chollet, F.: Deep learning with python (2018)

    Google Scholar 

  5. Demuth, H.B., Beale, M.H., De Jess, O., Hagan, M.T.: Neural Network Design. Martin Hagan, Boston (2014)

    Google Scholar 

  6. Fernandes, E., Correia, R., Gil, A., Postal, J., Gadelha, M.R.: Themes validation tool. In: Stephanidis, C. (ed.) HCI International 2019 - Late Breaking Posters (2019)

    Google Scholar 

  7. HFES: Human factors engineering of computer workstations (1988). ANSI-HFES-100-1988

    Google Scholar 

  8. Hirsch, R.: Exploring Colour Photography : A Complete Guide, 1st edn. Laurence King Pub., London (2004)

    Google Scholar 

  9. Jang, Y.G., Kim, H.Y., Yi, M.: A color contrast algorithm for e-learning standard. Int. J. Comput. Sci. Netw. Secur. 7(4), 195–201 (2007)

    Google Scholar 

  10. Kocakoyun, S.: Developing of android mobile application using java and eclipse: an application. Int. J. Electron. Mech. Mech. Eng. 7, 1335–1354 (2017)

    Article  Google Scholar 

  11. Kraunelis, J., Chen, Y., Ling, Z., Fu, X., Zhao, W.: On malware leveraging the android accessibility framework. In: Stojmenovic, I., Cheng, Z., Guo, S. (eds.) MindCare 2014. LNICST, vol. 131, pp. 512–523. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11569-6_40

    Chapter  Google Scholar 

  12. Liu, L., Özsu, M.T. (eds.): Mean Average Precision, p. 1703. Springer, Boston (2009)

    Google Scholar 

  13. Li, L., Huang, W., Gu, I.Y.-H., Tian, Q.: Statistical modeling of complex backgrounds for foreground object detection. IEEE Trans. Image Process. 13(11), 1459–1472 (2004)

    Article  Google Scholar 

  14. McKinney, W.: Pandas: a foundational python library for data analysis and statistics. Python High Perform. Sci. Comput. 14, 1–9 (2011)

    Google Scholar 

  15. Mozgovoy, M., Pyshkin, E.: Using image recognition for testing hand-drawn graphic user interfaces. In: 11th International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies (UBICOMM 2017) (2017)

    Google Scholar 

  16. Nguyen, T.A., Csallner, C.: Reverse engineering mobile application user interfaces with REMAUI (t). In: 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 248–259 (2015)

    Google Scholar 

  17. Patil, N., Bhole, D., Shete, P.: Enhanced UI automator viewer with improved android accessibility evaluation features, pp. 977–983 (2016)

    Google Scholar 

  18. Ren, S., He, K., Girshick, R.B., Sun, J.: Faster r-CNN: towards real-time object detection with region proposal networks. In: NIPS, pp. 91–99 (2015)

    Google Scholar 

  19. Solem, J.E.: Programming Computer Vision with Python. O’Reilly, Sebastopol (2012)

    Google Scholar 

  20. Tieleman, T., Hinton, G.: Lecture 6.5-rmsprop, coursera: Neural networks for machine learning. Technical Report, University of Toronto (2012)

    Google Scholar 

  21. W3C: Web Content Accessibility Guidelines (WCAG) 2.1 (2018)

    Google Scholar 

  22. Zhu, Y.P., Li, P.: Survey on the image segmentation algorithms. In: Qu, Z., Lin, J. (eds.) Proceedings of the International Field Exploration and Development Conference 2017, pp. 475–488 (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mikhail R. Gadelha .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gil, A., Postal, J., Ferreira, A., Gonçalves, D., Bianco, B.H., Gadelha, M.R. (2020). Automatic Contrast Evaluation for Android Themes. In: Stephanidis, C., Antona, M., Gao, Q., Zhou, J. (eds) HCI International 2020 – Late Breaking Papers: Universal Access and Inclusive Design. HCII 2020. Lecture Notes in Computer Science(), vol 12426. Springer, Cham. https://doi.org/10.1007/978-3-030-60149-2_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-60149-2_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-60148-5

  • Online ISBN: 978-3-030-60149-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics