/sdk/layoutlib_utils/src/com/android/layoutlib/utils/ |
ResourceValue.java | 22 private final String mType; 23 private final String mName; 25 private final boolean mIsFramwork; 44 public final String getName() { 48 public final String getValue() { 52 public final void setValue(String value) {
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 48 private static final float DELTA = 0.001f; 49 private static final long SHORT_CHILD_DURATION = 400; 50 private static final long MEDIUM_CHILD_DURATION = 800; 51 private static final long LONG_CHILD_DURATION = 1200; 55 private static final int INITIAL_SIZE = 100; 56 private static final long ANIMATIONSET_DURATION = 1000; 84 final XmlResourceParser parser = mActivity.getResources().getAnimation( 86 final AttributeSet attr = Xml.asAttributeSet(parser); 100 final AnimationSet animationSet = createAnimationSet(); 142 final AnimationSet animationSet = createAnimationSet() [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
X509Extensions.java | 26 public static final DERObjectIdentifier SubjectDirectoryAttributes = new DERObjectIdentifier("2.5.29.9"); 31 public static final DERObjectIdentifier SubjectKeyIdentifier = new DERObjectIdentifier("2.5.29.14"); 36 public static final DERObjectIdentifier KeyUsage = new DERObjectIdentifier("2.5.29.15"); 41 public static final DERObjectIdentifier PrivateKeyUsagePeriod = new DERObjectIdentifier("2.5.29.16"); 46 public static final DERObjectIdentifier SubjectAlternativeName = new DERObjectIdentifier("2.5.29.17"); 51 public static final DERObjectIdentifier IssuerAlternativeName = new DERObjectIdentifier("2.5.29.18"); 56 public static final DERObjectIdentifier BasicConstraints = new DERObjectIdentifier("2.5.29.19"); 61 public static final DERObjectIdentifier CRLNumber = new DERObjectIdentifier("2.5.29.20"); 66 public static final DERObjectIdentifier ReasonCode = new DERObjectIdentifier("2.5.29.21"); 71 public static final DERObjectIdentifier InstructionCode = new DERObjectIdentifier("2.5.29.23") [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsHeader.java | 40 public static final int ELT_ID_CONCATENATED_8_BIT_REFERENCE = 0x00; 41 public static final int ELT_ID_SPECIAL_SMS_MESSAGE_INDICATION = 0x01; 42 public static final int ELT_ID_APPLICATION_PORT_ADDRESSING_8_BIT = 0x04; 43 public static final int ELT_ID_APPLICATION_PORT_ADDRESSING_16_BIT = 0x05; 44 public static final int ELT_ID_SMSC_CONTROL_PARAMS = 0x06; 45 public static final int ELT_ID_UDH_SOURCE_INDICATION = 0x07; 46 public static final int ELT_ID_CONCATENATED_16_BIT_REFERENCE = 0x08; 47 public static final int ELT_ID_WIRELESS_CTRL_MSG_PROTOCOL = 0x09; 48 public static final int ELT_ID_TEXT_FORMATTING = 0x0A; 49 public static final int ELT_ID_PREDEFINED_SOUND = 0x0B [all...] |
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 68 public static IPathEnumerator create (final File [] path, final boolean canonical, final IPathHandler handler) 73 private static final class PathEnumerator implements IPathEnumerator 77 final IPathHandler handler = m_handler; 81 final File f = (File) m_path.get (m_pathIndex); 101 final String name = f.getName (); 102 final String lcName = name.toLowerCase (); 108 final File parent = f.getParentFile (); // could be null 109 final File archive = new File (name) [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
IElement.java | 28 public static IElement create (final Tag tag) 33 public static IElement create (final Tag tag, final AttributeSet attrs) 47 public void emit (final HTMLWriter out) 49 final String tagName = m_tag.getName (); 64 final IContent content = (IContent) c.next (); 74 public IElementList add (final IContent content) 84 public IElementList add (final int index, final IContent content) 99 public IElement setText (final String text, final boolean nbsp [all...] |
Attribute.java | 22 public static final Attribute ID = new AttributeImpl ("ID"); 23 public static final Attribute NAME = new AttributeImpl ("NAME"); 24 public static final Attribute TITLE = new AttributeImpl ("TITLE"); 25 public static final Attribute TYPE = new AttributeImpl ("TYPE"); 26 public static final Attribute CLASS = new AttributeImpl ("CLASS"); 27 public static final Attribute HTTP_EQUIV = new AttributeImpl ("HTTP-EQUIV"); 28 public static final Attribute CONTENT = new AttributeImpl ("CONTENT"); 29 public static final Attribute HREF = new AttributeImpl ("HREF"); 30 public static final Attribute SRC = new AttributeImpl ("SRC"); 31 public static final Attribute REL = new AttributeImpl ("REL") [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
UriMatcherTest.java | 26 static final int ROOT = 0; 27 static final int PEOPLE = 1; 28 static final int PEOPLE_ID = 2; 29 static final int PEOPLE_PHONES = 3; 30 static final int PEOPLE_PHONES_ID = 4; 31 static final int PEOPLE_ADDRESSES = 5; 32 static final int PEOPLE_ADDRESSES_ID = 6; 33 static final int PEOPLE_CONTACTMETH = 7; 34 static final int PEOPLE_CONTACTMETH_ID = 8; 35 static final int CALLS = 9 [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
IFileSystem.java | 34 public final int SHARED_LOCK_TYPE = 1; 36 public final int EXCLUSIVE_LOCK_TYPE = 2; 38 public final int SEEK_SET = 1; 40 public final int SEEK_CUR = 2; 42 public final int SEEK_END = 4; 44 public final int O_RDONLY = 0x00000000; 46 public final int O_WRONLY = 0x00000001; 48 public final int O_RDWR = 0x00000010; 50 public final int O_RDWRSYNC = 0x00000020; 52 public final int O_APPEND = 0x00000100 [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaItem.java | 21 public final class MediaItem { 22 public static final int MEDIA_TYPE_IMAGE = 0; 23 public static final int MEDIA_TYPE_VIDEO = 1; 26 public static final long MIN_VALID_DATE_IN_MS = 157680000000L; 27 public static final long MIN_VALID_DATE_IN_SEC = 157680000L; 30 public static final long MAX_VALID_DATE_IN_MS = 2049840000000L; 31 public static final long MAX_VALID_DATE_IN_SEC = 2049840000L; 35 public static final String ID = new String("id"); 65 public static final int NOT_PRIMED = 0; 66 public static final int STARTED_PRIMING = 1 [all...] |
PicasaDataSource.java | 43 public final class PicasaDataSource implements DataSource { 44 private static final String TAG = "PicasaDataSource"; 45 public static final DiskCache sThumbnailCache = new DiskCache("picasa-thumbs"); 46 private static final String DEFAULT_BUCKET_SORT_ORDER = AlbumEntry.Columns.USER + ", " + AlbumEntry.Columns.DATE_PUBLISHED 50 private final Context mContext; 52 public PicasaDataSource(final Context context) { 56 public static final HashMap<String, Boolean> getAccountStatus(final Context context) { 57 final Account[] accounts = PicasaApi.getAccounts(context); 69 public void loadMediaSets(final MediaFeed feed) [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
RateController.java | 33 private static final String TAG = "RateController"; 34 private static final boolean DEBUG = false; 35 private static final boolean LOCAL_LOGV = DEBUG ? Config.LOGD : Config.LOGV; 37 private static final int RATE_LIMIT = 100; 38 private static final long ONE_HOUR = 1000 * 60 * 60; 40 private static final int NO_ANSWER = 0; 41 private static final int ANSWER_YES = 1; 42 private static final int ANSWER_NO = 2; 44 public static final int ANSWER_TIMEOUT = 20000; 45 public static final String RATE_LIMIT_SURPASSED_ACTION [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionCursorBackedCursor.java | 24 private static final String[] COLUMNS = { 41 private static final int COLUMN_INDEX_ID = 0; 42 private static final int COLUMN_INDEX_TEXT1 = 1; 43 private static final int COLUMN_INDEX_TEXT2 = 2; 44 private static final int COLUMN_INDEX_TEXT2_URL = 3; 45 private static final int COLUMN_INDEX_ICON1 = 4; 46 private static final int COLUMN_INDEX_ICON2 = 5; 47 private static final int COLUMN_INDEX_INTENT_ACTION = 6; 48 private static final int COLUMN_INDEX_INTENT_DATA = 7; 49 private static final int COLUMN_INDEX_INTENT_EXTRA_DATA = 8 [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SwipeTracker.java | 22 private static final int NUM_PAST = 4; 23 private static final int LONGEST_PAST_TIME = 200; 25 final EventRingBuffer mBuffer = new EventRingBuffer(NUM_PAST); 36 final int count = ev.getHistorySize(); 44 final EventRingBuffer buffer = mBuffer; 59 final EventRingBuffer buffer = mBuffer; 60 final float oldestX = buffer.getX(0); 61 final float oldestY = buffer.getY(0); 62 final long oldestTime = buffer.getTime(0); 66 final int count = buffer.size() [all...] |
/frameworks/base/core/java/android/provider/ |
Settings.java | 59 public final class Settings { 71 public static final String ACTION_SETTINGS = "android.settings.SETTINGS"; 81 public static final String ACTION_APN_SETTINGS = "android.settings.APN_SETTINGS"; 95 public static final String ACTION_LOCATION_SOURCE_SETTINGS = 110 public static final String ACTION_WIRELESS_SETTINGS = 124 public static final String ACTION_AIRPLANE_MODE_SETTINGS = 138 public static final String ACTION_ACCESSIBILITY_SETTINGS = 153 public static final String ACTION_SECURITY_SETTINGS = 167 public static final String ACTION_PRIVACY_SETTINGS = 183 public static final String ACTION_WIFI_SETTINGS [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
RegOps.java | 31 public final class RegOps { 33 public static final int NOP = 1; 36 public static final int MOVE = 2; 39 public static final int MOVE_PARAM = 3; 47 public static final int MOVE_EXCEPTION = 4; 50 public static final int CONST = 5; 53 public static final int GOTO = 6; 59 public static final int IF_EQ = 7; 65 public static final int IF_NE = 8; 68 public static final int IF_LT = 9 [all...] |
/external/emma/core/java12/com/vladium/emma/report/xml/ |
ReportGenerator.java | 48 final class ReportGenerator extends AbstractReportGenerator 60 public void process (final IMetaData mdata, final ICoverageData cdata, 61 final SourcePathCache cache, final IProperties properties) 67 final boolean trace1 = m_log.atTRACE1 (); 94 public Object visit (final AllItem item, final Object ctx) 105 final File fullOutFile = Files.newFile (m_settings.getOutDir (), outFile); 117 final StringBuffer label = new StringBuffer (101) [all...] |
/external/emma/ant/ant14/com/vladium/emma/ant/ |
FileTask.java | 31 // public static final class FileElement 33 // public FileElement (final List /* File */ files) 38 // public void setFile (final File file) 44 // private final List /* File */ m_files; 51 public final void addInfileset (final XFileSet set) 56 public final void addFileset (final XFileSet set) 64 // public final FileElement createInfile () 69 // public final FileElement createFile ( [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
Item.java | 29 public final int getChildCount () 34 public final IItem getParent () 39 public final Iterator getChildren () 44 public final Iterator getChildren (final ItemComparator /* IItem */ order) 52 final IItem [] items = new IItem [m_children.size ()]; 61 public final IItemAttribute getAttribute (final int attributeID, final int unitsID) 71 public int getAggregate (final int type [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
MethodCollection.java | 22 final class MethodCollection implements IMethodCollection 28 public Method_info get (final int offset) 33 public int [] get (final ClassDef cls, final String name) 39 final int count = m_methods.size (); // use size() if class becomes non-final 40 final IntVector result = new IntVector (count); 44 final Method_info method = (Method_info) m_methods.get (m); 67 final MethodCollection _clone = (MethodCollection) super.clone (); 70 final int methods_count = m_methods.size (); // use size() if class becomes non-fina [all...] |
/frameworks/base/packages/TtsService/src/android/tts/ |
SynthProxy.java | 39 private final static float PICO_FILTER_GAIN = 5.0f; // linear gain 40 private final static float PICO_FILTER_LOWSHELF_ATTENUATION = -18.0f; // in dB 41 private final static float PICO_FILTER_TRANSITION_FREQ = 1100.0f; // in Hz 42 private final static float PICO_FILTER_SHELF_SLOPE = 1.0f; // Q 131 public final int setSpeechRate(int speechRate) { 138 public final int setPitch(int pitch) { 176 private final static String TAG = "SynthProxy"; 183 private native final int native_setup(Object weak_this, String nativeSoLib, 186 private native final int native_setLowShelf(boolean applyFilter, float filterGain, 189 private native final void native_finalize(int jniData) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
UserData.java | 30 public static final int ENCODING_OCTET = 0x00; 31 public static final int ENCODING_IS91_EXTENDED_PROTOCOL = 0x01; 32 public static final int ENCODING_7BIT_ASCII = 0x02; 33 public static final int ENCODING_IA5 = 0x03; 34 public static final int ENCODING_UNICODE_16 = 0x04; 35 //public static final int ENCODING_SHIFT_JIS = 0x05; 36 //public static final int ENCODING_KOREAN = 0x06; 37 //public static final int ENCODING_LATIN_HEBREW = 0x07; 38 public static final int ENCODING_LATIN = 0x08; 39 public static final int ENCODING_GSM_7BIT_ALPHABET = 0x09 [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
SipSessionListenerProxy.java | 27 private static final String TAG = "SipSession"; 46 public void onCalling(final ISipSession session) { 59 public void onRinging(final ISipSession session, final SipProfile caller, 60 final String sessionDescription) { 73 public void onRingingBack(final ISipSession session) { 86 public void onCallEstablished(final ISipSession session, 87 final String sessionDescription) { 100 public void onCallEnded(final ISipSession session) { 113 public void onCallBusy(final ISipSession session) [all...] |
/libcore/luni/src/main/java/java/nio/ |
HeapByteBuffer.java | 28 * All methods are marked final for runtime performance. 34 protected final byte[] backingArray; 36 protected final int offset; 64 public final ByteBuffer get(byte[] dst, int off, int len) { 78 public final byte get() { 86 public final byte get(int index) { 94 public final double getDouble() { 99 public final double getDouble(int index) { 104 public final float getFloat() { 109 public final float getFloat(int index) [all...] |
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoader.java | 33 final class InstrClassLoader extends URLClassLoader 42 public static final String PROPERTY_FORCED_DELEGATION_FILTER = "clsload.forced_delegation_filter"; 43 public static final String PROPERTY_THROUGH_DELEGATION_FILTER = "clsload.through_delegation_filter"; 46 public InstrClassLoader (final ClassLoader parent, final File [] classpath, 47 final IInclExclFilter forcedDelegationFilter, 48 final IInclExclFilter throughDelegationFilter, 49 final IClassLoadHook hook, final Map cache) 77 public synchronized final Class loadClass (final String name, final boolean resolve [all...] |