META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/ide/
com/android/ide/common/
com/android/ide/common/internal/
com/android/ide/common/internal/AaptRunner.classAaptRunner.java
package com.android.ide.common.internal
public com.android.ide.common.internal.AaptRunner extends java.lang.Object {
private final String mAaptLocation
private final com.android.ide.common.internal.CommandLineRunner mCommandLineRunner
public void (java.lang.String, com.android.ide.common.internal.CommandLineRunner)
String aaptLocation
com.android.ide.common.internal.CommandLineRunner commandLineRunner
public void crunchPng (java.io.File, java.io.File) throws java.io.IOException java.lang.InterruptedException
java.io.File from
java.io.File to
String[] command
}
com/android/ide/common/internal/CommandLineRunner$1.classCommandLineRunner.java
package com.android.ide.common.internal
com.android.ide.common.internal.CommandLineRunner$1 extends java.lang.Object {
}
com/android/ide/common/internal/CommandLineRunner$OutputGrabber.classCommandLineRunner.java
package com.android.ide.common.internal
com.android.ide.common.internal.CommandLineRunner$OutputGrabber extends java.lang.Object implements com.android.sdklib.util.GrabProcessOutput$IProcessOutput {
private boolean mFoundError
final com.android.ide.common.internal.CommandLineRunner this$0
private void (com.android.ide.common.internal.CommandLineRunner)
public void out (java.lang.String)
String line
public void err (java.lang.String)
String line
private boolean foundError ()
void (com.android.ide.common.internal.CommandLineRunner, com.android.ide.common.internal.CommandLineRunner$1)
com.android.ide.common.internal.CommandLineRunner x0
com.android.ide.common.internal.CommandLineRunner$1 x1
}
com/android/ide/common/internal/CommandLineRunner.classCommandLineRunner.java
package com.android.ide.common.internal
public com.android.ide.common.internal.CommandLineRunner extends java.lang.Object {
private final com.android.utils.ILogger mLogger
public void (com.android.utils.ILogger)
com.android.utils.ILogger logger
public void runCmdLine (java.util.List) throws java.io.IOException java.lang.InterruptedException
java.util.List command
String[] cmdArray
public void runCmdLine (java.lang.String[]) throws java.io.IOException java.lang.InterruptedException
String[] command
Process process
private int grabProcessOutput (java.lang.Process) throws java.lang.InterruptedException
Process process
com.android.ide.common.internal.CommandLineRunner$OutputGrabber grabber
private void printCommand (java.lang.String[])
String[] command
static com.android.utils.ILogger access$000 (com.android.ide.common.internal.CommandLineRunner)
com.android.ide.common.internal.CommandLineRunner x0
}
com/android/ide/common/internal/WaitableExecutor$TaskResult.classWaitableExecutor.java
package com.android.ide.common.internal
public final com.android.ide.common.internal.WaitableExecutor$TaskResult extends java.lang.Object {
public Object value
public Throwable exception
static com.android.ide.common.internal.WaitableExecutor$TaskResult withValue (java.lang.Object)
Object value
com.android.ide.common.internal.WaitableExecutor$TaskResult result
void (java.lang.Throwable)
Throwable cause
}
com/android/ide/common/internal/WaitableExecutor.classWaitableExecutor.java
package com.android.ide.common.internal
public com.android.ide.common.internal.WaitableExecutor extends java.lang.Object {
private final java.util.concurrent.CompletionService mCompletionService
private int mCount
public void (int)
int nThreads
public void ()
public void execute (java.util.concurrent.Callable)
java.util.concurrent.Callable runnable
public java.util.List waitForTasksWithQuickFail () throws java.lang.InterruptedException java.util.concurrent.ExecutionException
java.util.concurrent.Future result
int i
java.util.List results
public java.util.List waitForAllTasks () throws java.lang.InterruptedException
Throwable cause
java.util.concurrent.ExecutionException e
java.util.concurrent.Future task
int i
java.util.List results
public void cancelAllTasks ()
java.util.concurrent.Future task
}
com/android/ide/common/packaging/
com/android/ide/common/packaging/PackagingUtils.classPackagingUtils.java
package com.android.ide.common.packaging
public com.android.ide.common.packaging.PackagingUtils extends java.lang.Object {
public void ()
public static boolean checkFolderForPackaging (java.lang.String)
String folderName
public static boolean checkFileForPackaging (java.lang.String)
String fileName
String[] fileSegments
String fileExt
public static boolean checkFileForPackaging (java.lang.String, java.lang.String)
String fileName
String extension
}
com/android/ide/common/rendering/
com/android/ide/common/rendering/HardwareConfigHelper$1.classHardwareConfigHelper.java
package com.android.ide.common.rendering
final com.android.ide.common.rendering.HardwareConfigHelper$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (com.android.sdklib.devices.Device, com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device1
com.android.sdklib.devices.Device device2
public volatile int compare (java.lang.Object, java.lang.Object)
Object x0
Object x1
}
com/android/ide/common/rendering/HardwareConfigHelper.classHardwareConfigHelper.java
package com.android.ide.common.rendering
public com.android.ide.common.rendering.HardwareConfigHelper extends java.lang.Object {
private final com.android.sdklib.devices.Device mDevice
private com.android.resources.ScreenOrientation mScreenOrientation
private int mMaxRenderWidth
private int mMaxRenderHeight
private int mOverrideRenderWidth
private int mOverrideRenderHeight
public static final String MANUFACTURER_GENERIC
private static final String NEXUS
private static final java.util.regex.Pattern GENERIC_PATTERN
public void (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device
public com.android.ide.common.rendering.HardwareConfigHelper setOrientation (com.android.resources.ScreenOrientation)
com.android.resources.ScreenOrientation screenOrientation
public com.android.ide.common.rendering.HardwareConfigHelper setOverrideRenderSize (int, int)
int overrideRenderWidth
int overrideRenderHeight
public com.android.ide.common.rendering.HardwareConfigHelper setMaxRenderSize (int, int)
int maxRenderWidth
int maxRenderHeight
public com.android.ide.common.rendering.api.HardwareConfig getConfig ()
int width
int height
int width
int height
int width
int height
com.android.sdklib.devices.Screen screen
int x
int y
int width
int height
public static java.lang.String getNexusLabel (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device
String name
com.android.sdklib.devices.Screen screen
float length
public static java.lang.String getGenericLabel (com.android.sdklib.devices.Device)
int i
String size
String n
int dot
com.android.sdklib.devices.Device device
String name
java.util.regex.Matcher matcher
public static java.lang.String getResolutionString (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device
com.android.sdklib.devices.Screen screen
public static boolean isGeneric (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device
public static boolean isNexus (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device
public static int nexusRank (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device device
String name
public static void sortNexusList (java.util.List)
java.util.List list
static void ()
}
com/android/ide/common/rendering/LayoutLibrary$1.classLayoutLibrary.java
package com.android.ide.common.rendering
com.android.ide.common.rendering.LayoutLibrary$1 extends java.lang.Object implements com.android.layoutlib.api.ILayoutLog {
final com.android.ide.common.rendering.api.LayoutLog val$log
final com.android.ide.common.rendering.LayoutLibrary this$0
void (com.android.ide.common.rendering.LayoutLibrary, com.android.ide.common.rendering.api.LayoutLog)
public void warning (java.lang.String)
String message
public void error (java.lang.Throwable)
Throwable t
public void error (java.lang.String)
String message
}
com/android/ide/common/rendering/LayoutLibrary$2.classLayoutLibrary.java
package com.android.ide.common.rendering
com.android.ide.common.rendering.LayoutLibrary$2 extends java.lang.Object {
static final int[] $SwitchMap$com$android$ide$common$rendering$api$Capability
static void ()
NoSuchFieldError ex
}
com/android/ide/common/rendering/LayoutLibrary.classLayoutLibrary.java
package com.android.ide.common.rendering
public com.android.ide.common.rendering.LayoutLibrary extends java.lang.Object {
public static final String CLASS_BRIDGE
private final com.android.ide.common.rendering.api.Bridge mBridge
private final com.android.layoutlib.api.ILayoutBridge mLegacyBridge
private final com.android.ide.common.sdk.LoadStatus mStatus
private final String mLoadMessage
private final ClassLoader mClassLoader
private java.lang.reflect.Method mViewGetParentMethod
private java.lang.reflect.Method mViewGetBaselineMethod
private java.lang.reflect.Method mViewParentIndexOfChildMethod
private Class mMarginLayoutParamClass
private java.lang.reflect.Field mLeftMarginField
private java.lang.reflect.Field mTopMarginField
private java.lang.reflect.Field mRightMarginField
private java.lang.reflect.Field mBottomMarginField
public com.android.ide.common.sdk.LoadStatus getStatus ()
public java.lang.String getLoadMessage ()
public java.lang.ClassLoader getClassLoader ()
public static com.android.ide.common.rendering.LayoutLibrary load (java.lang.String, com.android.utils.ILogger, java.lang.String)
Object bridgeObject
java.lang.reflect.Constructor constructor
int api
java.net.URI uri
java.net.URL url
Class clazz
java.io.File f
Throwable cause
Throwable t
String layoutLibJarOsPath
com.android.utils.ILogger log
String toolName
com.android.ide.common.sdk.LoadStatus status
String message
com.android.ide.common.rendering.api.Bridge bridge
com.android.layoutlib.api.ILayoutBridge legacyBridge
ClassLoader classLoader
public int getApiLevel ()
public int getRevision ()
public boolean supports (com.android.ide.common.rendering.api.Capability)
com.android.ide.common.rendering.api.Capability capability
public boolean init (java.util.Map, java.io.File, java.util.Map, com.android.ide.common.rendering.api.LayoutLog)
java.util.Map platformProperties
java.io.File fontLocation
java.util.Map enumValueMap
com.android.ide.common.rendering.api.LayoutLog log
public boolean dispose ()
public com.android.ide.common.rendering.api.RenderSession createSession (com.android.ide.common.rendering.api.SessionParams)
com.android.ide.common.rendering.api.ViewInfo info
java.util.Iterator i$
java.util.List infoList
com.android.ide.common.rendering.api.RenderSession session
com.android.ide.common.rendering.api.SessionParams params
public com.android.ide.common.rendering.api.Result renderDrawable (com.android.ide.common.rendering.api.DrawableParams)
com.android.ide.common.rendering.api.DrawableParams params
public void clearCaches (java.lang.Object)
Object projectKey
public com.android.ide.common.rendering.api.Result getViewParent (java.lang.Object)
com.android.ide.common.rendering.api.Result r
Object viewObject
public com.android.ide.common.rendering.api.Result getViewIndex (java.lang.Object)
com.android.ide.common.rendering.api.Result r
Object viewObject
private void (com.android.ide.common.rendering.api.Bridge, com.android.layoutlib.api.ILayoutBridge, java.lang.ClassLoader, com.android.ide.common.sdk.LoadStatus, java.lang.String)
com.android.ide.common.rendering.api.Bridge bridge
com.android.layoutlib.api.ILayoutBridge legacyBridge
ClassLoader classLoader
com.android.ide.common.sdk.LoadStatus status
String message
private int getLegacyApiLevel ()
AbstractMethodError e
int apiLevel
private com.android.ide.common.rendering.api.RenderSession createLegacySession (com.android.ide.common.rendering.api.SessionParams)
String themeName
com.android.ide.common.rendering.api.SessionParams params
com.android.ide.common.resources.ResourceResolver resources
int apiLevel
com.android.ide.common.rendering.api.LayoutLog log
com.android.layoutlib.api.ILayoutLog logWrapper
java.util.Map projectMap
java.util.Map frameworkMap
com.android.layoutlib.api.ILayoutResult result
private java.util.Map convertMap (java.util.Map)
java.util.Map$Entry entry
java.util.Iterator i$
java.util.Map map
java.util.Map result
private com.android.ide.common.rendering.api.RenderSession convertToScene (com.android.layoutlib.api.ILayoutResult)
com.android.layoutlib.api.ILayoutResult$ILayoutViewInfo oldRootView
com.android.ide.common.rendering.api.Result sceneResult
com.android.layoutlib.api.ILayoutResult result
com.android.ide.common.rendering.api.Result sceneResult
com.android.ide.common.rendering.api.ViewInfo rootViewInfo
private com.android.ide.common.rendering.api.ViewInfo convertToViewInfo (com.android.layoutlib.api.ILayoutResult$ILayoutViewInfo)
com.android.layoutlib.api.ILayoutResult$ILayoutViewInfo child
com.android.layoutlib.api.ILayoutResult$ILayoutViewInfo[] arr$
int len$
int i$
java.util.ArrayList convertedChildren
com.android.layoutlib.api.ILayoutResult$ILayoutViewInfo view
com.android.ide.common.rendering.api.ViewInfo viewInfo
com.android.layoutlib.api.ILayoutResult$ILayoutViewInfo[] children
private void legacyCleanUp ()
ThreadLocal threadLocal
Class looperClass
java.lang.reflect.Field threadLocalField
Exception e
private com.android.ide.common.rendering.api.Result getViewParentWithReflection (java.lang.Object)
Class viewClass
Exception e
Object viewObject
private com.android.ide.common.rendering.api.Result getViewIndexReflection (java.lang.Object)
Class viewParentClass
Class viewClass
Object parentObject
Exception e
Object viewObject
private void addExtendedViewInfo (com.android.ide.common.rendering.api.ViewInfo)
com.android.ide.common.rendering.api.ViewInfo child
java.util.Iterator i$
com.android.ide.common.rendering.api.ViewInfo info
java.util.List children
private void computeExtendedViewInfo (com.android.ide.common.rendering.api.ViewInfo)
Exception e
com.android.ide.common.rendering.api.ViewInfo info
Object viewObject
Object params
int baseLine
int leftMargin
int topMargin
int rightMargin
int bottomMargin
private int getViewBaselineReflection (java.lang.Object)
Class viewClass
Object result
Exception e
Object viewObject
}
com/android/ide/common/rendering/StaticRenderSession.classStaticRenderSession.java
package com.android.ide.common.rendering
public com.android.ide.common.rendering.StaticRenderSession extends com.android.ide.common.rendering.api.RenderSession {
private final com.android.ide.common.rendering.api.Result mResult
private final java.util.List mRootViewInfo
private final java.awt.image.BufferedImage mImage
public void (com.android.ide.common.rendering.api.Result, com.android.ide.common.rendering.api.ViewInfo, java.awt.image.BufferedImage)
com.android.ide.common.rendering.api.Result result
com.android.ide.common.rendering.api.ViewInfo rootViewInfo
java.awt.image.BufferedImage image
public com.android.ide.common.rendering.api.Result getResult ()
public java.util.List getRootViews ()
public java.awt.image.BufferedImage getImage ()
}
com/android/ide/common/rendering/legacy/
com/android/ide/common/rendering/legacy/ILegacyPullParser.classILegacyPullParser.java
package com.android.ide.common.rendering.legacy
public abstract com.android.ide.common.rendering.legacy.ILegacyPullParser extends java.lang.Object implements com.android.ide.common.rendering.api.ILayoutPullParser com.android.layoutlib.api.IXmlPullParser {
}
com/android/ide/common/rendering/legacy/LegacyCallback.classLegacyCallback.java
package com.android.ide.common.rendering.legacy
public abstract com.android.ide.common.rendering.legacy.LegacyCallback extends java.lang.Object implements com.android.ide.common.rendering.api.IProjectCallback com.android.layoutlib.api.IProjectCallback {
public void ()
public final java.lang.Integer getResourceValue (java.lang.String, java.lang.String)
String type
String name
public final java.lang.String[] resolveResourceValue (int)
int id
com.android.util.Pair info
public final java.lang.String resolveResourceValue (int[])
int[] id
}
com/android/ide/common/res2/
com/android/ide/common/res2/AssetFile.classAssetFile.java
package com.android.ide.common.res2
com.android.ide.common.res2.AssetFile extends com.android.ide.common.res2.DataFile {
void (java.io.File, com.android.ide.common.res2.AssetItem)
java.io.File file
com.android.ide.common.res2.AssetItem item
}
com/android/ide/common/res2/AssetItem.classAssetItem.java
package com.android.ide.common.res2
com.android.ide.common.res2.AssetItem extends com.android.ide.common.res2.DataItem {
void (java.lang.String)
String name
static com.android.ide.common.res2.AssetItem create (java.io.File, java.io.File)
java.io.File sourceFolder
java.io.File file
StringBuilder sb
private static void computePath (java.lang.StringBuilder, java.io.File, java.io.File)
StringBuilder sb
java.io.File current
java.io.File stop
}
com/android/ide/common/res2/AssetMerger.classAssetMerger.java
package com.android.ide.common.res2
public com.android.ide.common.res2.AssetMerger extends com.android.ide.common.res2.DataMerger {
public void ()
protected com.android.ide.common.res2.AssetSet createFromXml (org.w3c.dom.Node)
org.w3c.dom.Node node
com.android.ide.common.res2.AssetSet set
public volatile java.lang.String toString ()
public volatile com.android.utils.Pair getDataSetContaining (java.io.File)
java.io.File x0
public volatile boolean checkValidUpdate (java.util.List)
java.util.List x0
public volatile boolean loadFromBlob (java.io.File, boolean) throws java.io.IOException
java.io.File x0
boolean x1
public volatile void writeBlobTo (java.io.File) throws java.io.IOException
java.io.File x0
public volatile void mergeData (com.android.ide.common.res2.MergeConsumer, boolean) throws java.io.IOException com.android.ide.common.res2.DuplicateDataException com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.MergeConsumer x0
boolean x1
public volatile com.google.common.collect.ListMultimap getDataMap ()
public volatile int size ()
public volatile java.util.List getDataSets ()
protected volatile com.android.ide.common.res2.DataSet createFromXml (org.w3c.dom.Node)
org.w3c.dom.Node x0
}
com/android/ide/common/res2/AssetSet.classAssetSet.java
package com.android.ide.common.res2
public com.android.ide.common.res2.AssetSet extends com.android.ide.common.res2.DataSet {
public void (java.lang.String)
String configName
protected com.android.ide.common.res2.DataSet createSet (java.lang.String)
String name
protected com.android.ide.common.res2.AssetFile createFileAndItems (java.io.File, java.io.File, com.android.utils.ILogger)
java.io.File sourceFolder
java.io.File file
com.android.utils.ILogger logger
protected com.android.ide.common.res2.AssetFile createFileAndItems (java.io.File, org.w3c.dom.Node)
java.io.File file
org.w3c.dom.Node fileNode
org.w3c.dom.Attr nameAttr
com.android.ide.common.res2.AssetItem item
protected boolean isValidSourceFile (java.io.File, java.io.File)
java.io.File sourceFolder
java.io.File file
java.io.File parent
protected void readSourceFolder (java.io.File, com.android.utils.ILogger) throws com.android.ide.common.res2.DuplicateDataException java.io.IOException
java.io.File sourceFolder
com.android.utils.ILogger logger
private void readFiles (java.io.File, java.io.File, com.android.utils.ILogger) throws java.io.IOException
java.io.File file
java.io.File[] arr$
int len$
int i$
java.io.File sourceFolder
java.io.File folder
com.android.utils.ILogger logger
java.io.File[] files
public volatile java.lang.String toString ()
public volatile boolean updateWith (java.io.File, java.io.File, com.android.ide.common.res2.FileStatus, com.android.utils.ILogger) throws java.io.IOException
java.io.File x0
java.io.File x1
com.android.ide.common.res2.FileStatus x2
com.android.utils.ILogger x3
public volatile void loadFromFiles (com.android.utils.ILogger) throws com.android.ide.common.res2.DuplicateDataException java.io.IOException
com.android.utils.ILogger x0
public volatile com.google.common.collect.ListMultimap getDataMap ()
public volatile boolean isEmpty ()
public volatile int size ()
public volatile java.io.File findMatchingSourceFile (java.io.File)
java.io.File x0
public volatile java.lang.String getConfigName ()
public volatile java.util.List getSourceFiles ()
public volatile void addSource (java.io.File)
java.io.File x0
public volatile void addSources (java.util.Collection)
java.util.Collection x0
protected volatile com.android.ide.common.res2.DataFile createFileAndItems (java.io.File, java.io.File, com.android.utils.ILogger) throws java.io.IOException
java.io.File x0
java.io.File x1
com.android.utils.ILogger x2
protected volatile com.android.ide.common.res2.DataFile createFileAndItems (java.io.File, org.w3c.dom.Node)
java.io.File x0
org.w3c.dom.Node x1
}
com/android/ide/common/res2/DataFile$FileType.classDataFile.java
package com.android.ide.common.res2
final com.android.ide.common.res2.DataFile$FileType extends java.lang.Enum {
public static final com.android.ide.common.res2.DataFile$FileType SINGLE
public static final com.android.ide.common.res2.DataFile$FileType MULTI
private static final com.android.ide.common.res2.DataFile$FileType[] $VALUES
public static com.android.ide.common.res2.DataFile$FileType[] values ()
public static com.android.ide.common.res2.DataFile$FileType valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ide/common/res2/DataFile.classDataFile.java
package com.android.ide.common.res2
public abstract com.android.ide.common.res2.DataFile extends java.lang.Object {
private final com.android.ide.common.res2.DataFile$FileType mType
private final java.io.File mFile
private final java.util.Map mItems
static final boolean $assertionsDisabled
void (java.io.File, com.android.ide.common.res2.DataFile$FileType)
java.io.File file
com.android.ide.common.res2.DataFile$FileType fileType
protected final void init (com.android.ide.common.res2.DataItem)
com.android.ide.common.res2.DataItem item
protected void init (java.util.List)
com.android.ide.common.res2.DataItem item
java.util.Iterator i$
java.util.List items
com.android.ide.common.res2.DataFile$FileType getType ()
public java.io.File getFile ()
com.android.ide.common.res2.DataItem getItem ()
java.util.Collection getItems ()
java.util.Map getItemMap ()
void addItems (java.util.Collection)
com.android.ide.common.res2.DataItem item
java.util.Iterator i$
java.util.Collection items
void addExtraAttributes (org.w3c.dom.Document, org.w3c.dom.Node, java.lang.String)
org.w3c.dom.Document document
org.w3c.dom.Node node
String namespaceUri
public java.lang.String toString ()
static void ()
}
com/android/ide/common/res2/DataItem.classDataItem.java
package com.android.ide.common.res2
abstract com.android.ide.common.res2.DataItem extends java.lang.Object {
private static final int MASK_TOUCHED
private static final int MASK_REMOVED
private static final int MASK_WRITTEN
private final String mName
private com.android.ide.common.res2.DataFile mSource
private int mStatus
void (java.lang.String)
String name
public java.lang.String getName ()
public com.android.ide.common.res2.DataFile getSource ()
void setSource (com.android.ide.common.res2.DataFile)
com.android.ide.common.res2.DataFile sourceFile
com.android.ide.common.res2.DataItem resetStatus ()
com.android.ide.common.res2.DataItem resetStatusToWritten ()
com.android.ide.common.res2.DataItem resetStatusToTouched ()
com.android.ide.common.res2.DataItem setWritten ()
com.android.ide.common.res2.DataItem setRemoved ()
com.android.ide.common.res2.DataItem setTouched ()
boolean isRemoved ()
boolean isTouched ()
boolean isWritten ()
protected int getStatus ()
java.lang.String getKey ()
void addExtraAttributes (org.w3c.dom.Document, org.w3c.dom.Node, java.lang.String)
org.w3c.dom.Document document
org.w3c.dom.Node node
String namespaceUri
org.w3c.dom.Node getAdoptedNode (org.w3c.dom.Document)
org.w3c.dom.Document document
public boolean equals (java.lang.Object)
Object o
com.android.ide.common.res2.DataItem dataItem
public int hashCode ()
int result
protected void wasTouched ()
}
com/android/ide/common/res2/DataMap.classDataMap.java
package com.android.ide.common.res2
abstract com.android.ide.common.res2.DataMap extends java.lang.Object {
public abstract int size ()
public abstract com.google.common.collect.ListMultimap getDataMap ()
}
com/android/ide/common/res2/DataMerger.classDataMerger.java
package com.android.ide.common.res2
abstract com.android.ide.common.res2.DataMerger extends java.lang.Object implements com.android.ide.common.res2.DataMap {
static final String FN_MERGER_XML
private static final String NODE_MERGER
private static final String NODE_DATA_SET
private final java.util.List mDataSets
static final boolean $assertionsDisabled
public void ()
protected abstract com.android.ide.common.res2.DataSet createFromXml (org.w3c.dom.Node)
public void addDataSet (com.android.ide.common.res2.DataSet)
com.android.ide.common.res2.DataSet resourceSet
public java.util.List getDataSets ()
void validateDataSets () throws com.android.ide.common.res2.DuplicateDataException
com.android.ide.common.res2.DataSet resourceSet
java.util.Iterator i$
public int size ()
com.google.common.collect.ListMultimap map
com.android.ide.common.res2.DataSet resourceSet
java.util.Iterator i$
java.util.Set keys
public com.google.common.collect.ListMultimap getDataMap ()
java.util.Map$Entry entry
java.util.Iterator i$
com.google.common.collect.ListMultimap map
com.android.ide.common.res2.DataSet resourceSet
java.util.Iterator i$
com.google.common.collect.ListMultimap fullItemMultimap
public void mergeData (com.android.ide.common.res2.MergeConsumer, boolean) throws java.io.IOException com.android.ide.common.res2.DuplicateDataException com.android.ide.common.res2.MergeConsumer$ConsumerException
com.google.common.collect.ListMultimap map
com.android.ide.common.res2.DataSet dataSet
java.util.Iterator i$
com.android.ide.common.res2.DataItem item
int ii
com.android.ide.common.res2.DataSet dataSet
com.google.common.collect.ListMultimap itemMap
java.util.List items
int i
com.android.ide.common.res2.DataItem previouslyWritten
com.android.ide.common.res2.DataItem toWrite
String dataItemKey
java.util.Iterator i$
java.util.Set dataItemKeys
com.android.ide.common.res2.MergeConsumer consumer
boolean doCleanUp
public void writeBlobTo (java.io.File) throws java.io.IOException
org.w3c.dom.Node dataSetNode
com.android.ide.common.res2.DataSet dataSet
java.util.Iterator i$
org.w3c.dom.Document document
org.w3c.dom.Node rootNode
String content
javax.xml.parsers.ParserConfigurationException e
java.io.File blobRootFolder
javax.xml.parsers.DocumentBuilderFactory factory
javax.xml.parsers.DocumentBuilder builder
public boolean loadFromBlob (java.io.File, boolean) throws java.io.IOException
java.io.IOException e
org.w3c.dom.Node node
com.android.ide.common.res2.DataSet dataSet
int i
int n
java.io.IOException e
javax.xml.parsers.DocumentBuilderFactory factory
org.xml.sax.InputSource is
javax.xml.parsers.DocumentBuilder builder
org.w3c.dom.Document document
org.w3c.dom.Node rootNode
org.w3c.dom.NodeList nodes
java.io.FileNotFoundException e
javax.xml.parsers.ParserConfigurationException e
org.xml.sax.SAXException e
java.io.IOException e
java.io.File blobRootFolder
boolean incrementalState
java.io.File file
java.io.BufferedInputStream stream
private void setPostBlobLoadStateToWritten ()
java.util.Map$Entry entry
java.util.Iterator i$
com.google.common.collect.ListMultimap map
com.android.ide.common.res2.DataSet dataSet
java.util.Iterator i$
java.util.List itemList
String key
java.util.Iterator i$
com.google.common.collect.ListMultimap itemMap
private void setPostBlobLoadStateToTouched ()
java.util.Map$Entry entry
java.util.Iterator i$
com.google.common.collect.ListMultimap map
com.android.ide.common.res2.DataSet dataSet
java.util.Iterator i$
java.util.List itemList
String key
java.util.Iterator i$
com.google.common.collect.ListMultimap itemMap
private void postMergeCleanUp ()
com.android.ide.common.res2.DataItem item
int i
java.util.List list
String key
java.util.Iterator i$
com.google.common.collect.ListMultimap map
java.util.List keys
com.android.ide.common.res2.DataSet dataSet
java.util.Iterator i$
java.util.List itemList
String key
java.util.Iterator i$
com.google.common.collect.ListMultimap itemMap
public boolean checkValidUpdate (java.util.List)
com.android.ide.common.res2.DataSet localSet
com.android.ide.common.res2.DataSet newSet
java.util.List localSourceFiles
java.util.List newSourceFiles
int i
int n
java.util.List dataSets
public com.android.utils.Pair getDataSetContaining (java.io.File)
java.io.File sourceFile
com.android.ide.common.res2.DataSet dataSet
java.util.Iterator i$
java.io.File file
protected synchronized void createDir (java.io.File) throws java.io.IOException
java.io.File folder
public java.lang.String toString ()
static void ()
}
com/android/ide/common/res2/DataSet$1.classDataSet.java
package com.android.ide.common.res2
com.android.ide.common.res2.DataSet$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$ide$common$res2$FileStatus
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/res2/DataSet.classDataSet.java
package com.android.ide.common.res2
abstract com.android.ide.common.res2.DataSet extends java.lang.Object implements com.android.ide.common.res2.SourceSet com.android.ide.common.res2.DataMap {
static final String NODE_SOURCE
static final String NODE_FILE
static final String ATTR_CONFIG
static final String ATTR_PATH
static final String ATTR_NAME
private final String mConfigName
private final java.util.List mSourceFiles
private final com.google.common.collect.ListMultimap mItems
private final com.google.common.collect.ListMultimap mSourceFileToDataFilesMap
private final java.util.Map mDataFileMap
public void (java.lang.String)
String configName
protected abstract com.android.ide.common.res2.DataSet createSet (java.lang.String)
protected abstract com.android.ide.common.res2.DataFile createFileAndItems (java.io.File, org.w3c.dom.Node)
protected abstract void readSourceFolder (java.io.File, com.android.utils.ILogger) throws com.android.ide.common.res2.DuplicateDataException java.io.IOException
protected abstract com.android.ide.common.res2.DataFile createFileAndItems (java.io.File, java.io.File, com.android.utils.ILogger) throws java.io.IOException
public void addSources (java.util.Collection)
java.util.Collection files
public void addSource (java.io.File)
java.io.File file
public java.util.List getSourceFiles ()
public java.lang.String getConfigName ()
public java.io.File findMatchingSourceFile (java.io.File)
String sourcePath
java.io.File sourceFile
java.util.Iterator i$
java.io.File file
public int size ()
public boolean isEmpty ()
public com.google.common.collect.ListMultimap getDataMap ()
public void loadFromFiles (com.android.utils.ILogger) throws com.android.ide.common.res2.DuplicateDataException java.io.IOException
java.io.File file
java.util.Iterator i$
com.android.utils.ILogger logger
void appendToXml (org.w3c.dom.Node, org.w3c.dom.Document)
org.w3c.dom.Node adoptedNode
com.android.ide.common.res2.DataItem item
java.util.Iterator i$
com.android.ide.common.res2.DataItem dataItem
org.w3c.dom.Node fileNode
com.android.ide.common.res2.DataFile dataFile
java.util.Iterator i$
org.w3c.dom.Node sourceNode
java.util.Collection dataFiles
java.io.File sourceFile
java.util.Iterator i$
org.w3c.dom.Node setNode
org.w3c.dom.Document document
com.android.ide.common.res2.DataSet createFromXml (org.w3c.dom.Node)
org.w3c.dom.Node fileNode
com.android.ide.common.res2.DataFile dataFile
int j
int m
org.w3c.dom.Node sourceNode
org.w3c.dom.Attr pathAttr
java.io.File sourceFolder
org.w3c.dom.NodeList fileNodes
int i
int n
org.w3c.dom.Node dataSetNode
org.w3c.dom.Attr configNameAttr
com.android.ide.common.res2.DataSet dataSet
org.w3c.dom.NodeList sourceNodes
protected void checkItems () throws com.android.ide.common.res2.DuplicateDataException
com.android.ide.common.res2.DataItem item
java.util.Iterator i$
java.util.Collection items
com.android.ide.common.res2.DataItem lastItem
java.util.Map$Entry entry
java.util.Iterator i$
public boolean updateWith (java.io.File, java.io.File, com.android.ide.common.res2.FileStatus, com.android.utils.ILogger) throws java.io.IOException
com.android.ide.common.res2.DataItem dataItem
java.util.Iterator i$
com.android.ide.common.res2.DataFile dataFile
java.io.File sourceFolder
java.io.File changedFile
com.android.ide.common.res2.FileStatus fileStatus
com.android.utils.ILogger logger
protected abstract boolean isValidSourceFile (java.io.File, java.io.File)
protected boolean handleNewFile (java.io.File, java.io.File, com.android.utils.ILogger) throws java.io.IOException
java.io.File sourceFolder
java.io.File file
com.android.utils.ILogger logger
com.android.ide.common.res2.DataFile dataFile
protected void processNewDataFile (java.io.File, com.android.ide.common.res2.DataFile, boolean)
com.android.ide.common.res2.DataItem dataItem
java.util.Iterator i$
java.io.File sourceFolder
com.android.ide.common.res2.DataFile dataFile
boolean setTouched
java.util.Collection dataItems
protected boolean handleChangedFile (java.io.File, java.io.File) throws java.io.IOException
java.io.File sourceFolder
java.io.File changedFile
com.android.ide.common.res2.DataFile dataFile
protected void addItem (com.android.ide.common.res2.DataItem, java.lang.String)
com.android.ide.common.res2.DataItem item
String key
protected com.android.ide.common.res2.DataFile getDataFile (java.io.File)
java.io.File file
private void addDataFile (java.io.File, com.android.ide.common.res2.DataFile)
java.io.File sourceFile
com.android.ide.common.res2.DataFile dataFile
public java.lang.String toString ()
protected boolean checkFileForAndroidRes (java.io.File)
java.io.File file
String name
int pos
String extension
}
com/android/ide/common/res2/DuplicateDataException.classDuplicateDataException.java
package com.android.ide.common.res2
public com.android.ide.common.res2.DuplicateDataException extends java.lang.Exception {
private com.android.ide.common.res2.DataItem mOne
private com.android.ide.common.res2.DataItem mTwo
void (com.android.ide.common.res2.DataItem, com.android.ide.common.res2.DataItem)
com.android.ide.common.res2.DataItem one
com.android.ide.common.res2.DataItem two
public com.android.ide.common.res2.DataItem getOne ()
public com.android.ide.common.res2.DataItem getTwo ()
}
com/android/ide/common/res2/FileStatus.classFileStatus.java
package com.android.ide.common.res2
public final com.android.ide.common.res2.FileStatus extends java.lang.Enum {
public static final com.android.ide.common.res2.FileStatus NEW
public static final com.android.ide.common.res2.FileStatus REMOVED
public static final com.android.ide.common.res2.FileStatus CHANGED
private static final com.android.ide.common.res2.FileStatus[] $VALUES
public static com.android.ide.common.res2.FileStatus[] values ()
public static com.android.ide.common.res2.FileStatus valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ide/common/res2/MergeConsumer$ConsumerException.classMergeConsumer.java
package com.android.ide.common.res2
public com.android.ide.common.res2.MergeConsumer$ConsumerException extends java.lang.Exception {
public void (java.lang.Throwable)
Throwable cause
}
com/android/ide/common/res2/MergeConsumer.classMergeConsumer.java
package com.android.ide.common.res2
public abstract com.android.ide.common.res2.MergeConsumer extends java.lang.Object {
public abstract void start () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public abstract void end () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public abstract void addItem (com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public abstract void removeItem (com.android.ide.common.res2.DataItem, com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
}
com/android/ide/common/res2/MergeWriter.classMergeWriter.java
package com.android.ide.common.res2
public abstract com.android.ide.common.res2.MergeWriter extends java.lang.Object implements com.android.ide.common.res2.MergeConsumer {
private final java.io.File mRootFolder
private final com.android.ide.common.internal.WaitableExecutor mExecutor
public void (java.io.File)
java.io.File rootFolder
public void start () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public void end () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
InterruptedException e
java.util.concurrent.ExecutionException e
protected void postWriteAction () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
protected com.android.ide.common.internal.WaitableExecutor getExecutor ()
protected java.io.File getRootFolder ()
}
com/android/ide/common/res2/MergedAssetWriter$1.classMergedAssetWriter.java
package com.android.ide.common.res2
com.android.ide.common.res2.MergedAssetWriter$1 extends java.lang.Object implements java.util.concurrent.Callable {
final com.android.ide.common.res2.AssetItem val$item
final com.android.ide.common.res2.MergedAssetWriter this$0
void (com.android.ide.common.res2.MergedAssetWriter, com.android.ide.common.res2.AssetItem)
public java.lang.Void call () throws java.lang.Exception
com.android.ide.common.res2.AssetFile assetFile
java.io.File fromFile
java.io.File toFile
public volatile java.lang.Object call () throws java.lang.Exception
}
com/android/ide/common/res2/MergedAssetWriter.classMergedAssetWriter.java
package com.android.ide.common.res2
public com.android.ide.common.res2.MergedAssetWriter extends com.android.ide.common.res2.MergeWriter {
public void (java.io.File)
java.io.File rootFolder
public void addItem (com.android.ide.common.res2.AssetItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.AssetItem item
public void removeItem (com.android.ide.common.res2.AssetItem, com.android.ide.common.res2.AssetItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
java.io.File removedFile
com.android.ide.common.res2.AssetItem removedItem
com.android.ide.common.res2.AssetItem replacedBy
public volatile void removeItem (com.android.ide.common.res2.DataItem, com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.DataItem x0
com.android.ide.common.res2.DataItem x1
public volatile void addItem (com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.DataItem x0
}
com/android/ide/common/res2/MergedResourceWriter$1.classMergedResourceWriter.java
package com.android.ide.common.res2
com.android.ide.common.res2.MergedResourceWriter$1 extends java.lang.Object implements java.util.concurrent.Callable {
final com.android.ide.common.res2.ResourceItem val$item
final com.android.ide.common.res2.MergedResourceWriter this$0
void (com.android.ide.common.res2.MergedResourceWriter, com.android.ide.common.res2.ResourceItem)
public java.lang.Void call () throws java.lang.Exception
com.android.ide.common.res2.ResourceFile resourceFile
java.io.File file
String filename
String folderName
String qualifiers
java.io.File typeFolder
java.io.File outFile
public volatile java.lang.Object call () throws java.lang.Exception
}
com/android/ide/common/res2/MergedResourceWriter.classMergedResourceWriter.java
package com.android.ide.common.res2
public com.android.ide.common.res2.MergedResourceWriter extends com.android.ide.common.res2.MergeWriter {
private static final String FN_VALUES_XML
private final com.android.ide.common.internal.AaptRunner mAaptRunner
private com.google.common.collect.ListMultimap mValuesResMap
private java.util.Set mQualifierWithDeletedValues
public void (java.io.File, com.android.ide.common.internal.AaptRunner)
java.io.File rootFolder
com.android.ide.common.internal.AaptRunner aaptRunner
public void start () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public void end () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public void addItem (com.android.ide.common.res2.ResourceItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.ResourceItem item
com.android.ide.common.res2.DataFile$FileType type
public void removeItem (com.android.ide.common.res2.ResourceItem, com.android.ide.common.res2.ResourceItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.ResourceItem removedItem
com.android.ide.common.res2.ResourceItem replacedBy
com.android.ide.common.res2.DataFile$FileType removedType
com.android.ide.common.res2.DataFile$FileType replacedType
protected void postWriteAction () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.ResourceItem item
java.util.Iterator i$
org.w3c.dom.Node adoptedNode
com.android.ide.common.res2.ResourceItem item
java.util.Iterator i$
java.io.File valuesFolder
java.io.File outFile
javax.xml.parsers.DocumentBuilderFactory factory
javax.xml.parsers.DocumentBuilder builder
org.w3c.dom.Document document
org.w3c.dom.Node rootNode
String content
Throwable t
String folderName
boolean mustWriteFile
java.util.List items
String key
java.util.Iterator i$
String folderName
String key
java.util.Iterator i$
private boolean removeOutFile (com.android.ide.common.res2.ResourceFile)
com.android.ide.common.res2.ResourceFile resourceFile
java.io.File file
String fileName
String folderName
private boolean removeOutFile (java.lang.String, java.lang.String)
String folderName
String fileName
java.io.File valuesFolder
java.io.File outFile
private synchronized void createDir (java.io.File) throws java.io.IOException
java.io.File folder
public volatile void removeItem (com.android.ide.common.res2.DataItem, com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.DataItem x0
com.android.ide.common.res2.DataItem x1
public volatile void addItem (com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.DataItem x0
static void access$000 (com.android.ide.common.res2.MergedResourceWriter, java.io.File) throws java.io.IOException
com.android.ide.common.res2.MergedResourceWriter x0
java.io.File x1
static com.android.ide.common.internal.AaptRunner access$100 (com.android.ide.common.res2.MergedResourceWriter)
com.android.ide.common.res2.MergedResourceWriter x0
}
com/android/ide/common/res2/NodeUtils.classNodeUtils.java
package com.android.ide.common.res2
com.android.ide.common.res2.NodeUtils extends java.lang.Object {
void ()
static org.w3c.dom.Node adoptNode (org.w3c.dom.Document, org.w3c.dom.Node)
org.w3c.dom.Document document
org.w3c.dom.Node node
org.w3c.dom.Node newNode
static void addAttribute (org.w3c.dom.Document, org.w3c.dom.Node, java.lang.String, java.lang.String, java.lang.String)
org.w3c.dom.Attr attr
org.w3c.dom.Document document
org.w3c.dom.Node node
String namespaceUri
String attrName
String attrValue
org.w3c.dom.Attr attr
private static void updateNamespace (org.w3c.dom.Node, org.w3c.dom.Document)
int i
int n
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Node node
org.w3c.dom.Document document
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.NodeList children
private static void processSingleNodeNamespace (org.w3c.dom.Node, org.w3c.dom.Document)
org.w3c.dom.Attr nsAttr
org.w3c.dom.NamedNodeMap docAttributes
String prefix
org.w3c.dom.Node node
org.w3c.dom.Document document
String ns
private static java.lang.String getPrefixForNs (org.w3c.dom.NamedNodeMap, java.lang.String)
org.w3c.dom.Attr attribute
int i
int n
org.w3c.dom.NamedNodeMap attributes
String ns
private static java.lang.String getUniqueNsAttribute (org.w3c.dom.NamedNodeMap)
String name
org.w3c.dom.NamedNodeMap attributes
int i
static boolean compareElementNode (org.w3c.dom.Node, org.w3c.dom.Node)
org.w3c.dom.Node node1
org.w3c.dom.Node node2
org.w3c.dom.NamedNodeMap attr1
org.w3c.dom.NamedNodeMap attr2
private static boolean compareChildren (org.w3c.dom.NodeList, org.w3c.dom.NodeList)
org.w3c.dom.Node child1
org.w3c.dom.Node child2
short nodeType
int i
int n
org.w3c.dom.NodeList children1
org.w3c.dom.NodeList children2
static boolean compareAttributes (org.w3c.dom.NamedNodeMap, org.w3c.dom.NamedNodeMap)
org.w3c.dom.Attr attr2
org.w3c.dom.Attr attr1
String ns1
org.w3c.dom.Attr attr2
int i
int n
org.w3c.dom.NamedNodeMap attrMap1
org.w3c.dom.NamedNodeMap attrMap2
}
com/android/ide/common/res2/ResourceFile.classResourceFile.java
package com.android.ide.common.res2
public com.android.ide.common.res2.ResourceFile extends com.android.ide.common.res2.DataFile {
static final String ATTR_QUALIFIER
private final String mQualifiers
void (java.io.File, com.android.ide.common.res2.ResourceItem, java.lang.String)
java.io.File file
com.android.ide.common.res2.ResourceItem item
String qualifiers
void (java.io.File, java.util.List, java.lang.String)
java.io.File file
java.util.List items
String qualifiers
java.lang.String getQualifiers ()
void addExtraAttributes (org.w3c.dom.Document, org.w3c.dom.Node, java.lang.String)
org.w3c.dom.Document document
org.w3c.dom.Node node
String namespaceUri
public java.lang.String toString ()
}
com/android/ide/common/res2/ResourceItem$1.classResourceItem.java
package com.android.ide.common.res2
com.android.ide.common.res2.ResourceItem$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$resources$ResourceType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/res2/ResourceItem.classResourceItem.java
package com.android.ide.common.res2
public com.android.ide.common.res2.ResourceItem extends com.android.ide.common.res2.DataItem implements com.android.ide.common.resources.configuration.Configurable java.lang.Comparable {
private static final int DEFAULT_NS_PREFIX_LEN
private final com.android.resources.ResourceType mType
private org.w3c.dom.Node mValue
private com.android.ide.common.rendering.api.ResourceValue mResourceValue
static final boolean $assertionsDisabled
void (java.lang.String, com.android.resources.ResourceType, org.w3c.dom.Node)
String name
com.android.resources.ResourceType type
org.w3c.dom.Node value
public com.android.resources.ResourceType getType ()
public org.w3c.dom.Node getValue ()
public java.lang.String getValueText ()
void setValue (com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceItem from
public com.android.ide.common.resources.configuration.FolderConfiguration getConfiguration ()
String qualifier
java.lang.String getKey ()
String qualifiers
void addExtraAttributes (org.w3c.dom.Document, org.w3c.dom.Node, java.lang.String)
org.w3c.dom.Document document
org.w3c.dom.Node node
String namespaceUri
org.w3c.dom.Node getAdoptedNode (org.w3c.dom.Document)
org.w3c.dom.Document document
protected void wasTouched ()
public com.android.ide.common.rendering.api.ResourceValue getResourceValue (boolean)
boolean isFrameworks
public java.lang.String getXmlString (com.android.resources.ResourceType, boolean)
com.android.resources.ResourceType type
boolean system
public boolean compareValueWith (com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceItem resource
public java.lang.String toString ()
public boolean equals (java.lang.Object)
Object o
com.android.ide.common.res2.ResourceItem that
public int hashCode ()
int result
private com.android.ide.common.rendering.api.ResourceValue parseXmlToResourceValue (boolean)
Throwable t
String parent
boolean isFrameworks
org.w3c.dom.NamedNodeMap attributes
com.android.resources.ResourceType type
com.android.ide.common.rendering.api.ResourceValue value
String name
private com.android.resources.ResourceType getType (java.lang.String, org.w3c.dom.NamedNodeMap)
String typeValue
String qName
org.w3c.dom.NamedNodeMap attributes
String typeValue
private static java.lang.String getAttributeValue (org.w3c.dom.NamedNodeMap, java.lang.String)
org.w3c.dom.NamedNodeMap attributes
String attributeName
org.w3c.dom.Attr attribute
private com.android.ide.common.rendering.api.ResourceValue parseStyleValue (com.android.ide.common.rendering.api.StyleResourceValue)
boolean isFrameworkAttr
com.android.ide.common.rendering.api.ResourceValue resValue
org.w3c.dom.NamedNodeMap attributes
String name
org.w3c.dom.Node child
int i
int n
com.android.ide.common.rendering.api.StyleResourceValue styleValue
org.w3c.dom.NodeList children
private com.android.ide.common.rendering.api.ResourceValue parseAttrValue (com.android.ide.common.rendering.api.AttrResourceValue)
NumberFormatException e
String value
org.w3c.dom.NamedNodeMap attributes
String name
org.w3c.dom.Node child
int i
int n
com.android.ide.common.rendering.api.AttrResourceValue attrValue
org.w3c.dom.NodeList children
private com.android.ide.common.rendering.api.ResourceValue parseValue (com.android.ide.common.rendering.api.ResourceValue)
com.android.ide.common.rendering.api.ResourceValue value
private static java.lang.String getTextNode (org.w3c.dom.Node)
String str
org.w3c.dom.Node child
short nodeType
int i
int n
org.w3c.dom.Node node
StringBuilder sb
org.w3c.dom.NodeList children
public int compareTo (com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceItem resourceItem
int comp
public volatile java.lang.String getName ()
public volatile int compareTo (java.lang.Object)
Object x0
static void ()
}
com/android/ide/common/res2/ResourceMerger.classResourceMerger.java
package com.android.ide.common.res2
public com.android.ide.common.res2.ResourceMerger extends com.android.ide.common.res2.DataMerger {
public void ()
protected com.android.ide.common.res2.ResourceSet createFromXml (org.w3c.dom.Node)
org.w3c.dom.Node node
com.android.ide.common.res2.ResourceSet set
public volatile java.lang.String toString ()
public volatile com.android.utils.Pair getDataSetContaining (java.io.File)
java.io.File x0
public volatile boolean checkValidUpdate (java.util.List)
java.util.List x0
public volatile boolean loadFromBlob (java.io.File, boolean) throws java.io.IOException
java.io.File x0
boolean x1
public volatile void writeBlobTo (java.io.File) throws java.io.IOException
java.io.File x0
public volatile void mergeData (com.android.ide.common.res2.MergeConsumer, boolean) throws java.io.IOException com.android.ide.common.res2.DuplicateDataException com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.MergeConsumer x0
boolean x1
public volatile com.google.common.collect.ListMultimap getDataMap ()
public volatile int size ()
public volatile java.util.List getDataSets ()
protected volatile com.android.ide.common.res2.DataSet createFromXml (org.w3c.dom.Node)
org.w3c.dom.Node x0
}
com/android/ide/common/res2/ResourceRepository$1.classResourceRepository.java
package com.android.ide.common.res2
com.android.ide.common.res2.ResourceRepository$1 extends java.lang.Object {
}
com/android/ide/common/res2/ResourceRepository$RepositoryMerger.classResourceRepository.java
package com.android.ide.common.res2
com.android.ide.common.res2.ResourceRepository$RepositoryMerger extends java.lang.Object implements com.android.ide.common.res2.MergeConsumer {
final com.android.ide.common.res2.ResourceRepository this$0
private void (com.android.ide.common.res2.ResourceRepository)
public void start () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public void end () throws com.android.ide.common.res2.MergeConsumer$ConsumerException
public void addItem (com.android.ide.common.res2.ResourceItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.ResourceItem item
public void removeItem (com.android.ide.common.res2.ResourceItem, com.android.ide.common.res2.ResourceItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.ResourceItem removedItem
com.android.ide.common.res2.ResourceItem replacedBy
public volatile void removeItem (com.android.ide.common.res2.DataItem, com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.DataItem x0
com.android.ide.common.res2.DataItem x1
public volatile void addItem (com.android.ide.common.res2.DataItem) throws com.android.ide.common.res2.MergeConsumer$ConsumerException
com.android.ide.common.res2.DataItem x0
void (com.android.ide.common.res2.ResourceRepository, com.android.ide.common.res2.ResourceRepository$1)
com.android.ide.common.res2.ResourceRepository x0
com.android.ide.common.res2.ResourceRepository$1 x1
}
com/android/ide/common/res2/ResourceRepository.classResourceRepository.java
package com.android.ide.common.res2
public com.android.ide.common.res2.ResourceRepository extends java.lang.Object {
private final boolean mFramework
private final java.util.Map mItems
private final com.android.ide.common.res2.ResourceRepository$RepositoryMerger mConsumer
static final boolean $assertionsDisabled
public void (boolean)
boolean isFramework
public boolean isFramework ()
public com.android.ide.common.res2.MergeConsumer getMergeConsumer ()
public java.util.Map getItems ()
public java.util.List getResourceItem (com.android.resources.ResourceType, java.lang.String)
com.google.common.collect.ListMultimap map
com.android.resources.ResourceType resourceType
String resourceName
public java.util.Collection getItemsOfType (com.android.resources.ResourceType)
com.google.common.collect.Multimap map
com.android.resources.ResourceType type
public boolean hasResourceItem (java.lang.String)
int slash
String remainder
int colon
String name
int nameBegin
int typeBegin
int colon
String typeName
com.android.resources.ResourceType type
String url
int typeEnd
public boolean hasResourceItem (com.android.resources.ResourceType, java.lang.String)
java.util.List itemList
com.google.common.collect.ListMultimap map
com.android.resources.ResourceType resourceType
String resourceName
public boolean hasResourcesOfType (com.android.resources.ResourceType)
com.google.common.collect.ListMultimap map
com.android.resources.ResourceType resourceType
public java.util.List getAvailableResourceTypes ()
public com.android.ide.common.res2.ResourceFile getMatchingFile (java.lang.String, com.android.resources.ResourceType, com.android.ide.common.resources.configuration.FolderConfiguration)
com.google.common.collect.ListMultimap typeItems
java.util.List matchingItems
com.android.ide.common.res2.ResourceItem match
String name
com.android.resources.ResourceType type
com.android.ide.common.resources.configuration.FolderConfiguration config
public java.util.Map getConfiguredResources (com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.resources.ResourceType key
com.android.resources.ResourceType[] arr$
int len$
int i$
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
java.util.Map map
public java.util.Map getConfiguredResources (com.android.resources.ResourceType, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.rendering.api.ResourceValue value
java.util.List keyItems
com.android.ide.common.res2.ResourceItem match
String key
java.util.Iterator i$
com.android.resources.ResourceType type
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
com.google.common.collect.ListMultimap items
java.util.Set keys
java.util.Map map
public com.android.ide.common.rendering.api.ResourceValue getConfiguredValue (com.android.resources.ResourceType, java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.resources.ResourceType type
String name
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
com.google.common.collect.ListMultimap items
java.util.List keyItems
com.android.ide.common.res2.ResourceItem match
private void addItem (com.android.ide.common.res2.ResourceItem)
com.google.common.collect.ListMultimap map
com.android.ide.common.res2.ResourceItem item
private void removeItem (com.android.ide.common.res2.ResourceItem)
com.google.common.collect.Multimap map
com.android.ide.common.res2.ResourceItem removedItem
public java.util.SortedSet getLanguages ()
com.android.ide.common.res2.ResourceFile source
com.android.ide.common.res2.ResourceItem item
java.util.Iterator i$
com.google.common.collect.ListMultimap map
java.util.Iterator i$
String qualifier
java.util.Iterator i$
String s
java.util.Iterator i$
java.util.SortedSet set
java.util.Set qualifiers
com.google.common.base.Splitter splitter
public java.util.SortedSet getRegions (java.lang.String)
com.android.ide.common.res2.ResourceFile source
com.android.ide.common.res2.ResourceItem item
java.util.Iterator i$
com.google.common.collect.ListMultimap map
java.util.Iterator i$
String qualifier
java.util.Iterator i$
boolean rightLanguage
String s
java.util.Iterator i$
String currentLanguage
java.util.SortedSet set
java.util.Set qualifiers
com.google.common.base.Splitter splitter
protected java.util.Collection getMergeIds ()
public void clear ()
public void mergeIds ()
String id
java.util.Iterator i$
java.util.List items
String id
java.util.Iterator i$
java.util.Collection ids
com.google.common.collect.ListMultimap idMap
static void access$000 (com.android.ide.common.res2.ResourceRepository, com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceRepository x0
com.android.ide.common.res2.ResourceItem x1
static void access$100 (com.android.ide.common.res2.ResourceRepository, com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceRepository x0
com.android.ide.common.res2.ResourceItem x1
static void ()
}
com/android/ide/common/res2/ResourceSet$1.classResourceSet.java
package com.android.ide.common.res2
com.android.ide.common.res2.ResourceSet$1 extends java.lang.Object {
}
com/android/ide/common/res2/ResourceSet$FolderData.classResourceSet.java
package com.android.ide.common.res2
com.android.ide.common.res2.ResourceSet$FolderData extends java.lang.Object {
String qualifiers
com.android.resources.ResourceType type
com.android.resources.ResourceFolderType folderType
private void ()
void (com.android.ide.common.res2.ResourceSet$1)
com.android.ide.common.res2.ResourceSet$1 x0
}
com/android/ide/common/res2/ResourceSet.classResourceSet.java
package com.android.ide.common.res2
public com.android.ide.common.res2.ResourceSet extends com.android.ide.common.res2.DataSet {
public void (java.lang.String)
String name
protected com.android.ide.common.res2.DataSet createSet (java.lang.String)
String name
protected com.android.ide.common.res2.ResourceFile createFileAndItems (java.io.File, java.io.File, com.android.utils.ILogger) throws java.io.IOException
java.io.File sourceFolder
java.io.File file
com.android.utils.ILogger logger
com.android.ide.common.res2.ResourceSet$FolderData folderData
protected com.android.ide.common.res2.ResourceFile createFileAndItems (java.io.File, org.w3c.dom.Node)
org.w3c.dom.Node resNode
com.android.ide.common.res2.ResourceItem r
int iii
int nnn
java.util.List resourceList
org.w3c.dom.NodeList resNodes
com.android.resources.ResourceType type
org.w3c.dom.Attr nameAttr
com.android.ide.common.res2.ResourceItem item
java.io.File file
org.w3c.dom.Node fileNode
org.w3c.dom.Attr qualifierAttr
String qualifier
org.w3c.dom.Attr typeAttr
protected void readSourceFolder (java.io.File, com.android.utils.ILogger) throws com.android.ide.common.res2.DuplicateDataException java.io.IOException
com.android.ide.common.res2.ResourceSet$FolderData folderData
java.io.File folder
java.io.File[] arr$
int len$
int i$
java.io.File sourceFolder
com.android.utils.ILogger logger
java.io.File[] folders
protected boolean isValidSourceFile (java.io.File, java.io.File)
java.io.File sourceFolder
java.io.File file
java.io.File resFolder
protected boolean handleChangedFile (java.io.File, java.io.File) throws java.io.IOException
String newKey
com.android.ide.common.res2.ResourceItem oldItem
com.android.ide.common.res2.ResourceItem newItem
java.util.Iterator i$
com.android.ide.common.res2.ResourceItem deletedItem
java.util.Iterator i$
java.util.Map$Entry entry
java.util.Iterator i$
com.android.ide.common.res2.ValueResourceParser2 parser
java.util.List parsedItems
java.util.Map oldItems
java.util.Map newItems
com.android.ide.common.res2.ResourceFile fakeResourceFile
java.io.File sourceFolder
java.io.File changedFile
com.android.ide.common.res2.ResourceSet$FolderData folderData
com.android.ide.common.res2.ResourceFile resourceFile
private void parseFolder (java.io.File, java.io.File, com.android.ide.common.res2.ResourceSet$FolderData, com.android.utils.ILogger) throws java.io.IOException
com.android.ide.common.res2.ResourceFile resourceFile
java.io.File file
java.io.File[] arr$
int len$
int i$
java.io.File sourceFolder
java.io.File folder
com.android.ide.common.res2.ResourceSet$FolderData folderData
com.android.utils.ILogger logger
java.io.File[] files
private com.android.ide.common.res2.ResourceFile createResourceFile (java.io.File, com.android.ide.common.res2.ResourceSet$FolderData, com.android.utils.ILogger) throws java.io.IOException
int pos
String name
com.android.ide.common.res2.ValueResourceParser2 parser
java.util.List items
java.io.IOException e
java.io.File file
com.android.ide.common.res2.ResourceSet$FolderData folderData
com.android.utils.ILogger logger
private static com.android.ide.common.res2.ResourceSet$FolderData getFolderData (java.io.File)
java.io.File folder
com.android.ide.common.res2.ResourceSet$FolderData fd
String folderName
int pos
public volatile java.lang.String toString ()
public volatile boolean updateWith (java.io.File, java.io.File, com.android.ide.common.res2.FileStatus, com.android.utils.ILogger) throws java.io.IOException
java.io.File x0
java.io.File x1
com.android.ide.common.res2.FileStatus x2
com.android.utils.ILogger x3
public volatile void loadFromFiles (com.android.utils.ILogger) throws com.android.ide.common.res2.DuplicateDataException java.io.IOException
com.android.utils.ILogger x0
public volatile com.google.common.collect.ListMultimap getDataMap ()
public volatile boolean isEmpty ()
public volatile int size ()
public volatile java.io.File findMatchingSourceFile (java.io.File)
java.io.File x0
public volatile java.lang.String getConfigName ()
public volatile java.util.List getSourceFiles ()
public volatile void addSource (java.io.File)
java.io.File x0
public volatile void addSources (java.util.Collection)
java.util.Collection x0
protected volatile com.android.ide.common.res2.DataFile createFileAndItems (java.io.File, java.io.File, com.android.utils.ILogger) throws java.io.IOException
java.io.File x0
java.io.File x1
com.android.utils.ILogger x2
protected volatile com.android.ide.common.res2.DataFile createFileAndItems (java.io.File, org.w3c.dom.Node)
java.io.File x0
org.w3c.dom.Node x1
}
com/android/ide/common/res2/SourceSet.classSourceSet.java
package com.android.ide.common.res2
public abstract com.android.ide.common.res2.SourceSet extends java.lang.Object {
public abstract java.util.List getSourceFiles ()
public abstract java.io.File findMatchingSourceFile (java.io.File)
}
com/android/ide/common/res2/ValueResourceParser2.classValueResourceParser2.java
package com.android.ide.common.res2
com.android.ide.common.res2.ValueResourceParser2 extends java.lang.Object {
private final java.io.File mFile
void (java.io.File)
java.io.File file
java.util.List parseFile () throws java.io.IOException
org.w3c.dom.Node node
com.android.ide.common.res2.ResourceItem resource
int i
int n
org.w3c.dom.Document document
org.w3c.dom.Node rootNode
org.w3c.dom.NodeList nodes
java.util.List resources
static com.android.ide.common.res2.ResourceItem getResource (org.w3c.dom.Node)
org.w3c.dom.Node node
com.android.resources.ResourceType type
String name
static com.android.resources.ResourceType getType (org.w3c.dom.Node)
org.w3c.dom.Attr attribute
org.w3c.dom.Node node
String nodeName
String typeString
static java.lang.String getName (org.w3c.dom.Node)
org.w3c.dom.Node node
org.w3c.dom.Attr attribute
static org.w3c.dom.Document parseDocument (java.io.File) throws java.io.IOException
javax.xml.parsers.DocumentBuilder builder
javax.xml.parsers.ParserConfigurationException e
org.xml.sax.SAXException e
java.io.File file
javax.xml.parsers.DocumentBuilderFactory factory
java.io.BufferedInputStream stream
org.xml.sax.InputSource is
}
com/android/ide/common/res2/ValueXmlHelper.classValueXmlHelper.java
package com.android.ide.common.res2
public com.android.ide.common.res2.ValueXmlHelper extends java.lang.Object {
public void ()
public static java.lang.String unescapeResourceString (java.lang.String, boolean, boolean)
char c
char c
char c
char c
char c
char c
int quoteStart
int quoteEnd
int unicodeValue
NumberFormatException e
String hex
char next
char c
String s
boolean escapeEntities
boolean trim
int i
int n
StringBuilder sb
static boolean isEscaped (java.lang.String, int)
String s
int index
int prevPos
char prev
int j
public static java.lang.String escapeResourceString (java.lang.String)
char c
int i
String s
int n
StringBuilder sb
boolean hasSpace
}
com/android/ide/common/resources/
com/android/ide/common/resources/FrameworkResourceItem.classFrameworkResourceItem.java
package com.android.ide.common.resources
com.android.ide.common.resources.FrameworkResourceItem extends com.android.ide.common.resources.ResourceItem {
void (java.lang.String)
String name
public boolean isEditableDirectly ()
public java.lang.String toString ()
}
com/android/ide/common/resources/FrameworkResources$1.classFrameworkResources.java
package com.android.ide.common.resources
com.android.ide.common.resources.FrameworkResources$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$resources$ResourceType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/resources/FrameworkResources.classFrameworkResources.java
package com.android.ide.common.resources
public com.android.ide.common.resources.FrameworkResources extends com.android.ide.common.resources.ResourceRepository {
protected final java.util.Map mPublicResourceMap
public void (com.android.io.IAbstractFolder)
com.android.io.IAbstractFolder resFolder
public java.util.List getResourceItemsOfType (com.android.resources.ResourceType)
com.android.resources.ResourceType type
public boolean hasResourcesOfType (com.android.resources.ResourceType)
com.android.resources.ResourceType type
protected com.android.ide.common.resources.ResourceItem createResourceItem (java.lang.String)
String name
public void loadPublicResources (com.android.utils.ILogger)
String attribute
int i
int n
int size
java.util.List publicList
com.android.ide.common.resources.ResourceItem match
java.util.Map map
com.android.resources.ResourceType type
String name
String typeName
int event
org.kxml2.io.KXmlParser parser
com.android.resources.ResourceType lastType
String lastTypeName
java.io.IOException e
Exception e
java.io.IOException e
java.io.IOException e
java.io.Reader reader
java.util.List list
com.android.resources.ResourceType type
com.android.resources.ResourceType[] arr$
int len$
int i$
com.android.utils.ILogger logger
com.android.io.IAbstractFolder valueFolder
com.android.io.IAbstractFile publicXmlFile
public volatile java.util.Collection getResourceItemsOfType (com.android.resources.ResourceType)
com.android.resources.ResourceType x0
}
com/android/ide/common/resources/IdGeneratingResourceFile.classIdGeneratingResourceFile.java
package com.android.ide.common.resources
public final com.android.ide.common.resources.IdGeneratingResourceFile extends com.android.ide.common.resources.ResourceFile implements com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository {
private final java.util.Map mIdResources
private final java.util.Collection mResourceTypeList
private final String mFileName
private final com.android.resources.ResourceType mFileType
private final com.android.ide.common.rendering.api.ResourceValue mFileValue
static final boolean $assertionsDisabled
public void (com.android.io.IAbstractFile, com.android.ide.common.resources.ResourceFolder, com.android.resources.ResourceType)
com.android.io.IAbstractFile file
com.android.ide.common.resources.ResourceFolder folder
com.android.resources.ResourceType type
protected void load (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
protected void update (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
java.util.Set oldIdNames
java.util.Set keySet
protected void dispose (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.ResourceRepository repository
public java.util.Collection getResourceTypes ()
public boolean hasResources (com.android.resources.ResourceType)
com.android.resources.ResourceType type
public com.android.ide.common.rendering.api.ResourceValue getValue (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType type
String name
private boolean parseFileForIds (com.android.ide.common.resources.ScanningContext)
com.android.io.IAbstractFile file
java.io.IOException e
com.android.io.StreamException e
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.IdResourceParser parser
private void updateResourceItems (com.android.ide.common.resources.ScanningContext)
String idName
java.util.Iterator i$
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.ResourceRepository repository
com.android.ide.common.resources.ResourceItem item
private com.android.ide.common.rendering.api.ResourceValue getFileValue (com.android.io.IAbstractFile, com.android.ide.common.resources.ResourceFolder)
com.android.ide.common.rendering.api.ResourceValue value
com.android.io.IAbstractFile file
com.android.ide.common.resources.ResourceFolder folder
com.android.ide.common.resources.configuration.DensityQualifier qualifier
com.android.ide.common.rendering.api.ResourceValue value
private java.lang.String getFileName (com.android.resources.ResourceType)
com.android.resources.ResourceType type
String name
int pos
public void addResourceValue (com.android.ide.common.rendering.api.ResourceValue)
com.android.ide.common.rendering.api.ResourceValue value
public boolean hasResourceValue (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType type
String name
static void ()
}
com/android/ide/common/resources/IdResourceParser.classIdResourceParser.java
package com.android.ide.common.resources
public com.android.ide.common.resources.IdResourceParser extends java.lang.Object {
private final com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository mRepository
private final boolean mIsFramework
private com.android.ide.common.resources.ScanningContext mContext
static final boolean $assertionsDisabled
public void (com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository, com.android.ide.common.resources.ScanningContext, boolean)
com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository repository
com.android.ide.common.resources.ScanningContext context
boolean isFramework
public boolean parse (com.android.resources.ResourceType, java.lang.String, java.io.InputStream) throws java.io.IOException
String message
int index
String error
org.xmlpull.v1.XmlPullParserException e
String message
String error
RuntimeException e
com.android.resources.ResourceType type
String path
java.io.InputStream input
org.kxml2.io.KXmlParser parser
private boolean parse (com.android.resources.ResourceType, java.lang.String, org.kxml2.io.KXmlParser) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
String uri
String id
com.android.ide.common.rendering.api.ResourceValue newId
String attribute
String value
int i
int n
int event
com.android.resources.ResourceType type
String path
org.kxml2.io.KXmlParser parser
boolean valid
boolean checkForErrors
static void ()
}
com/android/ide/common/resources/InlineResourceItem.classInlineResourceItem.java
package com.android.ide.common.resources
public com.android.ide.common.resources.InlineResourceItem extends com.android.ide.common.resources.ResourceItem {
private com.android.ide.common.rendering.api.ResourceValue mValue
static final boolean $assertionsDisabled
public void (java.lang.String)
String name
public boolean isDeclaredInline ()
public boolean isEditableDirectly ()
public com.android.ide.common.rendering.api.ResourceValue getResourceValue (com.android.resources.ResourceType, com.android.ide.common.resources.configuration.FolderConfiguration, boolean)
com.android.resources.ResourceType type
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
boolean isFramework
public java.lang.String toString ()
static void ()
}
com/android/ide/common/resources/IntArrayWrapper.classIntArrayWrapper.java
package com.android.ide.common.resources
public final com.android.ide.common.resources.IntArrayWrapper extends java.lang.Object {
private int[] mData
public void (int[])
int[] data
public void set (int[])
int[] data
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
}
com/android/ide/common/resources/LocaleManager.classLocaleManager.java
package com.android.ide.common.resources
public com.android.ide.common.resources.LocaleManager extends java.lang.Object {
private static final com.android.ide.common.resources.LocaleManager sInstance
private static java.util.Map sLanguageToCountry
private static java.util.Map sLanguageNames
private static java.util.Map sRegionNames
static final boolean $assertionsDisabled
public static com.android.ide.common.resources.LocaleManager get ()
private void ()
public static java.lang.String getRegionName (java.lang.String)
String regionCode
public static java.lang.String getLanguageName (java.lang.String)
String languageCode
public static java.util.Set getLanguageCodes ()
public static java.util.Set getRegionCodes ()
public static java.lang.String getLanguageRegion (java.lang.String)
String languageCode
java.util.Locale locale
public static java.util.Map getLanguageToCountryMap ()
public static java.util.Map getLanguageNamesMap ()
public static java.util.Map getRegionNamesMap ()
static void ()
}
com/android/ide/common/resources/MultiResourceFile.classMultiResourceFile.java
package com.android.ide.common.resources
public final com.android.ide.common.resources.MultiResourceFile extends com.android.ide.common.resources.ResourceFile implements com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository {
private static final javax.xml.parsers.SAXParserFactory sParserFactory
private final java.util.Map mResourceItems
private java.util.Collection mResourceTypeList
private boolean mNeedIdRefresh
public void (com.android.io.IAbstractFile, com.android.ide.common.resources.ResourceFolder)
com.android.io.IAbstractFile file
com.android.ide.common.resources.ResourceFolder folder
protected void load (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
protected void update (com.android.ide.common.resources.ScanningContext)
com.android.resources.ResourceType type
java.util.Iterator i$
com.android.ide.common.resources.ScanningContext context
java.util.Map oldResourceItems
protected void dispose (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.ResourceRepository repository
public java.util.Collection getResourceTypes ()
public boolean hasResources (com.android.resources.ResourceType)
com.android.resources.ResourceType type
java.util.Map list
private void updateResourceItems (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ResourceItem item
com.android.ide.common.rendering.api.ResourceValue res
java.util.Iterator i$
java.util.Collection values
java.util.Map list
com.android.resources.ResourceType type
java.util.Iterator i$
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.ResourceRepository repository
private void parseFile ()
javax.xml.parsers.SAXParser parser
javax.xml.parsers.ParserConfigurationException e
org.xml.sax.SAXException e
java.io.IOException e
com.android.io.StreamException e
public void addResourceValue (com.android.ide.common.rendering.api.ResourceValue)
com.android.ide.common.rendering.api.ResourceValue oldValue
com.android.ide.common.rendering.api.ResourceValue value
com.android.resources.ResourceType resType
java.util.Map list
public boolean hasResourceValue (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType type
String name
java.util.Map map
public com.android.ide.common.rendering.api.ResourceValue getValue (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType type
String name
java.util.Map list
static void ()
}
com/android/ide/common/resources/ResourceDeltaKind.classResourceDeltaKind.java
package com.android.ide.common.resources
public final com.android.ide.common.resources.ResourceDeltaKind extends java.lang.Enum {
public static final com.android.ide.common.resources.ResourceDeltaKind CHANGED
public static final com.android.ide.common.resources.ResourceDeltaKind ADDED
public static final com.android.ide.common.resources.ResourceDeltaKind REMOVED
private static final com.android.ide.common.resources.ResourceDeltaKind[] $VALUES
public static com.android.ide.common.resources.ResourceDeltaKind[] values ()
public static com.android.ide.common.resources.ResourceDeltaKind valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ide/common/resources/ResourceFile.classResourceFile.java
package com.android.ide.common.resources
public abstract com.android.ide.common.resources.ResourceFile extends java.lang.Object implements com.android.ide.common.resources.configuration.Configurable {
private final com.android.io.IAbstractFile mFile
private final com.android.ide.common.resources.ResourceFolder mFolder
protected void (com.android.io.IAbstractFile, com.android.ide.common.resources.ResourceFolder)
com.android.io.IAbstractFile file
com.android.ide.common.resources.ResourceFolder folder
protected abstract void load (com.android.ide.common.resources.ScanningContext)
protected abstract void update (com.android.ide.common.resources.ScanningContext)
protected abstract void dispose (com.android.ide.common.resources.ScanningContext)
public com.android.ide.common.resources.configuration.FolderConfiguration getConfiguration ()
public final com.android.io.IAbstractFile getFile ()
public final com.android.ide.common.resources.ResourceFolder getFolder ()
public final com.android.ide.common.resources.ResourceRepository getRepository ()
public final boolean isFramework ()
public abstract java.util.Collection getResourceTypes ()
public abstract boolean hasResources (com.android.resources.ResourceType)
public abstract com.android.ide.common.rendering.api.ResourceValue getValue (com.android.resources.ResourceType, java.lang.String)
public java.lang.String toString ()
}
com/android/ide/common/resources/ResourceFolder$1.classResourceFolder.java
package com.android.ide.common.resources
com.android.ide.common.resources.ResourceFolder$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$resources$ResourceFolderType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/resources/ResourceFolder.classResourceFolder.java
package com.android.ide.common.resources
public final com.android.ide.common.resources.ResourceFolder extends java.lang.Object implements com.android.ide.common.resources.configuration.Configurable {
final com.android.resources.ResourceFolderType mType
final com.android.ide.common.resources.configuration.FolderConfiguration mConfiguration
com.android.io.IAbstractFolder mFolder
java.util.List mFiles
java.util.Map mNames
private final com.android.ide.common.resources.ResourceRepository mRepository
static final boolean $assertionsDisabled
protected void (com.android.resources.ResourceFolderType, com.android.ide.common.resources.configuration.FolderConfiguration, com.android.io.IAbstractFolder, com.android.ide.common.resources.ResourceRepository)
com.android.resources.ResourceFolderType type
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.io.IAbstractFolder folder
com.android.ide.common.resources.ResourceRepository repository
public com.android.ide.common.resources.ResourceFile processFile (com.android.io.IAbstractFile, com.android.ide.common.resources.ResourceDeltaKind, com.android.ide.common.resources.ScanningContext)
com.android.io.IAbstractFile file
com.android.ide.common.resources.ResourceDeltaKind kind
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.ResourceFile resFile
private com.android.ide.common.resources.ResourceFile createResourceFile (com.android.io.IAbstractFile)
com.android.io.IAbstractFile file
java.util.List types
com.android.ide.common.resources.ResourceFile resFile
public void addFile (com.android.ide.common.resources.ResourceFile)
int index
String name
int initialSize
com.android.ide.common.resources.ResourceFile file
protected void removeFile (com.android.ide.common.resources.ResourceFile, com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ResourceFile file
com.android.ide.common.resources.ScanningContext context
protected void dispose (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ResourceFile file
java.util.Iterator i$
com.android.ide.common.resources.ScanningContext context
public com.android.io.IAbstractFolder getFolder ()
public com.android.resources.ResourceFolderType getType ()
public com.android.ide.common.resources.ResourceRepository getRepository ()
public java.util.Collection getResourceTypes ()
com.android.resources.ResourceType resType
java.util.Iterator i$
java.util.Collection types
com.android.ide.common.resources.ResourceFile file
java.util.Iterator i$
java.util.ArrayList list
public com.android.ide.common.resources.configuration.FolderConfiguration getConfiguration ()
public boolean hasFile (java.lang.String)
String name
private com.android.ide.common.resources.ResourceFile getFile (com.android.io.IAbstractFile, com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ResourceFile resFile
com.android.ide.common.resources.ResourceFile resFile
com.android.io.IAbstractFile file
com.android.ide.common.resources.ScanningContext context
public com.android.ide.common.resources.ResourceFile getFile (java.lang.String)
com.android.ide.common.resources.ResourceFile resFile
com.android.ide.common.resources.ResourceFile resFile
String filename
com.android.io.IAbstractFile file
public boolean hasResources (com.android.resources.ResourceType)
com.android.resources.ResourceFolderType rft
java.util.Iterator i$
com.android.ide.common.resources.ResourceFile f
java.util.Iterator i$
com.android.resources.ResourceType type
java.util.List folderTypes
boolean valid
public java.lang.String toString ()
static void ()
}
com/android/ide/common/resources/ResourceItem$1.classResourceItem.java
package com.android.ide.common.resources
final com.android.ide.common.resources.ResourceItem$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (com.android.ide.common.resources.ResourceFile, com.android.ide.common.resources.ResourceFile)
com.android.ide.common.resources.ResourceFile file1
com.android.ide.common.resources.ResourceFile file2
com.android.ide.common.resources.configuration.FolderConfiguration fc1
com.android.ide.common.resources.configuration.FolderConfiguration fc2
public volatile int compare (java.lang.Object, java.lang.Object)
Object x0
Object x1
}
com/android/ide/common/resources/ResourceItem.classResourceItem.java
package com.android.ide.common.resources
public com.android.ide.common.resources.ResourceItem extends java.lang.Object implements java.lang.Comparable {
private static final java.util.Comparator sComparator
private final String mName
private final java.util.List mFiles
public void (java.lang.String)
String name
public final java.lang.String getName ()
public int compareTo (com.android.ide.common.resources.ResourceItem)
com.android.ide.common.resources.ResourceItem other
public boolean isEditableDirectly ()
public boolean isDeclaredInline ()
public com.android.ide.common.rendering.api.ResourceValue getResourceValue (com.android.resources.ResourceType, com.android.ide.common.resources.configuration.FolderConfiguration, boolean)
com.android.resources.ResourceType type
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
boolean isFramework
com.android.ide.common.resources.ResourceFile match
protected void add (com.android.ide.common.resources.ResourceFile)
com.android.ide.common.resources.ResourceFile file
protected void removeFile (com.android.ide.common.resources.ResourceFile)
com.android.ide.common.resources.ResourceFile file
protected boolean hasNoSourceFile ()
protected void reset ()
public com.android.ide.common.resources.ResourceFile[] getSourceFileArray ()
java.util.ArrayList list
public java.util.List getSourceFileList ()
public boolean hasAlternates ()
com.android.ide.common.resources.ResourceFile file
java.util.Iterator i$
public boolean hasDefault ()
com.android.ide.common.resources.ResourceFile file
java.util.Iterator i$
public int getAlternateCount ()
com.android.ide.common.resources.ResourceFile file
java.util.Iterator i$
int count
public java.lang.String getXmlString (com.android.resources.ResourceType, boolean)
com.android.resources.ResourceType type
boolean system
public java.lang.String toString ()
public volatile int compareTo (java.lang.Object)
Object x0
static void ()
}
com/android/ide/common/resources/ResourceRepository$1.classResourceRepository.java
package com.android.ide.common.resources
com.android.ide.common.resources.ResourceRepository$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$resources$ResourceType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/resources/ResourceRepository.classResourceRepository.java
package com.android.ide.common.resources
public abstract com.android.ide.common.resources.ResourceRepository extends java.lang.Object {
private final com.android.io.IAbstractFolder mResourceFolder
protected java.util.Map mFolderMap
protected java.util.Map mResourceMap
private java.util.Map mReadOnlyListMap
private final boolean mFrameworkRepository
private boolean mCleared
private boolean mInitializing
static final boolean $assertionsDisabled
protected void (com.android.io.IAbstractFolder, boolean)
com.android.io.IAbstractFolder resFolder
boolean isFrameworkRepository
public com.android.io.IAbstractFolder getResFolder ()
public boolean isFrameworkRepository ()
public synchronized void clear ()
public synchronized boolean ensureInitialized ()
com.android.io.IAbstractFile file
com.android.io.IAbstractResource fileRes
com.android.io.IAbstractResource[] arr$
int len$
int i$
com.android.io.IAbstractResource[] files
com.android.io.IAbstractFolder folder
com.android.ide.common.resources.ResourceFolder resFolder
com.android.io.IAbstractResource res
com.android.io.IAbstractResource[] arr$
int len$
int i$
com.android.ide.common.resources.ScanningContext context
com.android.io.IAbstractResource[] resources
private com.android.ide.common.resources.ResourceFolder add (com.android.resources.ResourceFolderType, com.android.ide.common.resources.configuration.FolderConfiguration, com.android.io.IAbstractFolder)
com.android.ide.common.resources.ResourceFolder cf
com.android.ide.common.resources.ResourceFolder cFolder
java.util.Iterator i$
com.android.resources.ResourceFolderType type
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.io.IAbstractFolder folder
java.util.List list
com.android.ide.common.resources.ResourceFolder cf
public com.android.ide.common.resources.ResourceFolder removeFolder (com.android.resources.ResourceFolderType, com.android.io.IAbstractFolder, com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ResourceFolder resFolder
com.android.io.IAbstractFolder folder
int i
int count
com.android.resources.ResourceFolderType type
com.android.io.IAbstractFolder removedFolder
com.android.ide.common.resources.ScanningContext context
java.util.List list
public boolean hasResourceItem (java.lang.String)
int slash
String remainder
int colon
String name
int nameBegin
int typeBegin
int colon
String typeName
com.android.resources.ResourceType type
String url
int typeEnd
public boolean hasResourceItem (com.android.resources.ResourceType, java.lang.String)
com.android.ide.common.resources.ResourceItem resourceItem
com.android.resources.ResourceType type
String name
java.util.Map map
public com.android.ide.common.resources.ResourceItem getResourceItem (com.android.resources.ResourceType, java.lang.String)
int size
com.android.ide.common.resources.ResourceItem oldItem
java.util.Map map
com.android.resources.ResourceType type
String name
com.android.ide.common.resources.ResourceItem item
protected abstract com.android.ide.common.resources.ResourceItem createResourceItem (java.lang.String)
public com.android.ide.common.resources.ResourceFolder processFolder (com.android.io.IAbstractFolder)
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.io.IAbstractFolder folder
String[] folderSegments
com.android.resources.ResourceFolderType type
public java.util.List getFolders (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType type
public java.util.List getAvailableResourceTypes ()
com.android.resources.ResourceType folderResType
java.util.Iterator i$
java.util.Collection folderContent
com.android.ide.common.resources.ResourceFolder folder
java.util.Iterator i$
java.util.List folders
java.util.List types
com.android.resources.ResourceFolderType folderType
java.util.Iterator i$
java.util.List list
public java.util.Collection getResourceItemsOfType (com.android.resources.ResourceType)
com.android.resources.ResourceType type
java.util.Map map
java.util.Collection roList
public boolean hasResourcesOfType (com.android.resources.ResourceType)
com.android.resources.ResourceType type
java.util.Map items
public com.android.ide.common.resources.ResourceFolder getResourceFolder (com.android.io.IAbstractFolder)
com.android.io.IAbstractFolder wrapper
com.android.ide.common.resources.ResourceFolder resFolder
java.util.Iterator i$
java.util.List list
java.util.Iterator i$
com.android.io.IAbstractFolder folder
java.util.Collection values
public com.android.ide.common.resources.ResourceFile getMatchingFile (java.lang.String, com.android.resources.ResourceFolderType, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.ResourceFile match
com.android.resources.ResourceType t
java.util.Iterator i$
String name
com.android.resources.ResourceFolderType type
com.android.ide.common.resources.configuration.FolderConfiguration config
java.util.List types
public com.android.ide.common.resources.ResourceFile getMatchingFile (java.lang.String, com.android.resources.ResourceType, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.ResourceFile f
java.util.Iterator i$
com.android.ide.common.resources.ResourceFile f
java.io.File file
com.android.utils.Pair pair
String v
com.android.ide.common.rendering.api.ResourceValue value
com.android.ide.common.resources.ResourceFile matchingFile
java.util.List files
com.android.ide.common.resources.ResourceItem item
String name
com.android.resources.ResourceType type
com.android.ide.common.resources.configuration.FolderConfiguration config
String resourceName
int dot
java.util.Map items
protected com.android.ide.common.resources.ResourceFile findResourceFile (java.io.File)
com.android.resources.ResourceFolderType folderType
com.android.ide.common.resources.configuration.FolderConfiguration configForFolder
com.android.ide.common.resources.ResourceFile resourceFile
com.android.ide.common.resources.ResourceFolder resourceFolder
java.io.File file
String parentName
com.android.io.IAbstractFolder folder
public java.util.List getSourceFiles (com.android.resources.ResourceType, java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.Configurable match
com.android.ide.common.resources.ResourceItem item
java.util.Iterator i$
com.android.resources.ResourceType type
String name
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
java.util.Collection items
public java.util.Map getConfiguredResources (com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
protected final java.util.Map doGetConfiguredResources (com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.resources.ResourceType key
com.android.resources.ResourceType[] arr$
int len$
int i$
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
java.util.Map map
public java.util.SortedSet getLanguages ()
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.LanguageQualifier lang
com.android.ide.common.resources.ResourceFolder folder
java.util.Iterator i$
java.util.List folderSubList
java.util.Iterator i$
java.util.SortedSet set
java.util.Collection folderList
public java.util.SortedSet getRegions (java.lang.String)
com.android.ide.common.resources.configuration.RegionQualifier region
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.LanguageQualifier lang
com.android.ide.common.resources.ResourceFolder folder
java.util.Iterator i$
java.util.List folderSubList
java.util.Iterator i$
String currentLanguage
java.util.SortedSet set
java.util.Collection folderList
public void loadResources ()
protected void removeFile (java.util.Collection, com.android.ide.common.resources.ResourceFile)
com.android.resources.ResourceType type
java.util.Iterator i$
java.util.Collection types
com.android.ide.common.resources.ResourceFile file
protected void removeFile (com.android.resources.ResourceType, com.android.ide.common.resources.ResourceFile)
com.android.ide.common.resources.ResourceItem item
java.util.Iterator i$
com.android.ide.common.resources.ResourceItem item
java.util.Iterator i$
java.util.Collection values
java.util.List toDelete
com.android.resources.ResourceType type
com.android.ide.common.resources.ResourceFile file
java.util.Map map
private java.util.Map getConfiguredResource (com.android.resources.ResourceType, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.rendering.api.ResourceValue value
com.android.ide.common.resources.ResourceItem item
java.util.Iterator i$
com.android.resources.ResourceType type
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
java.util.Map items
java.util.HashMap map
public void postUpdateCleanUp ()
String name
com.android.ide.common.resources.ResourceItem resourceItem
java.util.Set keySet
java.util.Iterator iterator
java.util.Map map
java.util.Iterator i$
java.util.Collection maps
private com.android.ide.common.resources.ResourceItem findDeclaredResourceItem (com.android.resources.ResourceType, java.lang.String)
com.android.ide.common.resources.ResourceItem resourceItem
com.android.resources.ResourceType type
String name
java.util.Map map
public static com.android.utils.Pair parseResource (java.lang.String)
int slash
String remainder
int colon
String url
int typeEnd
int nameBegin
int typeBegin
int colon
String typeName
com.android.resources.ResourceType type
String name
static void ()
}
com/android/ide/common/resources/ResourceResolver.classResourceResolver.java
package com.android.ide.common.resources
public com.android.ide.common.resources.ResourceResolver extends com.android.ide.common.rendering.api.RenderResources {
private final java.util.Map mProjectResources
private final java.util.Map mFrameworkResources
private final java.util.Map mStyleInheritanceMap
private com.android.ide.common.rendering.api.StyleResourceValue mTheme
private com.android.ide.common.rendering.api.RenderResources$FrameworkResourceIdProvider mFrameworkProvider
private com.android.ide.common.rendering.api.LayoutLog mLogger
private String mThemeName
private boolean mIsProjectTheme
private void (java.util.Map, java.util.Map)
java.util.Map projectResources
java.util.Map frameworkResources
public static com.android.ide.common.resources.ResourceResolver create (java.util.Map, java.util.Map, java.lang.String, boolean)
java.util.Map projectResources
java.util.Map frameworkResources
String themeName
boolean isProjectTheme
com.android.ide.common.resources.ResourceResolver resolver
public java.lang.String getThemeName ()
public boolean isProjectTheme ()
public java.util.Map getProjectResources ()
public java.util.Map getFrameworkResources ()
public void setFrameworkResourceIdProvider (com.android.ide.common.rendering.api.RenderResources$FrameworkResourceIdProvider)
com.android.ide.common.rendering.api.RenderResources$FrameworkResourceIdProvider provider
public void setLogger (com.android.ide.common.rendering.api.LayoutLog)
com.android.ide.common.rendering.api.LayoutLog logger
public com.android.ide.common.rendering.api.StyleResourceValue getCurrentTheme ()
public com.android.ide.common.rendering.api.StyleResourceValue getTheme (java.lang.String, boolean)
java.util.Map frameworkStyleMap
java.util.Map projectStyleMap
String name
boolean frameworkTheme
com.android.ide.common.rendering.api.ResourceValue theme
public boolean themeIsParentOf (com.android.ide.common.rendering.api.StyleResourceValue, com.android.ide.common.rendering.api.StyleResourceValue)
com.android.ide.common.rendering.api.StyleResourceValue parentTheme
com.android.ide.common.rendering.api.StyleResourceValue childTheme
public com.android.ide.common.rendering.api.ResourceValue getFrameworkResource (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType resourceType
String resourceName
public com.android.ide.common.rendering.api.ResourceValue getProjectResource (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType resourceType
String resourceName
public com.android.ide.common.rendering.api.ResourceValue findItemInStyle (com.android.ide.common.rendering.api.StyleResourceValue, java.lang.String)
com.android.ide.common.rendering.api.StyleResourceValue style
String attrName
com.android.ide.common.rendering.api.ResourceValue item
public com.android.ide.common.rendering.api.ResourceValue findItemInStyle (com.android.ide.common.rendering.api.StyleResourceValue, java.lang.String, boolean)
com.android.ide.common.rendering.api.StyleResourceValue parentStyle
com.android.ide.common.rendering.api.StyleResourceValue style
String itemName
boolean isFrameworkAttr
com.android.ide.common.rendering.api.ResourceValue item
public com.android.ide.common.rendering.api.ResourceValue findResValue (java.lang.String, boolean)
char c
int i
int n
boolean frameworkOnly
String originalReference
String[] segments
String referenceName
com.android.ide.common.rendering.api.ResourceValue item
char c
int i
int n
boolean frameworkOnly
String[] segments
String referenceName
com.android.resources.ResourceType type
String reference
boolean forceFrameworkOnly
public com.android.ide.common.rendering.api.ResourceValue resolveValue (com.android.resources.ResourceType, java.lang.String, java.lang.String, boolean)
com.android.resources.ResourceType type
String name
String value
boolean isFrameworkValue
com.android.ide.common.rendering.api.ResourceValue resValue
public com.android.ide.common.rendering.api.ResourceValue resolveResValue (com.android.ide.common.rendering.api.ResourceValue)
com.android.ide.common.rendering.api.ResourceValue resValue
String value
com.android.ide.common.rendering.api.ResourceValue resolvedResValue
private com.android.ide.common.rendering.api.ResourceValue findResValue (com.android.resources.ResourceType, java.lang.String, boolean)
com.android.ide.common.rendering.api.ResourceValue item
java.util.Map typeMap
com.android.resources.ResourceType resType
String resName
boolean frameworkOnly
java.util.Map typeMap
com.android.ide.common.rendering.api.ResourceValue item
private com.android.ide.common.rendering.api.ResourceValue getResource (com.android.resources.ResourceType, java.lang.String, java.util.Map)
com.android.ide.common.rendering.api.ResourceValue item
com.android.resources.ResourceType resourceType
String resourceName
java.util.Map resourceRepository
java.util.Map typeMap
private void computeStyleMaps (java.lang.String, boolean)
String themeName
boolean isProjectTheme
java.util.Map projectStyleMap
java.util.Map frameworkStyleMap
com.android.ide.common.rendering.api.ResourceValue theme
private void computeStyleInheritance (java.util.Collection, java.util.Map, java.util.Map)
com.android.ide.common.rendering.api.StyleResourceValue style
com.android.ide.common.rendering.api.StyleResourceValue parentStyle
String parentName
com.android.ide.common.rendering.api.ResourceValue value
java.util.Iterator i$
java.util.Collection styles
java.util.Map inProjectStyleMap
java.util.Map inFrameworkStyleMap
private java.lang.String getParentName (java.lang.String)
String styleName
int index
private com.android.ide.common.rendering.api.StyleResourceValue getStyle (java.lang.String, java.util.Map, java.util.Map)
String parentName
java.util.Map inProjectStyleMap
java.util.Map inFrameworkStyleMap
boolean frameworkOnly
String name
com.android.ide.common.rendering.api.ResourceValue parent
}
com/android/ide/common/resources/ScanningContext.classScanningContext.java
package com.android.ide.common.resources
public com.android.ide.common.resources.ScanningContext extends java.lang.Object {
protected final com.android.ide.common.resources.ResourceRepository mRepository
private boolean mNeedsFullAapt
private java.util.List mErrors
public void (com.android.ide.common.resources.ResourceRepository)
com.android.ide.common.resources.ResourceRepository repository
public java.util.List getErrors ()
public void addError (java.lang.String)
String error
public com.android.ide.common.resources.ResourceRepository getRepository ()
protected void requestFullAapt ()
public boolean needsFullAapt ()
public boolean checkValue (java.lang.String, java.lang.String, java.lang.String)
String uri
String name
String value
}
com/android/ide/common/resources/SingleResourceFile.classSingleResourceFile.java
package com.android.ide.common.resources
public com.android.ide.common.resources.SingleResourceFile extends com.android.ide.common.resources.ResourceFile {
private static final javax.xml.parsers.SAXParserFactory sParserFactory
private final String mResourceName
private final com.android.resources.ResourceType mType
private com.android.ide.common.rendering.api.ResourceValue mValue
public void (com.android.io.IAbstractFile, com.android.ide.common.resources.ResourceFolder)
com.android.io.IAbstractFile file
com.android.ide.common.resources.ResourceFolder folder
java.util.List types
com.android.ide.common.resources.configuration.DensityQualifier qualifier
protected void load (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
com.android.ide.common.resources.ResourceItem item
protected void update (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
protected void dispose (com.android.ide.common.resources.ScanningContext)
com.android.ide.common.resources.ScanningContext context
public java.util.Collection getResourceTypes ()
public boolean hasResources (com.android.resources.ResourceType)
com.android.resources.ResourceType type
public com.android.ide.common.rendering.api.ResourceValue getValue (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType type
String name
private java.lang.String getResourceName (com.android.resources.ResourceType)
com.android.resources.ResourceType type
String name
int pos
private boolean validateAttributes (com.android.ide.common.resources.ScanningContext)
com.android.io.IAbstractFile file
Exception e
com.android.ide.common.resources.ValidatingResourceParser parser
com.android.ide.common.resources.ScanningContext context
static void ()
}
com/android/ide/common/resources/ValidatingResourceParser.classValidatingResourceParser.java
package com.android.ide.common.resources
public com.android.ide.common.resources.ValidatingResourceParser extends java.lang.Object {
private final boolean mIsFramework
private com.android.ide.common.resources.ScanningContext mContext
static final boolean $assertionsDisabled
public void (com.android.ide.common.resources.ScanningContext, boolean)
com.android.ide.common.resources.ScanningContext context
boolean isFramework
public boolean parse (java.lang.String, java.io.InputStream) throws java.io.IOException
String message
int index
String error
org.xmlpull.v1.XmlPullParserException e
String message
String error
RuntimeException e
String path
java.io.InputStream input
org.kxml2.io.KXmlParser parser
private boolean parse (java.lang.String, org.kxml2.io.KXmlParser) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
String uri
String attribute
String value
int i
int n
int event
String path
org.kxml2.io.KXmlParser parser
boolean checkForErrors
static void ()
}
com/android/ide/common/resources/ValueResourceParser$1.classValueResourceParser.java
package com.android.ide.common.resources
com.android.ide.common.resources.ValueResourceParser$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$resources$ResourceType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/resources/ValueResourceParser$IValueResourceRepository.classValueResourceParser.java
package com.android.ide.common.resources
public abstract com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository extends java.lang.Object {
public abstract void addResourceValue (com.android.ide.common.rendering.api.ResourceValue)
public abstract boolean hasResourceValue (com.android.resources.ResourceType, java.lang.String)
}
com/android/ide/common/resources/ValueResourceParser.classValueResourceParser.java
package com.android.ide.common.resources
public final com.android.ide.common.resources.ValueResourceParser extends org.xml.sax.helpers.DefaultHandler {
private static final String NODE_RESOURCES
private static final String NODE_ITEM
private static final String ATTR_NAME
private static final String ATTR_TYPE
private static final String ATTR_PARENT
private static final String ATTR_VALUE
private static final String DEFAULT_NS_PREFIX
private static final int DEFAULT_NS_PREFIX_LEN
private boolean inResources
private int mDepth
private com.android.ide.common.rendering.api.ResourceValue mCurrentValue
private com.android.ide.common.rendering.api.StyleResourceValue mCurrentStyle
private com.android.ide.common.rendering.api.DeclareStyleableResourceValue mCurrentDeclareStyleable
private com.android.ide.common.rendering.api.AttrResourceValue mCurrentAttr
private com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository mRepository
private final boolean mIsFramework
public void (com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository, boolean)
com.android.ide.common.resources.ValueResourceParser$IValueResourceRepository repository
boolean isFramework
public void endElement (java.lang.String, java.lang.String, java.lang.String) throws org.xml.sax.SAXException
String uri
String localName
String qName
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
String parent
String name
com.android.resources.ResourceType type
boolean isFrameworkAttr
boolean isFramework
NumberFormatException e
String value
String name
NumberFormatException e
String name
String value
String uri
String localName
String qName
org.xml.sax.Attributes attributes
private com.android.resources.ResourceType getType (java.lang.String, org.xml.sax.Attributes)
String typeValue
String qName
org.xml.sax.Attributes attributes
String typeValue
com.android.resources.ResourceType type
public void characters (char[], int, int) throws org.xml.sax.SAXException
String value
char[] ch
int start
int length
static void ()
}
com/android/ide/common/resources/configuration/
com/android/ide/common/resources/configuration/Configurable.classConfigurable.java
package com.android.ide.common.resources.configuration
public abstract com.android.ide.common.resources.configuration.Configurable extends java.lang.Object {
public abstract com.android.ide.common.resources.configuration.FolderConfiguration getConfiguration ()
}
com/android/ide/common/resources/configuration/CountryCodeQualifier.classCountryCodeQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.CountryCodeQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
private static final int DEFAULT_CODE
private static final java.util.regex.Pattern sCountryCodePattern
private final int mCode
public static final String NAME
public static com.android.ide.common.resources.configuration.CountryCodeQualifier getQualifier (java.lang.String)
NumberFormatException e
String v
int code
com.android.ide.common.resources.configuration.CountryCodeQualifier qualifier
String segment
java.util.regex.Matcher m
public static java.lang.String getFolderSegment (int)
int code
public void ()
public void (int)
int code
public int getCode ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean isValid ()
public boolean hasFakeValue ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.CountryCodeQualifier qualifier
public boolean equals (java.lang.Object)
Object qualifier
public int hashCode ()
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
static void ()
}
com/android/ide/common/resources/configuration/DensityQualifier.classDensityQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.DensityQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
private static final java.util.regex.Pattern sDensityLegacyPattern
public static final String NAME
private com.android.resources.Density mValue
public void ()
public void (com.android.resources.Density)
com.android.resources.Density value
public com.android.resources.Density getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
NumberFormatException e
String v
java.util.regex.Matcher m
com.android.ide.common.resources.configuration.DensityQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.Density density
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.DensityQualifier compareQ
com.android.ide.common.resources.configuration.DensityQualifier referenceQ
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
static void ()
}
com/android/ide/common/resources/configuration/DeviceConfigHelper.classDeviceConfigHelper.java
package com.android.ide.common.resources.configuration
public com.android.ide.common.resources.configuration.DeviceConfigHelper extends java.lang.Object {
public void ()
public static com.android.ide.common.resources.configuration.FolderConfiguration getFolderConfig (com.android.sdklib.devices.State)
com.android.ide.common.resources.configuration.ScreenDimensionQualifier sdq
com.android.sdklib.devices.State state
com.android.sdklib.devices.Hardware hw
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.sdklib.devices.Screen screen
com.android.ide.common.resources.configuration.ScreenDimensionQualifier sdq
public static com.android.ide.common.resources.configuration.FolderConfiguration getFolderConfig (com.android.sdklib.devices.Device, java.lang.String)
com.android.sdklib.devices.Device d
String stateName
public static com.android.ide.common.resources.configuration.FolderConfiguration getFolderConfig (com.android.sdklib.devices.Device)
com.android.sdklib.devices.Device d
}
com/android/ide/common/resources/configuration/EnumBasedResourceQualifier.classEnumBasedResourceQualifier.java
package com.android.ide.common.resources.configuration
abstract com.android.ide.common.resources.configuration.EnumBasedResourceQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
void ()
abstract com.android.resources.ResourceEnum getEnumValue ()
public boolean isValid ()
public boolean hasFakeValue ()
com.android.resources.ResourceEnum value
public boolean equals (java.lang.Object)
Object qualifier
public int hashCode ()
com.android.resources.ResourceEnum value
public final java.lang.String getFolderSegment ()
com.android.resources.ResourceEnum value
public java.lang.String getShortDisplayValue ()
com.android.resources.ResourceEnum value
public java.lang.String getLongDisplayValue ()
com.android.resources.ResourceEnum value
}
com/android/ide/common/resources/configuration/FolderConfiguration$1.classFolderConfiguration.java
package com.android.ide.common.resources.configuration
com.android.ide.common.resources.configuration.FolderConfiguration$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$resources$ScreenOrientation
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/resources/configuration/FolderConfiguration.classFolderConfiguration.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.FolderConfiguration extends java.lang.Object implements java.lang.Comparable {
private static final com.android.ide.common.resources.configuration.ResourceQualifier[] DEFAULT_QUALIFIERS
private final com.android.ide.common.resources.configuration.ResourceQualifier[] mQualifiers
private static final int INDEX_COUNTRY_CODE
private static final int INDEX_NETWORK_CODE
private static final int INDEX_LANGUAGE
private static final int INDEX_REGION
private static final int INDEX_LAYOUTDIR
private static final int INDEX_SMALLEST_SCREEN_WIDTH
private static final int INDEX_SCREEN_WIDTH
private static final int INDEX_SCREEN_HEIGHT
private static final int INDEX_SCREEN_LAYOUT_SIZE
private static final int INDEX_SCREEN_RATIO
private static final int INDEX_SCREEN_ORIENTATION
private static final int INDEX_UI_MODE
private static final int INDEX_NIGHT_MODE
private static final int INDEX_PIXEL_DENSITY
private static final int INDEX_TOUCH_TYPE
private static final int INDEX_KEYBOARD_STATE
private static final int INDEX_TEXT_INPUT_METHOD
private static final int INDEX_NAVIGATION_STATE
private static final int INDEX_NAVIGATION_METHOD
private static final int INDEX_SCREEN_DIMENSION
private static final int INDEX_VERSION
private static final int INDEX_COUNT
public void ()
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfig (java.lang.String[])
String[] folderSegments
java.util.Iterator iterator
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfig (java.lang.Iterable)
Iterable folderSegments
java.util.Iterator iterator
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfigFromQualifiers (java.lang.Iterable)
Iterable qualifiers
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfigFromQualifiers (java.util.Iterator)
String seg
java.util.Iterator qualifiers
com.android.ide.common.resources.configuration.FolderConfiguration config
int qualifierIndex
int qualifierCount
public static com.android.ide.common.resources.configuration.FolderConfiguration getConfigForFolder (java.lang.String)
String folderName
public static int getQualifierCount ()
public void set (com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.FolderConfiguration config
public void set (com.android.ide.common.resources.configuration.FolderConfiguration, boolean)
com.android.ide.common.resources.configuration.ResourceQualifier q
int i
com.android.ide.common.resources.configuration.FolderConfiguration config
boolean nonFakeValuesOnly
public void reset ()
int i
public void substract (com.android.ide.common.resources.configuration.FolderConfiguration)
int i
com.android.ide.common.resources.configuration.FolderConfiguration config
public void add (com.android.ide.common.resources.configuration.FolderConfiguration)
int i
com.android.ide.common.resources.configuration.FolderConfiguration config
public com.android.ide.common.resources.configuration.ResourceQualifier getInvalidQualifier ()
int i
public boolean checkRegion ()
public void addQualifier (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public void removeQualifier (com.android.ide.common.resources.configuration.ResourceQualifier)
int i
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public com.android.ide.common.resources.configuration.ResourceQualifier getQualifier (int)
int index
public void setCountryCodeQualifier (com.android.ide.common.resources.configuration.CountryCodeQualifier)
com.android.ide.common.resources.configuration.CountryCodeQualifier qualifier
public com.android.ide.common.resources.configuration.CountryCodeQualifier getCountryCodeQualifier ()
public void setNetworkCodeQualifier (com.android.ide.common.resources.configuration.NetworkCodeQualifier)
com.android.ide.common.resources.configuration.NetworkCodeQualifier qualifier
public com.android.ide.common.resources.configuration.NetworkCodeQualifier getNetworkCodeQualifier ()
public void setLanguageQualifier (com.android.ide.common.resources.configuration.LanguageQualifier)
com.android.ide.common.resources.configuration.LanguageQualifier qualifier
public com.android.ide.common.resources.configuration.LanguageQualifier getLanguageQualifier ()
public void setRegionQualifier (com.android.ide.common.resources.configuration.RegionQualifier)
com.android.ide.common.resources.configuration.RegionQualifier qualifier
public com.android.ide.common.resources.configuration.RegionQualifier getRegionQualifier ()
public void setLayoutDirectionQualifier (com.android.ide.common.resources.configuration.LayoutDirectionQualifier)
com.android.ide.common.resources.configuration.LayoutDirectionQualifier qualifier
public com.android.ide.common.resources.configuration.LayoutDirectionQualifier getLayoutDirectionQualifier ()
public void setSmallestScreenWidthQualifier (com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier)
com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier qualifier
public com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier getSmallestScreenWidthQualifier ()
public void setScreenWidthQualifier (com.android.ide.common.resources.configuration.ScreenWidthQualifier)
com.android.ide.common.resources.configuration.ScreenWidthQualifier qualifier
public com.android.ide.common.resources.configuration.ScreenWidthQualifier getScreenWidthQualifier ()
public void setScreenHeightQualifier (com.android.ide.common.resources.configuration.ScreenHeightQualifier)
com.android.ide.common.resources.configuration.ScreenHeightQualifier qualifier
public com.android.ide.common.resources.configuration.ScreenHeightQualifier getScreenHeightQualifier ()
public void setScreenSizeQualifier (com.android.ide.common.resources.configuration.ScreenSizeQualifier)
com.android.ide.common.resources.configuration.ScreenSizeQualifier qualifier
public com.android.ide.common.resources.configuration.ScreenSizeQualifier getScreenSizeQualifier ()
public void setScreenRatioQualifier (com.android.ide.common.resources.configuration.ScreenRatioQualifier)
com.android.ide.common.resources.configuration.ScreenRatioQualifier qualifier
public com.android.ide.common.resources.configuration.ScreenRatioQualifier getScreenRatioQualifier ()
public void setScreenOrientationQualifier (com.android.ide.common.resources.configuration.ScreenOrientationQualifier)
com.android.ide.common.resources.configuration.ScreenOrientationQualifier qualifier
public com.android.ide.common.resources.configuration.ScreenOrientationQualifier getScreenOrientationQualifier ()
public void setUiModeQualifier (com.android.ide.common.resources.configuration.UiModeQualifier)
com.android.ide.common.resources.configuration.UiModeQualifier qualifier
public com.android.ide.common.resources.configuration.UiModeQualifier getUiModeQualifier ()
public void setNightModeQualifier (com.android.ide.common.resources.configuration.NightModeQualifier)
com.android.ide.common.resources.configuration.NightModeQualifier qualifier
public com.android.ide.common.resources.configuration.NightModeQualifier getNightModeQualifier ()
public void setDensityQualifier (com.android.ide.common.resources.configuration.DensityQualifier)
com.android.ide.common.resources.configuration.DensityQualifier qualifier
public com.android.ide.common.resources.configuration.DensityQualifier getDensityQualifier ()
public void setTouchTypeQualifier (com.android.ide.common.resources.configuration.TouchScreenQualifier)
com.android.ide.common.resources.configuration.TouchScreenQualifier qualifier
public com.android.ide.common.resources.configuration.TouchScreenQualifier getTouchTypeQualifier ()
public void setKeyboardStateQualifier (com.android.ide.common.resources.configuration.KeyboardStateQualifier)
com.android.ide.common.resources.configuration.KeyboardStateQualifier qualifier
public com.android.ide.common.resources.configuration.KeyboardStateQualifier getKeyboardStateQualifier ()
public void setTextInputMethodQualifier (com.android.ide.common.resources.configuration.TextInputMethodQualifier)
com.android.ide.common.resources.configuration.TextInputMethodQualifier qualifier
public com.android.ide.common.resources.configuration.TextInputMethodQualifier getTextInputMethodQualifier ()
public void setNavigationStateQualifier (com.android.ide.common.resources.configuration.NavigationStateQualifier)
com.android.ide.common.resources.configuration.NavigationStateQualifier qualifier
public com.android.ide.common.resources.configuration.NavigationStateQualifier getNavigationStateQualifier ()
public void setNavigationMethodQualifier (com.android.ide.common.resources.configuration.NavigationMethodQualifier)
com.android.ide.common.resources.configuration.NavigationMethodQualifier qualifier
public com.android.ide.common.resources.configuration.NavigationMethodQualifier getNavigationMethodQualifier ()
public void setScreenDimensionQualifier (com.android.ide.common.resources.configuration.ScreenDimensionQualifier)
com.android.ide.common.resources.configuration.ScreenDimensionQualifier qualifier
public com.android.ide.common.resources.configuration.ScreenDimensionQualifier getScreenDimensionQualifier ()
public void setVersionQualifier (com.android.ide.common.resources.configuration.VersionQualifier)
com.android.ide.common.resources.configuration.VersionQualifier qualifier
public com.android.ide.common.resources.configuration.VersionQualifier getVersionQualifier ()
public void updateScreenWidthAndHeight ()
int a
com.android.resources.Density density
com.android.resources.ScreenOrientation orientation
int size1
int size2
int dp1
int dp2
com.android.ide.common.resources.configuration.ResourceQualifier sizeQ
com.android.ide.common.resources.configuration.ResourceQualifier densityQ
com.android.ide.common.resources.configuration.ResourceQualifier orientQ
public boolean equals (java.lang.Object)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
com.android.ide.common.resources.configuration.ResourceQualifier fcQualifier
int i
com.android.ide.common.resources.configuration.FolderConfiguration fc
Object obj
public int hashCode ()
public boolean isDefault ()
com.android.ide.common.resources.configuration.ResourceQualifier irq
com.android.ide.common.resources.configuration.ResourceQualifier[] arr$
int len$
int i$
public java.lang.String getFolderName (com.android.resources.ResourceFolderType)
String segment
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
com.android.ide.common.resources.configuration.ResourceQualifier[] arr$
int len$
int i$
com.android.resources.ResourceFolderType folder
StringBuilder result
public java.lang.String toString ()
public java.lang.String toDisplayString ()
String language
String region
StringBuilder result
int index
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public int compareTo (com.android.ide.common.resources.configuration.FolderConfiguration)
int result
com.android.ide.common.resources.configuration.ResourceQualifier qualifier1
com.android.ide.common.resources.configuration.ResourceQualifier qualifier2
int i
com.android.ide.common.resources.configuration.FolderConfiguration folderConfig
public com.android.ide.common.resources.configuration.Configurable findMatchingConfigurable (java.util.List)
com.android.ide.common.resources.configuration.Configurable res
java.util.Iterator i$
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
com.android.ide.common.resources.configuration.Configurable configurable
java.util.Iterator i$
com.android.ide.common.resources.configuration.Configurable configurable
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
int i
com.android.ide.common.resources.configuration.ResourceQualifier referenceQualifier
boolean found
com.android.ide.common.resources.configuration.ResourceQualifier bestMatch
int q
java.util.List configurables
java.util.ArrayList matchingConfigurables
int count
public boolean isMatchFor (com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.ResourceQualifier testQualifier
com.android.ide.common.resources.configuration.ResourceQualifier referenceQualifier
int i
com.android.ide.common.resources.configuration.FolderConfiguration referenceConfig
public int getHighestPriorityQualifier (int)
int i
int startIndex
public void createDefault ()
public com.android.ide.common.resources.configuration.ResourceQualifier[] getQualifiers ()
int i
int i
int count
com.android.ide.common.resources.configuration.ResourceQualifier[] array
int index
public volatile int compareTo (java.lang.Object)
Object x0
static void ()
com.android.ide.common.resources.configuration.FolderConfiguration defaultConfig
}
com/android/ide/common/resources/configuration/KeyboardStateQualifier.classKeyboardStateQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.KeyboardStateQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.KeyboardState mValue
public void ()
public void (com.android.resources.KeyboardState)
com.android.resources.KeyboardState value
public com.android.resources.KeyboardState getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.KeyboardStateQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.KeyboardState orientation
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.KeyboardStateQualifier referenceQualifier
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.KeyboardStateQualifier compareQualifier
com.android.ide.common.resources.configuration.KeyboardStateQualifier referenceQualifier
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/LanguageQualifier.classLanguageQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.LanguageQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
private static final java.util.regex.Pattern sLanguagePattern
public static final String FAKE_LANG_VALUE
public static final String NAME
private String mValue
public static com.android.ide.common.resources.configuration.LanguageQualifier getQualifier (java.lang.String)
com.android.ide.common.resources.configuration.LanguageQualifier qualifier
String segment
public static java.lang.String getFolderSegment (java.lang.String)
String value
String segment
public void ()
public void (java.lang.String)
String value
public java.lang.String getValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean isValid ()
public boolean hasFakeValue ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.LanguageQualifier qualifier
public boolean equals (java.lang.Object)
Object qualifier
public int hashCode ()
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
static void ()
}
com/android/ide/common/resources/configuration/LayoutDirectionQualifier.classLayoutDirectionQualifier.java
package com.android.ide.common.resources.configuration
public com.android.ide.common.resources.configuration.LayoutDirectionQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.LayoutDirection mValue
public void ()
public void (com.android.resources.LayoutDirection)
com.android.resources.LayoutDirection value
public com.android.resources.LayoutDirection getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.LayoutDirectionQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.LayoutDirection ld
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/NavigationMethodQualifier.classNavigationMethodQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.NavigationMethodQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.Navigation mValue
public void ()
public void (com.android.resources.Navigation)
com.android.resources.Navigation value
public com.android.resources.Navigation getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.NavigationMethodQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.Navigation method
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/NavigationStateQualifier.classNavigationStateQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.NavigationStateQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.NavigationState mValue
public void ()
public void (com.android.resources.NavigationState)
com.android.resources.NavigationState value
public com.android.resources.NavigationState getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.NavigationStateQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.NavigationState state
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/NetworkCodeQualifier.classNetworkCodeQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.NetworkCodeQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
private static final int DEFAULT_CODE
private static final java.util.regex.Pattern sNetworkCodePattern
private final int mCode
public static final String NAME
public static com.android.ide.common.resources.configuration.NetworkCodeQualifier getQualifier (java.lang.String)
NumberFormatException e
String v
int code
com.android.ide.common.resources.configuration.NetworkCodeQualifier qualifier
String segment
java.util.regex.Matcher m
public static java.lang.String getFolderSegment (int)
int code
public void ()
public void (int)
int code
public int getCode ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean isValid ()
public boolean hasFakeValue ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
NumberFormatException e
String v
int code
com.android.ide.common.resources.configuration.NetworkCodeQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
java.util.regex.Matcher m
public boolean equals (java.lang.Object)
Object qualifier
public int hashCode ()
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
static void ()
}
com/android/ide/common/resources/configuration/NightModeQualifier.classNightModeQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.NightModeQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.NightMode mValue
public void ()
public void (com.android.resources.NightMode)
com.android.resources.NightMode value
public com.android.resources.NightMode getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.NightModeQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.NightMode mode
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/RegionQualifier.classRegionQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.RegionQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
private static final java.util.regex.Pattern sRegionPattern
public static final String FAKE_REGION_VALUE
public static final String NAME
private String mValue
public static com.android.ide.common.resources.configuration.RegionQualifier getQualifier (java.lang.String)
com.android.ide.common.resources.configuration.RegionQualifier qualifier
String segment
java.util.regex.Matcher m
public static java.lang.String getFolderSegment (java.lang.String)
String segment
String value
public void ()
public void (java.lang.String)
String value
public java.lang.String getValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean isValid ()
public boolean hasFakeValue ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.RegionQualifier qualifier
public boolean equals (java.lang.Object)
Object qualifier
public int hashCode ()
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
static void ()
}
com/android/ide/common/resources/configuration/ResourceQualifier.classResourceQualifier.java
package com.android.ide.common.resources.configuration
public abstract com.android.ide.common.resources.configuration.ResourceQualifier extends java.lang.Object implements java.lang.Comparable {
public void ()
public abstract java.lang.String getName ()
public abstract java.lang.String getShortName ()
public abstract int since ()
public boolean deprecated ()
public abstract boolean isValid ()
public abstract boolean hasFakeValue ()
public abstract boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
public abstract java.lang.String getFolderSegment ()
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
public java.lang.String toString ()
public abstract java.lang.String getShortDisplayValue ()
public abstract java.lang.String getLongDisplayValue ()
public abstract boolean equals (java.lang.Object)
public abstract int hashCode ()
public final int compareTo (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier o
public volatile int compareTo (java.lang.Object)
Object x0
}
com/android/ide/common/resources/configuration/ScreenDimensionQualifier.classScreenDimensionQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.ScreenDimensionQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
static final int DEFAULT_SIZE
private static final java.util.regex.Pattern sDimensionPattern
public static final String NAME
private int mValue1
private int mValue2
public void ()
public void (int, int)
int value1
int value2
public int getValue1 ()
public int getValue2 ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean deprecated ()
public boolean isValid ()
public boolean hasFakeValue ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String d1
String d2
com.android.ide.common.resources.configuration.ScreenDimensionQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
java.util.regex.Matcher m
public boolean equals (java.lang.Object)
com.android.ide.common.resources.configuration.ScreenDimensionQualifier q
Object qualifier
public int hashCode ()
public static com.android.ide.common.resources.configuration.ScreenDimensionQualifier getQualifier (java.lang.String, java.lang.String)
int s1
int s2
com.android.ide.common.resources.configuration.ScreenDimensionQualifier qualifier
NumberFormatException e
String size1
String size2
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
static void ()
}
com/android/ide/common/resources/configuration/ScreenHeightQualifier.classScreenHeightQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.ScreenHeightQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
static final int DEFAULT_SIZE
private static final java.util.regex.Pattern sParsePattern
private static final String sPrintPattern
public static final String NAME
private int mValue
public void ()
public void (int)
int value
public int getValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean hasFakeValue ()
public boolean isValid ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String v
com.android.ide.common.resources.configuration.ScreenHeightQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
java.util.regex.Matcher m
public static com.android.ide.common.resources.configuration.ScreenHeightQualifier getQualifier (java.lang.String)
int dp
com.android.ide.common.resources.configuration.ScreenHeightQualifier qualifier
NumberFormatException e
String value
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.ScreenHeightQualifier compareQ
com.android.ide.common.resources.configuration.ScreenHeightQualifier referenceQ
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
com.android.ide.common.resources.configuration.ScreenHeightQualifier other
static void ()
}
com/android/ide/common/resources/configuration/ScreenOrientationQualifier.classScreenOrientationQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.ScreenOrientationQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.ScreenOrientation mValue
public void ()
public void (com.android.resources.ScreenOrientation)
com.android.resources.ScreenOrientation value
public com.android.resources.ScreenOrientation getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.ScreenOrientationQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.ScreenOrientation orientation
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/ScreenRatioQualifier.classScreenRatioQualifier.java
package com.android.ide.common.resources.configuration
public com.android.ide.common.resources.configuration.ScreenRatioQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.ScreenRatio mValue
public void ()
public void (com.android.resources.ScreenRatio)
com.android.resources.ScreenRatio value
public com.android.resources.ScreenRatio getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.ScreenRatioQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.ScreenRatio size
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/ScreenSizeQualifier.classScreenSizeQualifier.java
package com.android.ide.common.resources.configuration
public com.android.ide.common.resources.configuration.ScreenSizeQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.ScreenSize mValue
public void ()
public void (com.android.resources.ScreenSize)
com.android.resources.ScreenSize value
public com.android.resources.ScreenSize getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.ScreenSizeQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.ScreenSize size
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/ScreenWidthQualifier.classScreenWidthQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.ScreenWidthQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
static final int DEFAULT_SIZE
private static final java.util.regex.Pattern sParsePattern
private static final String sPrintPattern
public static final String NAME
private int mValue
public void ()
public void (int)
int value
public int getValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean hasFakeValue ()
public boolean isValid ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String v
com.android.ide.common.resources.configuration.ScreenWidthQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
java.util.regex.Matcher m
public static com.android.ide.common.resources.configuration.ScreenWidthQualifier getQualifier (java.lang.String)
int dp
com.android.ide.common.resources.configuration.ScreenWidthQualifier qualifier
NumberFormatException e
String value
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.ScreenWidthQualifier compareQ
com.android.ide.common.resources.configuration.ScreenWidthQualifier referenceQ
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
com.android.ide.common.resources.configuration.ScreenWidthQualifier other
static void ()
}
com/android/ide/common/resources/configuration/SmallestScreenWidthQualifier.classSmallestScreenWidthQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
static final int DEFAULT_SIZE
private static final java.util.regex.Pattern sParsePattern
private static final String sPrintPattern
public static final String NAME
private int mValue
public void ()
public void (int)
int value
public int getValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean hasFakeValue ()
public boolean isValid ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String v
com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
java.util.regex.Matcher m
public static com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier getQualifier (java.lang.String)
int dp
com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier qualifier
NumberFormatException e
String value
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier compareQ
com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier referenceQ
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
com.android.ide.common.resources.configuration.SmallestScreenWidthQualifier other
static void ()
}
com/android/ide/common/resources/configuration/TextInputMethodQualifier.classTextInputMethodQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.TextInputMethodQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.Keyboard mValue
public void ()
public void (com.android.resources.Keyboard)
com.android.resources.Keyboard value
public com.android.resources.Keyboard getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.TextInputMethodQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.Keyboard method
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/TouchScreenQualifier.classTouchScreenQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.TouchScreenQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.TouchScreen mValue
public void ()
public void (com.android.resources.TouchScreen)
com.android.resources.TouchScreen touchValue
public com.android.resources.TouchScreen getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.TouchScreenQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.TouchScreen type
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/UiModeQualifier.classUiModeQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.UiModeQualifier extends com.android.ide.common.resources.configuration.EnumBasedResourceQualifier {
public static final String NAME
private com.android.resources.UiMode mValue
public void ()
public void (com.android.resources.UiMode)
com.android.resources.UiMode value
public com.android.resources.UiMode getValue ()
com.android.resources.ResourceEnum getEnumValue ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
com.android.ide.common.resources.configuration.UiModeQualifier qualifier
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.resources.UiMode mode
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.UiModeQualifier compareQualifier
com.android.ide.common.resources.configuration.UiModeQualifier referenceQualifier
public volatile java.lang.String getLongDisplayValue ()
public volatile java.lang.String getShortDisplayValue ()
public volatile int hashCode ()
public volatile boolean equals (java.lang.Object)
Object x0
public volatile boolean hasFakeValue ()
public volatile boolean isValid ()
}
com/android/ide/common/resources/configuration/VersionQualifier.classVersionQualifier.java
package com.android.ide.common.resources.configuration
public final com.android.ide.common.resources.configuration.VersionQualifier extends com.android.ide.common.resources.configuration.ResourceQualifier {
private static final int DEFAULT_VERSION
private static final java.util.regex.Pattern sVersionPattern
private int mVersion
public static final String NAME
public static com.android.ide.common.resources.configuration.VersionQualifier getQualifier (java.lang.String)
NumberFormatException e
String v
int code
com.android.ide.common.resources.configuration.VersionQualifier qualifier
String segment
java.util.regex.Matcher m
public static java.lang.String getFolderSegment (int)
int version
public void (int)
int apiLevel
public void ()
public int getVersion ()
public java.lang.String getName ()
public java.lang.String getShortName ()
public int since ()
public boolean isValid ()
public boolean hasFakeValue ()
public boolean checkAndSet (java.lang.String, com.android.ide.common.resources.configuration.FolderConfiguration)
String value
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.VersionQualifier qualifier
public boolean equals (java.lang.Object)
Object qualifier
public boolean isMatchFor (com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
public boolean isBetterMatchThan (com.android.ide.common.resources.configuration.ResourceQualifier, com.android.ide.common.resources.configuration.ResourceQualifier)
com.android.ide.common.resources.configuration.ResourceQualifier compareTo
com.android.ide.common.resources.configuration.ResourceQualifier reference
com.android.ide.common.resources.configuration.VersionQualifier compareQ
com.android.ide.common.resources.configuration.VersionQualifier referenceQ
public int hashCode ()
public java.lang.String getFolderSegment ()
public java.lang.String getShortDisplayValue ()
public java.lang.String getLongDisplayValue ()
static void ()
}
com/android/ide/common/sdk/
com/android/ide/common/sdk/LoadStatus.classLoadStatus.java
package com.android.ide.common.sdk
public final com.android.ide.common.sdk.LoadStatus extends java.lang.Enum {
public static final com.android.ide.common.sdk.LoadStatus LOADING
public static final com.android.ide.common.sdk.LoadStatus LOADED
public static final com.android.ide.common.sdk.LoadStatus FAILED
private static final com.android.ide.common.sdk.LoadStatus[] $VALUES
public static com.android.ide.common.sdk.LoadStatus[] values ()
public static com.android.ide.common.sdk.LoadStatus valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/ide/common/sdk/SdkVersionInfo.classSdkVersionInfo.java
package com.android.ide.common.sdk
public com.android.ide.common.sdk.SdkVersionInfo extends java.lang.Object {
public static final int HIGHEST_KNOWN_API
public void ()
public static java.lang.String getAndroidName (int)
int api
public static java.lang.String getBuildCode (int)
int api
}
com/android/ide/common/xml/
com/android/ide/common/xml/AndroidManifestParser$ManifestErrorHandler.classAndroidManifestParser.java
package com.android.ide.common.xml
public abstract com.android.ide.common.xml.AndroidManifestParser$ManifestErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandler {
public abstract void handleError (java.lang.Exception, int)
public abstract void checkClass (org.xml.sax.Locator, java.lang.String, java.lang.String, boolean)
}
com/android/ide/common/xml/AndroidManifestParser$ManifestHandler.classAndroidManifestParser.java
package com.android.ide.common.xml
com.android.ide.common.xml.AndroidManifestParser$ManifestHandler extends org.xml.sax.helpers.DefaultHandler {
private final com.android.ide.common.xml.ManifestData mManifestData
private final com.android.ide.common.xml.AndroidManifestParser$ManifestErrorHandler mErrorHandler
private int mCurrentLevel
private int mValidLevel
private com.android.ide.common.xml.ManifestData$Activity mCurrentActivity
private org.xml.sax.Locator mLocator
void (com.android.io.IAbstractFile, com.android.ide.common.xml.ManifestData, com.android.ide.common.xml.AndroidManifestParser$ManifestErrorHandler)
com.android.io.IAbstractFile manifestFile
com.android.ide.common.xml.ManifestData manifestData
com.android.ide.common.xml.AndroidManifestParser$ManifestErrorHandler errorHandler
public void setDocumentLocator (org.xml.sax.Locator)
org.xml.sax.Locator locator
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
NumberFormatException e
String tmp
String value
Boolean b
int version
NumberFormatException e
com.android.ide.common.xml.ManifestData$UsesFeature feature
Boolean b
com.android.ide.common.xml.ManifestData$UsesLibrary library
String action
String category
String value
String uri
String localName
String name
org.xml.sax.Attributes attributes
public void endElement (java.lang.String, java.lang.String, java.lang.String) throws org.xml.sax.SAXException
String uri
String localName
String name
public void error (org.xml.sax.SAXParseException)
org.xml.sax.SAXParseException e
public void fatalError (org.xml.sax.SAXParseException)
org.xml.sax.SAXParseException e
public void warning (org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
org.xml.sax.SAXParseException e
private void processActivityNode (org.xml.sax.Attributes)
String exportedStr
boolean exported
org.xml.sax.Attributes attributes
String activityName
String processName
private void processNode (org.xml.sax.Attributes, java.lang.String)
org.xml.sax.Attributes attributes
String superClassName
String serviceName
String processName
private void processInstrumentationNode (org.xml.sax.Attributes)
String instrClassName
String targetPackage
org.xml.sax.Attributes attributes
String instrumentationName
private void processSupportsScreensNode (org.xml.sax.Attributes)
org.xml.sax.Attributes attributes
private void processUsesConfiguration (org.xml.sax.Attributes)
org.xml.sax.Attributes attributes
private java.lang.String getAttributeValue (org.xml.sax.Attributes, java.lang.String, boolean)
int i
org.xml.sax.Attributes attributes
String attributeName
boolean hasNamespace
int count
private java.lang.Boolean getAttributeBooleanValue (org.xml.sax.Attributes, java.lang.String, boolean)
String attr
int i
org.xml.sax.Attributes attributes
String attributeName
boolean hasNamespace
int count
}
com/android/ide/common/xml/AndroidManifestParser.classAndroidManifestParser.java
package com.android.ide.common.xml
public com.android.ide.common.xml.AndroidManifestParser extends java.lang.Object {
private static final int LEVEL_TOP
private static final int LEVEL_INSIDE_MANIFEST
private static final int LEVEL_INSIDE_APPLICATION
private static final int LEVEL_INSIDE_APP_COMPONENT
private static final int LEVEL_INSIDE_INTENT_FILTER
private static final String ACTION_MAIN
private static final String CATEGORY_LAUNCHER
private static final javax.xml.parsers.SAXParserFactory sParserFactory
public void ()
public static com.android.ide.common.xml.ManifestData parse (com.android.io.IAbstractFile, boolean, com.android.ide.common.xml.AndroidManifestParser$ManifestErrorHandler) throws org.xml.sax.SAXException java.io.IOException com.android.io.StreamException javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.SAXParser parser
com.android.ide.common.xml.ManifestData data
com.android.ide.common.xml.AndroidManifestParser$ManifestHandler manifestHandler
com.android.io.IAbstractFile manifestFile
boolean gatherData
com.android.ide.common.xml.AndroidManifestParser$ManifestErrorHandler errorHandler
public static com.android.ide.common.xml.ManifestData parse (com.android.io.IAbstractFile) throws org.xml.sax.SAXException java.io.IOException com.android.io.StreamException javax.xml.parsers.ParserConfigurationException
com.android.io.IAbstractFile manifestFile
public static com.android.ide.common.xml.ManifestData parse (com.android.io.IAbstractFolder) throws org.xml.sax.SAXException java.io.IOException com.android.io.StreamException javax.xml.parsers.ParserConfigurationException
com.android.io.IAbstractFolder projectFolder
com.android.io.IAbstractFile manifestFile
public static com.android.ide.common.xml.ManifestData parse (java.io.InputStream) throws org.xml.sax.SAXException java.io.IOException com.android.io.StreamException javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.SAXParser parser
com.android.ide.common.xml.ManifestData data
com.android.ide.common.xml.AndroidManifestParser$ManifestHandler manifestHandler
java.io.InputStream manifestFileStream
static void ()
}
com/android/ide/common/xml/ManifestData$Activity.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData$Activity extends java.lang.Object {
private final String mName
private final boolean mIsExported
private boolean mHasAction
private boolean mHasMainAction
private boolean mHasLauncherCategory
public void (java.lang.String, boolean)
String name
boolean exported
public java.lang.String getName ()
public boolean isExported ()
public boolean hasAction ()
public boolean isHomeActivity ()
void setHasAction (boolean)
boolean hasAction
void resetIntentFilter ()
void setHasMainAction (boolean)
boolean hasMainAction
void setHasLauncherCategory (boolean)
boolean hasLauncherCategory
}
com/android/ide/common/xml/ManifestData$Instrumentation.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData$Instrumentation extends java.lang.Object {
private final String mName
private final String mTargetPackage
void (java.lang.String, java.lang.String)
String name
String targetPackage
public java.lang.String getName ()
public java.lang.String getTargetPackage ()
}
com/android/ide/common/xml/ManifestData$SupportsScreens.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData$SupportsScreens extends java.lang.Object {
private Boolean mResizeable
private Boolean mAnyDensity
private Boolean mSmallScreens
private Boolean mNormalScreens
private Boolean mLargeScreens
public void ()
public void (java.lang.String)
String value
String[] values
public static com.android.ide.common.xml.ManifestData$SupportsScreens getDefaultValues (int)
int targetSdkVersion
com.android.ide.common.xml.ManifestData$SupportsScreens result
public com.android.ide.common.xml.ManifestData$SupportsScreens resolveSupportsScreensValues (int)
int targetSdkVersion
com.android.ide.common.xml.ManifestData$SupportsScreens result
public java.lang.Boolean getResizeable ()
void setResizeable (java.lang.Boolean)
Boolean resizeable
public java.lang.Boolean getAnyDensity ()
void setAnyDensity (java.lang.Boolean)
Boolean anyDensity
public java.lang.Boolean getSmallScreens ()
void setSmallScreens (java.lang.Boolean)
Boolean smallScreens
public java.lang.Boolean getNormalScreens ()
void setNormalScreens (java.lang.Boolean)
Boolean normalScreens
public java.lang.Boolean getLargeScreens ()
void setLargeScreens (java.lang.Boolean)
Boolean largeScreens
private java.lang.Boolean getConstantBoolean (java.lang.Boolean)
Boolean v
public boolean equals (java.lang.Object)
com.android.ide.common.xml.ManifestData$SupportsScreens support
Object obj
public int hashCode ()
int prime
int result
public boolean hasSameScreenSupportAs (com.android.ide.common.xml.ManifestData$SupportsScreens)
com.android.ide.common.xml.ManifestData$SupportsScreens support
public boolean hasStrictlyDifferentScreenSupportAs (com.android.ide.common.xml.ManifestData$SupportsScreens)
com.android.ide.common.xml.ManifestData$SupportsScreens support
public int compareScreenSizesWith (com.android.ide.common.xml.ManifestData$SupportsScreens)
com.android.ide.common.xml.ManifestData$SupportsScreens o
int comp
public java.lang.String getEncodedValues ()
public java.lang.String toString ()
StringBuilder sb
boolean alreadyOutputSomething
public boolean overlapWith (com.android.ide.common.xml.ManifestData$SupportsScreens)
com.android.ide.common.xml.ManifestData$SupportsScreens otherSS
}
com/android/ide/common/xml/ManifestData$UsesConfiguration.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData$UsesConfiguration extends java.lang.Object {
Boolean mReqFiveWayNav
Boolean mReqHardKeyboard
com.android.resources.Keyboard mReqKeyboardType
com.android.resources.TouchScreen mReqTouchScreen
com.android.resources.Navigation mReqNavigation
public void ()
public java.lang.Boolean getReqFiveWayNav ()
public com.android.resources.Navigation getReqNavigation ()
public java.lang.Boolean getReqHardKeyboard ()
public com.android.resources.Keyboard getReqKeyboardType ()
public com.android.resources.TouchScreen getReqTouchScreen ()
}
com/android/ide/common/xml/ManifestData$UsesFeature.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData$UsesFeature extends java.lang.Object {
String mName
int mGlEsVersion
Boolean mRequired
public void ()
public java.lang.String getName ()
public int getGlEsVersion ()
public java.lang.Boolean getRequired ()
}
com/android/ide/common/xml/ManifestData$UsesLibrary.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData$UsesLibrary extends java.lang.Object {
String mName
Boolean mRequired
public void ()
public java.lang.String getName ()
public java.lang.Boolean getRequired ()
}
com/android/ide/common/xml/ManifestData.classManifestData.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.ManifestData extends java.lang.Object {
public static final int MIN_SDK_CODENAME
public static final int GL_ES_VERSION_NOT_SET
String mPackage
Integer mVersionCode
final java.util.ArrayList mActivities
com.android.ide.common.xml.ManifestData$Activity mLauncherActivity
java.util.Set mProcesses
Boolean mDebuggable
private String mMinSdkVersionString
private int mMinSdkVersion
private int mTargetSdkVersion
final java.util.ArrayList mInstrumentations
final java.util.ArrayList mLibraries
final java.util.ArrayList mFeatures
com.android.ide.common.xml.ManifestData$SupportsScreens mSupportsScreensFromManifest
com.android.ide.common.xml.ManifestData$SupportsScreens mSupportsScreensValues
com.android.ide.common.xml.ManifestData$UsesConfiguration mUsesConfiguration
public void ()
public java.lang.String getPackage ()
public java.lang.Integer getVersionCode ()
public com.android.ide.common.xml.ManifestData$Activity[] getActivities ()
public com.android.ide.common.xml.ManifestData$Activity getLauncherActivity ()
public java.lang.String[] getProcesses ()
public java.lang.Boolean getDebuggable ()
public java.lang.String getMinSdkVersionString ()
public void setMinSdkVersionString (java.lang.String)
NumberFormatException e
String minSdkVersion
public int getMinSdkVersion ()
public void setTargetSdkVersionString (java.lang.String)
NumberFormatException e
String targetSdkVersion
public int getTargetSdkVersion ()
public com.android.ide.common.xml.ManifestData$Instrumentation[] getInstrumentations ()
public com.android.ide.common.xml.ManifestData$UsesLibrary[] getUsesLibraries ()
public com.android.ide.common.xml.ManifestData$UsesFeature[] getUsesFeatures ()
public int getGlEsVersion ()
com.android.ide.common.xml.ManifestData$UsesFeature feature
java.util.Iterator i$
public com.android.ide.common.xml.ManifestData$SupportsScreens getSupportsScreensFromManifest ()
public synchronized com.android.ide.common.xml.ManifestData$SupportsScreens getSupportsScreensValues ()
public com.android.ide.common.xml.ManifestData$UsesConfiguration getUsesConfiguration ()
void addProcessName (java.lang.String)
String processName
}
com/android/ide/common/xml/XmlAttributeSortOrder$1.classXmlAttributeSortOrder.java
package com.android.ide.common.xml
final com.android.ide.common.xml.XmlAttributeSortOrder$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (org.w3c.dom.Attr, org.w3c.dom.Attr)
org.w3c.dom.Attr attr1
org.w3c.dom.Attr attr2
String prefix1
String prefix2
String name1
String name2
public volatile int compare (java.lang.Object, java.lang.Object)
Object x0
Object x1
}
com/android/ide/common/xml/XmlAttributeSortOrder$2.classXmlAttributeSortOrder.java
package com.android.ide.common.xml
final com.android.ide.common.xml.XmlAttributeSortOrder$2 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (org.w3c.dom.Attr, org.w3c.dom.Attr)
org.w3c.dom.Attr attr1
org.w3c.dom.Attr attr2
public volatile int compare (java.lang.Object, java.lang.Object)
Object x0
Object x1
}
com/android/ide/common/xml/XmlAttributeSortOrder$3.classXmlAttributeSortOrder.java
package com.android.ide.common.xml
com.android.ide.common.xml.XmlAttributeSortOrder$3 extends java.lang.Object {
static final int[] $SwitchMap$com$android$ide$common$xml$XmlAttributeSortOrder
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/ide/common/xml/XmlAttributeSortOrder.classXmlAttributeSortOrder.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.XmlAttributeSortOrder extends java.lang.Enum {
public static final com.android.ide.common.xml.XmlAttributeSortOrder NO_SORTING
public static final com.android.ide.common.xml.XmlAttributeSortOrder ALPHABETICAL
public static final com.android.ide.common.xml.XmlAttributeSortOrder LOGICAL
public final String key
private static final java.util.Comparator SORTED_ORDER_COMPARATOR
private static final java.util.Comparator ALPHABETICAL_COMPARATOR
private static final com.android.ide.common.xml.XmlAttributeSortOrder[] $VALUES
public static com.android.ide.common.xml.XmlAttributeSortOrder[] values ()
public static com.android.ide.common.xml.XmlAttributeSortOrder valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String key
public java.util.Comparator getAttributeComparator ()
public static int compareAttributes (java.lang.String, java.lang.String)
String name1
String name2
int priority1
int priority2
public static int compareAttributes (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String prefix1
String name1
String prefix2
String name2
int priority1
int priority2
int namespaceDelta
private static int getAttributePriority (java.lang.String)
String name
static void ()
}
com/android/ide/common/xml/XmlFormatPreferences.classXmlFormatPreferences.java
package com.android.ide.common.xml
public com.android.ide.common.xml.XmlFormatPreferences extends java.lang.Object {
public boolean useEclipseIndent
public boolean removeEmptyLines
public boolean reflowText
public boolean joinLines
public boolean oneAttributeOnFirstLine
public com.android.ide.common.xml.XmlAttributeSortOrder sortAttributes
public boolean spaceBeforeClose
protected String mOneIndentUnit
protected int mTabWidth
public java.util.Comparator getAttributeComparator ()
protected void ()
public static com.android.ide.common.xml.XmlFormatPreferences defaults ()
public java.lang.String getOneIndentUnit ()
public int getTabWidth ()
}
com/android/ide/common/xml/XmlFormatStyle.classXmlFormatStyle.java
package com.android.ide.common.xml
public final com.android.ide.common.xml.XmlFormatStyle extends java.lang.Enum {
public static final com.android.ide.common.xml.XmlFormatStyle LAYOUT
public static final com.android.ide.common.xml.XmlFormatStyle FILE
public static final com.android.ide.common.xml.XmlFormatStyle RESOURCE
public static final com.android.ide.common.xml.XmlFormatStyle MANIFEST
private static final com.android.ide.common.xml.XmlFormatStyle[] $VALUES
public static com.android.ide.common.xml.XmlFormatStyle[] values ()
public static com.android.ide.common.xml.XmlFormatStyle valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public static com.android.ide.common.xml.XmlFormatStyle get (org.w3c.dom.Node)
String tag
org.w3c.dom.Element root
org.w3c.dom.Document doc
org.w3c.dom.Node node
static void ()
}
com/android/ide/common/xml/XmlPrettyPrinter.classXmlPrettyPrinter.java
package com.android.ide.common.xml
public com.android.ide.common.xml.XmlPrettyPrinter extends java.lang.Object {
private final com.android.ide.common.xml.XmlFormatStyle mStyle
private final com.android.ide.common.xml.XmlFormatPreferences mPrefs
private org.w3c.dom.Node mStartNode
private org.w3c.dom.Node mEndNode
private boolean mInRange
private StringBuilder mOut
private String mIndentString
private String mLineSeparator
private boolean mOpenTagOnly
private String[] mIndentationLevels
private boolean mEndWithNewline
static final boolean $assertionsDisabled
public void (com.android.ide.common.xml.XmlFormatPreferences, com.android.ide.common.xml.XmlFormatStyle, java.lang.String)
com.android.ide.common.xml.XmlFormatPreferences prefs
com.android.ide.common.xml.XmlFormatStyle style
String lineSeparator
public com.android.ide.common.xml.XmlPrettyPrinter setEndWithNewline (boolean)
boolean endWithNewline
public void setIndentationLevels (java.lang.String[])
String[] indentationLevels
private java.lang.String getLineSeparator ()
public static java.lang.String prettyPrint (java.lang.String, com.android.ide.common.xml.XmlFormatPreferences, com.android.ide.common.xml.XmlFormatStyle, java.lang.String)
com.android.ide.common.xml.XmlPrettyPrinter printer
StringBuilder sb
String xml
com.android.ide.common.xml.XmlFormatPreferences prefs
com.android.ide.common.xml.XmlFormatStyle style
String lineSeparator
org.w3c.dom.Document document
public static java.lang.String prettyPrint (org.w3c.dom.Node, com.android.ide.common.xml.XmlFormatPreferences, com.android.ide.common.xml.XmlFormatStyle, java.lang.String)
org.w3c.dom.Node node
com.android.ide.common.xml.XmlFormatPreferences prefs
com.android.ide.common.xml.XmlFormatStyle style
String lineSeparator
public static java.lang.String prettyPrint (org.w3c.dom.Node, com.android.ide.common.xml.XmlFormatPreferences, com.android.ide.common.xml.XmlFormatStyle, java.lang.String, boolean)
org.w3c.dom.Node node
com.android.ide.common.xml.XmlFormatPreferences prefs
com.android.ide.common.xml.XmlFormatStyle style
String lineSeparator
boolean endWithNewline
com.android.ide.common.xml.XmlPrettyPrinter printer
StringBuilder sb
String xml
public static java.lang.String prettyPrint (org.w3c.dom.Node)
org.w3c.dom.Node node
public static java.lang.String prettyPrint (org.w3c.dom.Node, boolean)
org.w3c.dom.Node node
boolean endWithNewline
public void prettyPrint (int, org.w3c.dom.Node, org.w3c.dom.Node, org.w3c.dom.Node, java.lang.StringBuilder, boolean)
int rootDepth
org.w3c.dom.Node root
org.w3c.dom.Node startNode
org.w3c.dom.Node endNode
StringBuilder out
boolean openTagOnly
private void visitNode (int, org.w3c.dom.Node)
org.w3c.dom.Node child
int i
int n
int depth
org.w3c.dom.Node node
org.w3c.dom.NodeList children
private void visitBeforeChildren (int, org.w3c.dom.Node)
int depth
org.w3c.dom.Node node
short type
private void visitAfterChildren (int, org.w3c.dom.Node)
int depth
org.w3c.dom.Node node
short type
private void printProcessingInstruction (org.w3c.dom.Node)
org.w3c.dom.Node node
protected java.lang.String getSource (org.w3c.dom.Node)
org.w3c.dom.Node node
private void printDocType (org.w3c.dom.Node)
org.w3c.dom.Node node
String content
private void printCharacterData (int, org.w3c.dom.Node)
int depth
org.w3c.dom.Node node
String nodeValue
boolean separateLine
private void printText (org.w3c.dom.Node)
char c
int i
int n
char c
int i
int lastPrefixNewline
int firstSuffixNewline
org.w3c.dom.Node node
boolean escape
String text
String source
String trimmed
private void printComment (int, org.w3c.dom.Node)
short type
org.w3c.dom.Node previous
char c
int i
String text
int newLines
org.w3c.dom.Node curr
char c
char c
int i
char c
int i
char c
int j
int indent
String line
int i
char c
int j
String line
int i
int i
boolean prefixIsSpace
String prevText
int indentation
int minIndent
String[] lines
org.w3c.dom.Node previous
boolean startsWithNewline
int index
int end
int recentNewline
int start
char c
int i
int n
String text
int newLinesBeforeText
int depth
org.w3c.dom.Node node
String comment
boolean multiLine
String trimmed
boolean isSuffixComment
org.w3c.dom.Node next
private boolean endsWithLineSeparator ()
int i
int j
int separatorLength
private void removeLastLineSeparator ()
int newLength
private void printOpenElementTag (int, org.w3c.dom.Node)
int i
int n
boolean indentNextAttribute
org.w3c.dom.Attr attribute
java.util.Iterator i$
java.util.List attributeList
java.util.Comparator comparator
boolean singleLine
boolean indentNextAttribute
org.w3c.dom.Attr last
int depth
org.w3c.dom.Node node
org.w3c.dom.Element element
org.w3c.dom.NamedNodeMap attributes
int attributeCount
boolean isClosed
private void printCloseElementTag (int, org.w3c.dom.Node)
int depth
org.w3c.dom.Node node
org.w3c.dom.Element element
private boolean newlineBeforeElementOpen (org.w3c.dom.Element, int)
org.w3c.dom.Element sibling
String text
short nodeType
org.w3c.dom.Node curr
org.w3c.dom.Element element
int depth
private boolean indentBeforeElementOpen (org.w3c.dom.Element, int)
org.w3c.dom.Element element
int depth
private boolean indentBeforeElementClose (org.w3c.dom.Element, int)
org.w3c.dom.Element element
int depth
char lastOutChar
char lastDelimiterChar
private boolean newlineAfterElementOpen (org.w3c.dom.Element, int, boolean)
org.w3c.dom.Element element
int depth
boolean isClosed
private boolean newlineBeforeElementClose (org.w3c.dom.Element, int)
org.w3c.dom.Element element
int depth
private boolean hasBlankLineAbove ()
private boolean newlineAfterElementClose (org.w3c.dom.Element, int)
org.w3c.dom.Element element
int depth
private boolean isMarkupElement (org.w3c.dom.Element)
org.w3c.dom.Element element
org.w3c.dom.Node curr
private boolean isSingleLineTag (org.w3c.dom.Element)
org.w3c.dom.Element element
String tag
private boolean keepElementAsSingleLine (int, org.w3c.dom.Element)
int depth
org.w3c.dom.Element element
private void indent (int)
String indent
int j
int depth
int i
protected boolean isEmptyTag (org.w3c.dom.Element)
org.w3c.dom.Element element
String tag
static void ()
}