Android Open Source - Happy-Look-Project Preferences






From Project

Back to project page Happy-Look-Project.

License

The source code is released under:

http://www.iconspedia.com/icon/iphone-wallpaper.html

If you think the Android project Happy-Look-Project listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.salamandroid.happylook;
/*from ww w .  j  a va  2 s . co m*/
import java.io.Serializable;

public class Preferences implements Serializable
{

    private static final long serialVersionUID = 1L;
    protected boolean abstractp = true;
    protected boolean animalsp = true;
    protected boolean carsp = true;
    protected boolean citiesp = true;
    protected boolean filmsp = true;
    protected boolean foodsp = true;
    protected boolean minimalp = true;
    protected boolean naturep = true;
    protected boolean sunday = true;
    protected boolean monday = true;
    protected boolean wednesday = true;
    protected boolean friday = true;

    public void tglAbstract()
    {
  if (this.abstractp == true)
      this.abstractp = false;
  else
      this.abstractp = true;
    }

    public void tglAnimals()
    {
  if (this.animalsp == true)
      this.animalsp = false;
  else
      this.animalsp = true;
    }

    public void tglCars()
    {
  if (this.carsp == true)
      this.carsp = false;
  else
      this.carsp = true;
    }

    public void tglCities()
    {
  if (this.citiesp == true)
      this.citiesp = false;
  else
      this.citiesp = true;
    }

    public void tglFilms()
    {
  if (this.filmsp == true)
      this.filmsp = false;
  else
      this.filmsp = true;
    }

    public void tglFoods()
    {
  if (this.foodsp == true)
      this.foodsp = false;
  else
      this.foodsp = true;
    }

    public void tglMinimal()
    {
  if (this.minimalp == true)
      this.minimalp = false;
  else
      this.minimalp = true;
    }

    public void tglNature()
    {
  if (this.naturep == true)
      this.naturep = false;
  else
      this.naturep = true;
    }

    public void tglSunday()
    {
  if (this.sunday == true)
      this.sunday = false;
  else
      this.sunday = true;
    }

    public void tglMonday()
    {
  if (this.monday)
      this.monday = false;
  else
      this.monday = true;
    }

    public void tglWednesday()
    {
  if (this.wednesday)
      this.wednesday = false;
  else
      this.wednesday = true;
    }

    public void tglFriday()
    {
  if (this.friday)
      this.friday = false;
  else
      this.friday = true;
    }
}




Java Source Code List

com.salamandroid.happylook.HPService.java
com.salamandroid.happylook.ImageDownloader.java
com.salamandroid.happylook.MainActivity.java
com.salamandroid.happylook.Preferences.java
com.salamandroid.happylook.Wallpaper.java