com.crashlytics.tools.android_2.1.0

16:34:21.478 INFO  jd.cli.Main - Decompiling com.crashlytics.tools.android_2.1.0.jar
package com.android;

public class AndroidConstants
{
  public static final String FD_RES_ANIM = "anim";
  public static final String FD_RES_ANIMATOR = "animator";
  public static final String FD_RES_COLOR = "color";
  public static final String FD_RES_DRAWABLE = "drawable";
  public static final String FD_RES_INTERPOLATOR = "interpolator";
  public static final String FD_RES_LAYOUT = "layout";
  public static final String FD_RES_MENU = "menu";
  public static final String FD_RES_MIPMAP = "mipmap";
  public static final String FD_RES_VALUES = "values";
  public static final String FD_RES_XML = "xml";
  public static final String FD_RES_RAW = "raw";
  public static final String RES_QUALIFIER_SEP = "-";
}

/* Location:
 * Qualified Name:     com.android.AndroidConstants
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.annotations;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.LOCAL_VARIABLE, java.lang.annotation.ElementType.FIELD})
public @interface NonNull {}

/* Location:
 * Qualified Name:     com.android.annotations.NonNull
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.annotations;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({java.lang.annotation.ElementType.PACKAGE, java.lang.annotation.ElementType.TYPE})
public @interface NonNullByDefault {}

/* Location:
 * Qualified Name:     com.android.annotations.NonNullByDefault
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.annotations;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.LOCAL_VARIABLE, java.lang.annotation.ElementType.FIELD})
public @interface Nullable {}

/* Location:
 * Qualified Name:     com.android.annotations.Nullable
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.annotations;

public enum VisibleForTesting$Visibility
{
  PROTECTED,  PACKAGE,  PRIVATE;
  
  private VisibleForTesting$Visibility() {}
}

/* Location:
 * Qualified Name:     com.android.annotations.VisibleForTesting.Visibility
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.annotations;

import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.SOURCE)
public @interface VisibleForTesting
{
  Visibility visibility() default Visibility.PRIVATE;
  
  public static enum Visibility
  {
    PROTECTED,  PACKAGE,  PRIVATE;
    
    private Visibility() {}
  }
}

/* Location:
 * Qualified Name:     com.android.annotations.VisibleForTesting
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;

public class FileWrapper
  extends File
  implements IAbstractFile
{
  private static final long serialVersionUID = 1L;
  
  public FileWrapper(File paramFile)
  {
    super(paramFile.getAbsolutePath());
  }
  
  public FileWrapper(File paramFile, String paramString)
  {
    super(paramFile, paramString);
  }
  
  public FileWrapper(String paramString)
  {
    super(paramString);
  }
  
  public FileWrapper(String paramString1, String paramString2)
  {
    super(paramString1, paramString2);
  }
  
  public FileWrapper(URI paramURI)
  {
    super(paramURI);
  }
  
  public InputStream getContents()
    throws StreamException
  {
    try
    {
      return new FileInputStream(this);
    }
    catch (FileNotFoundException localFileNotFoundException)
    {
      throw new StreamException(localFileNotFoundException);
    }
  }
  
  public void setContents(InputStream paramInputStream)
    throws StreamException
  {
    FileOutputStream localFileOutputStream = null;
    try
    {
      localFileOutputStream = new FileOutputStream(this);
      
      byte[] arrayOfByte = new byte['?'];
      int i = 0;
      while ((i = paramInputStream.read(arrayOfByte)) != -1) {
        localFileOutputStream.write(arrayOfByte, 0, i);
      }
      return;
    }
    catch (IOException localIOException2)
    {
      throw new StreamException(localIOException2);
    }
    finally
    {
      if (localFileOutputStream != null) {
        try
        {
          localFileOutputStream.close();
        }
        catch (IOException localIOException3)
        {
          throw new StreamException(localIOException3);
        }
      }
    }
  }
  
  public OutputStream getOutputStream()
    throws StreamException
  {
    try
    {
      return new FileOutputStream(this);
    }
    catch (FileNotFoundException localFileNotFoundException)
    {
      throw new StreamException(localFileNotFoundException);
    }
  }
  
  public IAbstractFile.PreferredWriteMode getPreferredWriteMode()
  {
    return IAbstractFile.PreferredWriteMode.OUTPUTSTREAM;
  }
  
  public String getOsLocation()
  {
    return getAbsolutePath();
  }
  
  public boolean exists()
  {
    return isFile();
  }
  
  public long getModificationStamp()
  {
    return lastModified();
  }
  
  public IAbstractFolder getParentFolder()
  {
    String str = getParent();
    if (str == null) {
      return null;
    }
    return new FolderWrapper(str);
  }
}

/* Location:
 * Qualified Name:     com.android.io.FileWrapper
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

class FolderWrapper$1
  implements IAbstractFolder.FilenameFilter
{
  FolderWrapper$1(FolderWrapper paramFolderWrapper, String paramString) {}
  
  public boolean accept(IAbstractFolder paramIAbstractFolder, String paramString)
  {
    return val$name.equals(paramString);
  }
}

/* Location:
 * Qualified Name:     com.android.io.FolderWrapper.1
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

import java.io.File;
import java.net.URI;
import java.util.ArrayList;

public class FolderWrapper
  extends File
  implements IAbstractFolder
{
  private static final long serialVersionUID = 1L;
  
  public FolderWrapper(File paramFile, String paramString)
  {
    super(paramFile, paramString);
  }
  
  public FolderWrapper(String paramString)
  {
    super(paramString);
  }
  
  public FolderWrapper(String paramString1, String paramString2)
  {
    super(paramString1, paramString2);
  }
  
  public FolderWrapper(URI paramURI)
  {
    super(paramURI);
  }
  
  public FolderWrapper(File paramFile)
  {
    super(paramFile.getAbsolutePath());
  }
  
  public IAbstractResource[] listMembers()
  {
    File[] arrayOfFile = listFiles();
    int i = arrayOfFile == null ? 0 : arrayOfFile.length;
    IAbstractResource[] arrayOfIAbstractResource = new IAbstractResource[i];
    if (arrayOfFile != null) {
      for (int j = 0; j < i; j++)
      {
        File localFile = arrayOfFile[j];
        if (localFile.isFile()) {
          arrayOfIAbstractResource[j] = new FileWrapper(localFile);
        } else if (localFile.isDirectory()) {
          arrayOfIAbstractResource[j] = new FolderWrapper(localFile);
        }
      }
    }
    return arrayOfIAbstractResource;
  }
  
  public boolean hasFile(final String paramString)
  {
    String[] arrayOfString = list(new IAbstractFolder.FilenameFilter()
    {
      public boolean accept(IAbstractFolder paramAnonymousIAbstractFolder, String paramAnonymousString)
      {
        return paramString.equals(paramAnonymousString);
      }
    });
    return arrayOfString.length > 0;
  }
  
  public IAbstractFile getFile(String paramString)
  {
    return new FileWrapper(this, paramString);
  }
  
  public IAbstractFolder getFolder(String paramString)
  {
    return new FolderWrapper(this, paramString);
  }
  
  public IAbstractFolder getParentFolder()
  {
    String str = getParent();
    if (str == null) {
      return null;
    }
    return new FolderWrapper(str);
  }
  
  public String getOsLocation()
  {
    return getAbsolutePath();
  }
  
  public boolean exists()
  {
    return isDirectory();
  }
  
  public String[] list(IAbstractFolder.FilenameFilter paramFilenameFilter)
  {
    File[] arrayOfFile1 = listFiles();
    if ((arrayOfFile1 != null) && (arrayOfFile1.length > 0))
    {
      ArrayList localArrayList = new ArrayList();
      for (File localFile : arrayOfFile1) {
        if (paramFilenameFilter.accept(this, localFile.getName())) {
          localArrayList.add(localFile.getName());
        }
      }
      return (String[])localArrayList.toArray(new String[localArrayList.size()]);
    }
    return new String[0];
  }
}

/* Location:
 * Qualified Name:     com.android.io.FolderWrapper
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

public enum IAbstractFile$PreferredWriteMode
{
  INPUTSTREAM,  OUTPUTSTREAM;
  
  private IAbstractFile$PreferredWriteMode() {}
}

/* Location:
 * Qualified Name:     com.android.io.IAbstractFile.PreferredWriteMode
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

import java.io.InputStream;
import java.io.OutputStream;

public abstract interface IAbstractFile
  extends IAbstractResource
{
  public abstract InputStream getContents()
    throws StreamException;
  
  public abstract void setContents(InputStream paramInputStream)
    throws StreamException;
  
  public abstract OutputStream getOutputStream()
    throws StreamException;
  
  public abstract PreferredWriteMode getPreferredWriteMode();
  
  public abstract long getModificationStamp();
  
  public static enum PreferredWriteMode
  {
    INPUTSTREAM,  OUTPUTSTREAM;
    
    private PreferredWriteMode() {}
  }
}

/* Location:
 * Qualified Name:     com.android.io.IAbstractFile
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

public abstract interface IAbstractFolder$FilenameFilter
{
  public abstract boolean accept(IAbstractFolder paramIAbstractFolder, String paramString);
}

/* Location:
 * Qualified Name:     com.android.io.IAbstractFolder.FilenameFilter
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

public abstract interface IAbstractFolder
  extends IAbstractResource
{
  public abstract boolean hasFile(String paramString);
  
  public abstract IAbstractFile getFile(String paramString);
  
  public abstract IAbstractFolder getFolder(String paramString);
  
  public abstract IAbstractResource[] listMembers();
  
  public abstract String[] list(FilenameFilter paramFilenameFilter);
  
  public static abstract interface FilenameFilter
  {
    public abstract boolean accept(IAbstractFolder paramIAbstractFolder, String paramString);
  }
}

/* Location:
 * Qualified Name:     com.android.io.IAbstractFolder
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

public abstract interface IAbstractResource
{
  public abstract String getName();
  
  public abstract String getOsLocation();
  
  public abstract boolean exists();
  
  public abstract IAbstractFolder getParentFolder();
  
  public abstract boolean delete();
}

/* Location:
 * Qualified Name:     com.android.io.IAbstractResource
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.io;

public class StreamException
  extends Exception
{
  private static final long serialVersionUID = 1L;
  
  public StreamException(Exception paramException)
  {
    super(paramException);
  }
}

/* Location:
 * Qualified Name:     com.android.io.StreamException
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum Density
  implements ResourceEnum
{
  XHIGH("xhdpi", "X-High Density", 320),  HIGH("hdpi", "High Density", 240),  TV("tvdpi", "TV Density", 213),  MEDIUM("mdpi", "Medium Density", 160),  LOW("ldpi", "Low Density", 120),  NODPI("nodpi", "No Density", 0);
  
  public static final int DEFAULT_DENSITY = 160;
  private final String mValue;
  private final String mDisplayValue;
  private final int mDensity;
  
  private Density(String paramString1, String paramString2, int paramInt)
  {
    mValue = paramString1;
    mDisplayValue = paramString2;
    mDensity = paramInt;
  }
  
  public static Density getEnum(String paramString)
  {
    for (Density localDensity : ) {
      if (mValue.equals(paramString)) {
        return localDensity;
      }
    }
    return null;
  }
  
  public static Density getEnum(int paramInt)
  {
    for (Density localDensity : ) {
      if (mDensity == paramInt) {
        return localDensity;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public int getDpiValue()
  {
    return mDensity;
  }
  
  public String getLegacyValue()
  {
    if (this != NODPI) {
      return String.format("%1$ddpi", new Object[] { Integer.valueOf(getDpiValue()) });
    }
    return "";
  }
  
  public String getShortDisplayValue()
  {
    return mDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mDisplayValue;
  }
  
  public static int getIndex(Density paramDensity)
  {
    int i = 0;
    for (Density localDensity : values())
    {
      if (paramDensity == localDensity) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static Density getByIndex(int paramInt)
  {
    int i = 0;
    for (Density localDensity : values())
    {
      if (i == paramInt) {
        return localDensity;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return this != NODPI;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.Density
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public final class FolderTypeRelationship
{
  private static final Map<ResourceType, List<ResourceFolderType>> mTypeToFolderMap = new HashMap();
  private static final Map<ResourceFolderType, List<ResourceType>> mFolderToTypeMap = new HashMap();
  
  static
  {
    add(ResourceType.ANIM, ResourceFolderType.ANIM);
    add(ResourceType.ANIMATOR, ResourceFolderType.ANIMATOR);
    add(ResourceType.ARRAY, ResourceFolderType.VALUES);
    add(ResourceType.ATTR, ResourceFolderType.VALUES);
    add(ResourceType.BOOL, ResourceFolderType.VALUES);
    add(ResourceType.COLOR, ResourceFolderType.VALUES);
    add(ResourceType.COLOR, ResourceFolderType.COLOR);
    add(ResourceType.DECLARE_STYLEABLE, ResourceFolderType.VALUES);
    add(ResourceType.DIMEN, ResourceFolderType.VALUES);
    add(ResourceType.DRAWABLE, ResourceFolderType.VALUES);
    add(ResourceType.DRAWABLE, ResourceFolderType.DRAWABLE);
    add(ResourceType.FRACTION, ResourceFolderType.VALUES);
    add(ResourceType.ID, ResourceFolderType.VALUES);
    add(ResourceType.INTEGER, ResourceFolderType.VALUES);
    add(ResourceType.INTERPOLATOR, ResourceFolderType.INTERPOLATOR);
    add(ResourceType.LAYOUT, ResourceFolderType.LAYOUT);
    add(ResourceType.ID, ResourceFolderType.LAYOUT);
    add(ResourceType.MENU, ResourceFolderType.MENU);
    add(ResourceType.ID, ResourceFolderType.MENU);
    add(ResourceType.MIPMAP, ResourceFolderType.MIPMAP);
    add(ResourceType.PLURALS, ResourceFolderType.VALUES);
    add(ResourceType.PUBLIC, ResourceFolderType.VALUES);
    add(ResourceType.RAW, ResourceFolderType.RAW);
    add(ResourceType.STRING, ResourceFolderType.VALUES);
    add(ResourceType.STYLE, ResourceFolderType.VALUES);
    add(ResourceType.STYLEABLE, ResourceFolderType.VALUES);
    add(ResourceType.XML, ResourceFolderType.XML);
    
    makeSafe();
  }
  
  public static List<ResourceType> getRelatedResourceTypes(ResourceFolderType paramResourceFolderType)
  {
    List localList = (List)mFolderToTypeMap.get(paramResourceFolderType);
    if (localList != null) {
      return localList;
    }
    return Collections.emptyList();
  }
  
  public static List<ResourceFolderType> getRelatedFolders(ResourceType paramResourceType)
  {
    List localList = (List)mTypeToFolderMap.get(paramResourceType);
    if (localList != null) {
      return localList;
    }
    return Collections.emptyList();
  }
  
  public static boolean match(ResourceType paramResourceType, ResourceFolderType paramResourceFolderType)
  {
    List localList = (List)mTypeToFolderMap.get(paramResourceType);
    if (localList != null) {
      return localList.contains(paramResourceFolderType);
    }
    return false;
  }
  
  private static void add(ResourceType paramResourceType, ResourceFolderType paramResourceFolderType)
  {
    Object localObject1 = (List)mTypeToFolderMap.get(paramResourceType);
    if (localObject1 == null)
    {
      localObject1 = new ArrayList();
      mTypeToFolderMap.put(paramResourceType, localObject1);
    }
    if (((List)localObject1).indexOf(paramResourceFolderType) == -1) {
      ((List)localObject1).add(paramResourceFolderType);
    }
    Object localObject2 = (List)mFolderToTypeMap.get(paramResourceFolderType);
    if (localObject2 == null)
    {
      localObject2 = new ArrayList();
      mFolderToTypeMap.put(paramResourceFolderType, localObject2);
    }
    if (((List)localObject2).indexOf(paramResourceType) == -1) {
      ((List)localObject2).add(paramResourceType);
    }
  }
  
  private static void makeSafe()
  {
    Object localObject2;
    List localList;
    for (localObject2 : )
    {
      localList = (List)mTypeToFolderMap.get(localObject2);
      if (localList != null) {
        mTypeToFolderMap.put(localObject2, Collections.unmodifiableList(localList));
      }
    }
    for (localObject2 : ResourceFolderType.values())
    {
      localList = (List)mFolderToTypeMap.get(localObject2);
      if (localList != null) {
        mFolderToTypeMap.put(localObject2, Collections.unmodifiableList(localList));
      }
    }
  }
}

/* Location:
 * Qualified Name:     com.android.resources.FolderTypeRelationship
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum Keyboard
  implements ResourceEnum
{
  NOKEY("nokeys", null, "No Keys", "No keyboard"),  QWERTY("qwerty", null, "Qwerty", "Qwerty keybard"),  TWELVEKEY("12key", "twelvekey", "12 Key", "12 key keyboard");
  
  private final String mValue;
  private final String mValue2;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private Keyboard(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    mValue = paramString1;
    mValue2 = paramString2;
    mShortDisplayValue = paramString3;
    mLongDisplayValue = paramString4;
  }
  
  public static Keyboard getEnum(String paramString)
  {
    for (Keyboard localKeyboard : ) {
      if ((mValue.equals(paramString)) || ((mValue2 != null) && (mValue2.equals(paramString)))) {
        return localKeyboard;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(Keyboard paramKeyboard)
  {
    int i = 0;
    for (Keyboard localKeyboard : values())
    {
      if (paramKeyboard == localKeyboard) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static Keyboard getByIndex(int paramInt)
  {
    int i = 0;
    for (Keyboard localKeyboard : values())
    {
      if (i == paramInt) {
        return localKeyboard;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.Keyboard
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum KeyboardState
  implements ResourceEnum
{
  EXPOSED("keysexposed", "Exposed", "Exposed keyboard"),  HIDDEN("keyshidden", "Hidden", "Hidden keyboard"),  SOFT("keyssoft", "Soft", "Soft keyboard");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private KeyboardState(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static KeyboardState getEnum(String paramString)
  {
    for (KeyboardState localKeyboardState : ) {
      if (mValue.equals(paramString)) {
        return localKeyboardState;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(KeyboardState paramKeyboardState)
  {
    int i = 0;
    for (KeyboardState localKeyboardState : values())
    {
      if (paramKeyboardState == localKeyboardState) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static KeyboardState getByIndex(int paramInt)
  {
    int i = 0;
    for (KeyboardState localKeyboardState : values())
    {
      if (i == paramInt) {
        return localKeyboardState;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.KeyboardState
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum Navigation
  implements ResourceEnum
{
  NONAV("nonav", "None", "No navigation"),  DPAD("dpad", "D-pad", "D-pad navigation"),  TRACKBALL("trackball", "Trackball", "Trackball navigation"),  WHEEL("wheel", "Wheel", "Wheel navigation");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private Navigation(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static Navigation getEnum(String paramString)
  {
    for (Navigation localNavigation : ) {
      if (mValue.equals(paramString)) {
        return localNavigation;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(Navigation paramNavigation)
  {
    int i = 0;
    for (Navigation localNavigation : values())
    {
      if (localNavigation == paramNavigation) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static Navigation getByIndex(int paramInt)
  {
    int i = 0;
    for (Navigation localNavigation : values())
    {
      if (i == paramInt) {
        return localNavigation;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.Navigation
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum NavigationState
  implements ResourceEnum
{
  EXPOSED("navexposed", "Exposed", "Exposed navigation"),  HIDDEN("navhidden", "Hidden", "Hidden navigation");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private NavigationState(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static NavigationState getEnum(String paramString)
  {
    for (NavigationState localNavigationState : ) {
      if (mValue.equals(paramString)) {
        return localNavigationState;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(NavigationState paramNavigationState)
  {
    int i = 0;
    for (NavigationState localNavigationState : values())
    {
      if (paramNavigationState == localNavigationState) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static NavigationState getByIndex(int paramInt)
  {
    int i = 0;
    for (NavigationState localNavigationState : values())
    {
      if (i == paramInt) {
        return localNavigationState;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.NavigationState
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum NightMode
  implements ResourceEnum
{
  NOTNIGHT("notnight", "Not Night", "Day time"),  NIGHT("night", "Night", "Night time");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private NightMode(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static NightMode getEnum(String paramString)
  {
    for (NightMode localNightMode : ) {
      if (mValue.equals(paramString)) {
        return localNightMode;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(NightMode paramNightMode)
  {
    int i = 0;
    for (NightMode localNightMode : values())
    {
      if (localNightMode == paramNightMode) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static NightMode getByIndex(int paramInt)
  {
    int i = 0;
    for (NightMode localNightMode : values())
    {
      if (i == paramInt) {
        return localNightMode;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.NightMode
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public abstract interface ResourceEnum
{
  public abstract String getResourceValue();
  
  public abstract boolean isValidValueForDevice();
  
  public abstract boolean isFakeValue();
  
  public abstract String getShortDisplayValue();
  
  public abstract String getLongDisplayValue();
}

/* Location:
 * Qualified Name:     com.android.resources.ResourceEnum
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum ResourceFolderType
{
  ANIM("anim"),  ANIMATOR("animator"),  COLOR("color"),  DRAWABLE("drawable"),  INTERPOLATOR("interpolator"),  LAYOUT("layout"),  MENU("menu"),  MIPMAP("mipmap"),  RAW("raw"),  VALUES("values"),  XML("xml");
  
  private final String mName;
  
  private ResourceFolderType(String paramString)
  {
    mName = paramString;
  }
  
  public String getName()
  {
    return mName;
  }
  
  public static ResourceFolderType getTypeByName(String paramString)
  {
    for (ResourceFolderType localResourceFolderType : ) {
      if (mName.equals(paramString)) {
        return localResourceFolderType;
      }
    }
    return null;
  }
  
  public static ResourceFolderType getFolderType(String paramString)
  {
    String[] arrayOfString = paramString.split("-");
    
    return getTypeByName(arrayOfString[0]);
  }
}

/* Location:
 * Qualified Name:     com.android.resources.ResourceFolderType
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum ResourceType
{
  ANIM("anim", "Animation", new String[0]),  ANIMATOR("animator", "Animator", new String[0]),  ARRAY("array", "Array", new String[] { "string-array", "integer-array" }),  ATTR("attr", "Attr", new String[0]),  BOOL("bool", "Boolean", new String[0]),  COLOR("color", "Color", new String[0]),  DECLARE_STYLEABLE("declare-styleable", "Declare Stylable", new String[0]),  DIMEN("dimen", "Dimension", new String[0]),  DRAWABLE("drawable", "Drawable", new String[0]),  FRACTION("fraction", "Fraction", new String[0]),  ID("id", "ID", new String[0]),  INTEGER("integer", "Integer", new String[0]),  INTERPOLATOR("interpolator", "Interpolator", new String[0]),  LAYOUT("layout", "Layout", new String[0]),  MENU("menu", "Menu", new String[0]),  MIPMAP("mipmap", "Mip Map", new String[0]),  PLURALS("plurals", "Plurals", new String[0]),  RAW("raw", "Raw", new String[0]),  STRING("string", "String", new String[0]),  STYLE("style", "Style", new String[0]),  STYLEABLE("styleable", "Styleable", new String[0]),  XML("xml", "XML", new String[0]),  PUBLIC("public", "###", new String[0]);
  
  private final String mName;
  private final String mDisplayName;
  private final String[] mAlternateXmlNames;
  
  private ResourceType(String paramString1, String paramString2, String... paramVarArgs)
  {
    mName = paramString1;
    mDisplayName = paramString2;
    mAlternateXmlNames = paramVarArgs;
  }
  
  public String getName()
  {
    return mName;
  }
  
  public String getDisplayName()
  {
    return mDisplayName;
  }
  
  public static ResourceType getEnum(String paramString)
  {
    for (ResourceType localResourceType : )
    {
      if (mName.equals(paramString)) {
        return localResourceType;
      }
      if (mAlternateXmlNames != null) {
        for (String str : mAlternateXmlNames) {
          if (str.equals(paramString)) {
            return localResourceType;
          }
        }
      }
    }
    return null;
  }
  
  public static String[] getNames()
  {
    ResourceType[] arrayOfResourceType = values();
    String[] arrayOfString = new String[arrayOfResourceType.length];
    for (int i = arrayOfResourceType.length - 1; i >= 0; i--) {
      arrayOfString[i] = arrayOfResourceType[i].getName();
    }
    return arrayOfString;
  }
  
  public String toString()
  {
    return getName();
  }
}

/* Location:
 * Qualified Name:     com.android.resources.ResourceType
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum ScreenOrientation
  implements ResourceEnum
{
  PORTRAIT("port", "Portrait", "Portrait Orientation"),  LANDSCAPE("land", "Landscape", "Landscape Orientation"),  SQUARE("square", "Square", "Square Orientation");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private ScreenOrientation(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static ScreenOrientation getEnum(String paramString)
  {
    for (ScreenOrientation localScreenOrientation : ) {
      if (mValue.equals(paramString)) {
        return localScreenOrientation;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(ScreenOrientation paramScreenOrientation)
  {
    int i = 0;
    for (ScreenOrientation localScreenOrientation : values())
    {
      if (localScreenOrientation == paramScreenOrientation) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static ScreenOrientation getByIndex(int paramInt)
  {
    int i = 0;
    for (ScreenOrientation localScreenOrientation : values())
    {
      if (i == paramInt) {
        return localScreenOrientation;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.ScreenOrientation
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum ScreenRatio
  implements ResourceEnum
{
  NOTLONG("notlong", "Not Long", "Short screen aspect ratio"),  LONG("long", "Long", "Long screen aspect ratio");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private ScreenRatio(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static ScreenRatio getEnum(String paramString)
  {
    for (ScreenRatio localScreenRatio : ) {
      if (mValue.equals(paramString)) {
        return localScreenRatio;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(ScreenRatio paramScreenRatio)
  {
    int i = 0;
    for (ScreenRatio localScreenRatio : values())
    {
      if (localScreenRatio == paramScreenRatio) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static ScreenRatio getByIndex(int paramInt)
  {
    int i = 0;
    for (ScreenRatio localScreenRatio : values())
    {
      if (i == paramInt) {
        return localScreenRatio;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.ScreenRatio
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum ScreenSize
  implements ResourceEnum
{
  SMALL("small", "Small", "Small Screen"),  NORMAL("normal", "Normal", "Normal Screen"),  LARGE("large", "Large", "Large Screen"),  XLARGE("xlarge", "X-Large", "Extra Large Screen");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private ScreenSize(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static ScreenSize getEnum(String paramString)
  {
    for (ScreenSize localScreenSize : ) {
      if (mValue.equals(paramString)) {
        return localScreenSize;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(ScreenSize paramScreenSize)
  {
    int i = 0;
    for (ScreenSize localScreenSize : values())
    {
      if (localScreenSize == paramScreenSize) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static ScreenSize getByIndex(int paramInt)
  {
    int i = 0;
    for (ScreenSize localScreenSize : values())
    {
      if (i == paramInt) {
        return localScreenSize;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.ScreenSize
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum TouchScreen
  implements ResourceEnum
{
  NOTOUCH("notouch", "No Touch", "No-touch screen"),  STYLUS("stylus", "Stylus", "Stylus-based touchscreen"),  FINGER("finger", "Finger", "Finger-based touchscreen");
  
  private final String mValue;
  private final String mShortDisplayValue;
  private final String mLongDisplayValue;
  
  private TouchScreen(String paramString1, String paramString2, String paramString3)
  {
    mValue = paramString1;
    mShortDisplayValue = paramString2;
    mLongDisplayValue = paramString3;
  }
  
  public static TouchScreen getEnum(String paramString)
  {
    for (TouchScreen localTouchScreen : ) {
      if (mValue.equals(paramString)) {
        return localTouchScreen;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mShortDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mLongDisplayValue;
  }
  
  public static int getIndex(TouchScreen paramTouchScreen)
  {
    int i = 0;
    for (TouchScreen localTouchScreen : values())
    {
      if (localTouchScreen == paramTouchScreen) {
        return i;
      }
      i++;
    }
    return -1;
  }
  
  public static TouchScreen getByIndex(int paramInt)
  {
    int i = 0;
    for (TouchScreen localTouchScreen : values())
    {
      if (i == paramInt) {
        return localTouchScreen;
      }
      i++;
    }
    return null;
  }
  
  public boolean isFakeValue()
  {
    return false;
  }
  
  public boolean isValidValueForDevice()
  {
    return true;
  }
}

/* Location:
 * Qualified Name:     com.android.resources.TouchScreen
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package com.android.resources;

public enum UiMode
  implements ResourceEnum
{
  NORMAL("", "Normal"),  CAR("car", "Car Dock"),  DESK("desk", "Desk Dock"),  TELEVISION("television", "Television");
  
  private final String mValue;
  private final String mDisplayValue;
  
  private UiMode(String paramString1, String paramString2)
  {
    mValue = paramString1;
    mDisplayValue = paramString2;
  }
  
  public static UiMode getEnum(String paramString)
  {
    for (UiMode localUiMode : ) {
      if (mValue.equals(paramString)) {
        return localUiMode;
      }
    }
    return null;
  }
  
  public String getResourceValue()
  {
    return mValue;
  }
  
  public String getShortDisplayValue()
  {
    return mDisplayValue;
  }
  
  public String getLongDisplayValue()
  {
    return mDisplayValue;
  }
  
  public static int getIndex(UiMode paramUiMode)
  {
    int i = 0;
    for (UiMode localUiMode : values())
    {
      if (localU
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd