/libcore/luni/src/test/java/libcore/java/util/ |
OldAbstractMapTest.java | 41 amt1.put("1", "one"); 43 amt1.put("2", "two"); 44 amt1.put("3", "three"); 46 amt2.put("1", "one"); 47 amt2.put("2", "two"); 48 amt2.put("3", "three"); 56 amt1.put("1", "one"); 64 amt.put("1", "one"); 71 amt.put("1", "one"); 73 amt.put("2", "two") 104 @Override public String put(String key, String value) { method in class:OldAbstractMapTest.AMT [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Sphere.java | 210 posBuf.put(kSliceCenter.x + tempVa.x).put(
211 kSliceCenter.y + tempVa.y).put(
219 normBuf.put(kNormal.x).put(kNormal.y).put(
222 normBuf.put(-kNormal.x).put(-kNormal.y).put(
227 texBuf.put(fRadialFraction).put( [all...] |
Dome.java | 246 vb.put(kSliceCenter.x + tempVa.x).put( 247 kSliceCenter.y + tempVa.y).put( 254 nb.put(kNormal.x).put(kNormal.y).put(kNormal.z); 256 nb.put(-kNormal.x).put(-kNormal.y).put(-kNormal.z); 259 tb.put(fRadialFraction).put(fYFraction) [all...] |
Cylinder.java | 326 nb.put(vNormal.x).put(vNormal.y).put(vNormal.z);
328 nb.put(-vNormal.x).put(-vNormal.y).put(-vNormal.z);
330 nb.put(0).put(0).put(topBottom * (inverted ? -1 : 1));
335 pb.put(tempNormal.x).put(tempNormal.y).put(tempNormal.z); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
Keywords.java | 218 m_axisnames.put(FROM_ANCESTORS_STRING, 220 m_axisnames.put(FROM_ANCESTORS_OR_SELF_STRING, 222 m_axisnames.put(FROM_ATTRIBUTES_STRING, 224 m_axisnames.put(FROM_CHILDREN_STRING, 226 m_axisnames.put(FROM_DESCENDANTS_STRING, 228 m_axisnames.put(FROM_DESCENDANTS_OR_SELF_STRING, 230 m_axisnames.put(FROM_FOLLOWING_STRING, 232 m_axisnames.put(FROM_FOLLOWING_SIBLINGS_STRING, 234 m_axisnames.put(FROM_PARENT_STRING, 236 m_axisnames.put(FROM_PRECEDING_STRING [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardJapanizationTests.java | 39 .put(StructuredName.FAMILY_NAME, "\u3075\u308B\u3069") 40 .put(StructuredName.GIVEN_NAME, "\u3091\u308A\u304B") 41 .put(StructuredName.MIDDLE_NAME, "B") 42 .put(StructuredName.PREFIX, "Dr.") 43 .put(StructuredName.SUFFIX, "Ph.D"); 67 .put(StructuredName.FAMILY_NAME, "\u3075\u308B\u3069") 68 .put(StructuredName.GIVEN_NAME, "\u3091\u308A\u304B") 69 .put(StructuredName.MIDDLE_NAME, "B") 70 .put(StructuredName.PREFIX, "Dr.") 71 .put(StructuredName.SUFFIX, "Ph.D") [all...] |
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 123 values.put(Media.DATA, isInternal ? INTERNAL_DATA : EXTERNAL_DATA); 124 values.put(Media.DATE_MODIFIED, DATE_MODIFIED); 125 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); 126 values.put(Media.MIME_TYPE, MIME_TYPE); 127 values.put(Media.SIZE, SIZE); 128 values.put(Media.TITLE, TITLE); 129 values.put(Media.ALBUM, ALBUM); 130 values.put(Media.ARTIST, ARTIST); 131 values.put(Media.COMPOSER, COMPOSER); 132 values.put(Media.DURATION, DURATION) [all...] |
/frameworks/ex/common/tests/src/com/android/common/ |
Rfc822ValidatorTest.java | 49 fixes.put("a", "<a@gmail.com>"); 50 fixes.put("a b", "<ab@gmail.com>"); 51 fixes.put("a@b", "<a@b>"); 52 fixes.put("()~><@not.work", ""); 64 fixes.put("a", "<a>"); 65 fixes.put("a b", "<a b>"); 66 fixes.put("a@b", "<a@b>"); 67 fixes.put("a@b.com", "<a@b.com>"); // this one is correct 80 fixes.put("a", ""); 81 fixes.put("a b", "") [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
Wap230WspContentTypeTest.java | 38 WELL_KNOWN_SHORT_MIME_TYPES.put(0x00, "*/*"); 39 WELL_KNOWN_SHORT_MIME_TYPES.put(0x01, "text/*"); 40 WELL_KNOWN_SHORT_MIME_TYPES.put(0x02, "text/html"); 41 WELL_KNOWN_SHORT_MIME_TYPES.put(0x03, "text/plain"); 42 WELL_KNOWN_SHORT_MIME_TYPES.put(0x04, "text/x-hdml"); 43 WELL_KNOWN_SHORT_MIME_TYPES.put(0x05, "text/x-ttml"); 44 WELL_KNOWN_SHORT_MIME_TYPES.put(0x06, "text/x-vCalendar"); 45 WELL_KNOWN_SHORT_MIME_TYPES.put(0x07, "text/x-vCard"); 46 WELL_KNOWN_SHORT_MIME_TYPES.put(0x08, "text/vnd.wap.wml"); 47 WELL_KNOWN_SHORT_MIME_TYPES.put(0x09, "text/vnd.wap.wmlscript") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
ReadOnlyDoubleBufferTest.java | 73 buf.put(0); 83 buf.put(array); 89 buf.put((double[]) null); 99 buf.put(array, 0, array.length); 105 buf.put((double[]) null, 0, 1); 111 buf.put(new double[buf.capacity() + 1], 0, buf.capacity() + 1); 117 buf.put(array, -1, array.length); 127 buf.put(other); 133 buf.put((DoubleBuffer) null); 139 buf.put(buf) [all...] |
ReadOnlyFloatBufferTest.java | 74 buf.put(0); 84 buf.put(array); 90 buf.put((float[]) null); 100 buf.put(array, 0, array.length); 106 buf.put((float[]) null, 0, 1); 112 buf.put(new float[buf.capacity() + 1], 0, buf.capacity() + 1); 118 buf.put(array, -1, array.length); 128 buf.put(other); 134 buf.put((FloatBuffer) null); 140 buf.put(buf) [all...] |
ReadOnlyIntBufferTest.java | 74 buf.put(0); 84 buf.put(array); 90 buf.put((int[]) null); 100 buf.put(array, 0, array.length); 106 buf.put((int[]) null, -1, 1); 112 buf.put(new int[buf.capacity() + 1], 0, buf.capacity() + 1); 118 buf.put(array, -1, array.length); 128 buf.put(other); 134 buf.put((IntBuffer) null); 140 buf.put(buf) [all...] |
ReadOnlyLongBufferTest.java | 74 buf.put(0); 84 buf.put(array); 90 buf.put((long[]) null); 100 buf.put(array, 0, array.length); 106 buf.put((long[]) null, 0, 1); 112 buf.put(new long[buf.capacity() + 1], 0, buf.capacity() + 1); 118 buf.put(array, -1, array.length); 128 buf.put(other); 134 buf.put((LongBuffer) null); 140 buf.put(buf) [all...] |
ReadOnlyShortBufferTest.java | 74 buf.put((short)0); 84 buf.put(array); 90 buf.put((short[]) null); 100 buf.put(array, 0, array.length); 106 buf.put((short[]) null, 0, 1); 112 buf.put(new short[buf.capacity() + 1], 0, buf.capacity() + 1); 118 buf.put(array, -1, array.length); 128 buf.put(other); 134 buf.put((ShortBuffer) null); 140 buf.put(buf) [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
RawContactTest.java | 35 values.put("key1", "value1"); 36 values.put("key2", "value2"); 39 dataItem.put("key3", "value3"); 40 dataItem.put("key4", "value4"); 50 values.put("key11", "value11"); 51 values.put("key22", "value22"); 54 dataItem.put("key33", "value33"); 55 dataItem.put("key44", "value44"); 79 values.put("key1", "value1"); 80 values.put("key2", "value2") [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
ProviderService_ImplTest.java | 48 hm.put("attribute", "value"); 49 hm.put("KeySize", "1024"); 50 hm.put("AAA", "BBB"); 62 put("MessageDigest.SHA-1", "SomeClassName");
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/ |
AbstractBlenderHelper.java | 111 buff.put(v[0]).put(v[1]).put(v[2]).put(v[3]);
113 buff.put((byte)0).put((byte)0).put((byte)0).put((byte)0);
133 buff.put(v[0]).put(v[1]).put(v[2]).put(v[3]); [all...] |
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/ |
HumanoidRagdollPreset.java | 17 boneMap.put("head", new JointPreset(FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI)); 19 boneMap.put("torso", new JointPreset(FastMath.QUARTER_PI, -FastMath.QUARTER_PI, 0, 0, FastMath.QUARTER_PI, -FastMath.QUARTER_PI)); 21 boneMap.put("upperleg", new JointPreset(FastMath.PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI/2, -FastMath.QUARTER_PI/2, FastMath.QUARTER_PI, -FastMath.QUARTER_PI)); 23 boneMap.put("lowerleg", new JointPreset(0, -FastMath.PI, 0, 0, 0, 0)); 25 boneMap.put("foot", new JointPreset(0, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI)); 27 boneMap.put("upperarm", new JointPreset(FastMath.HALF_PI, -FastMath.QUARTER_PI, 0, 0, FastMath.HALF_PI, -FastMath.QUARTER_PI)); 29 boneMap.put("lowerarm", new JointPreset(FastMath.HALF_PI, 0, 0, 0, 0, 0)); 31 boneMap.put("hand", new JointPreset(FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI)); 39 lexicon.put("head", entry); 46 lexicon.put("torso", entry) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardTestsBase.java | 52 mContentValuesForQP.put("ENCODING", "QUOTED-PRINTABLE"); 54 mContentValuesForSJis.put("CHARSET", "SHIFT_JIS"); 56 mContentValuesForUtf8.put("CHARSET", "UTF-8"); 58 mContentValuesForQPAndSJis.put("ENCODING", "QUOTED-PRINTABLE"); 59 mContentValuesForQPAndSJis.put("CHARSET", "SHIFT_JIS"); 61 mContentValuesForQPAndUtf8.put("ENCODING", "QUOTED-PRINTABLE"); 62 mContentValuesForQPAndUtf8.put("CHARSET", "UTF-8"); 64 mContentValuesForBase64V21.put("ENCODING", "BASE64"); 66 mContentValuesForBase64V30.put("ENCODING", "b");
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ActionMultiMap.java | 27 public void put(String mimeType, Action info) { method in class:ActionMultiMap 28 put(mimeType, info, false); method 35 public void put(String mimeType, Action info, boolean front) { method in class:ActionMultiMap 36 // Put the info first 42 put(mimeType, collectList); method
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
UsbHid.java | 46 buffer.put(new byte[] { 92 buffer.put(collection); 94 buffer.put(new byte[] { 102 buffer.put((byte)mReportId); 104 buffer.put((byte)contactCount); 109 buffer.put((byte)((contact.id << 2) | 0x03)); 111 buffer.put((byte)contact.x).put((byte)(contact.x >> 8)); 113 buffer.put((byte)contact.y).put((byte)(contact.y >> 8)) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
ColorResourceLoader.java | 14 androidColors.put("black", Color.BLACK); 15 androidColors.put("darkgray", Color.DKGRAY); 16 androidColors.put("gray", Color.GRAY); 17 androidColors.put("lightgray", Color.LTGRAY); 18 androidColors.put("white", Color.WHITE); 19 androidColors.put("red", Color.RED); 20 androidColors.put("green", Color.GREEN); 21 androidColors.put("blue", Color.BLUE); 22 androidColors.put("yellow", Color.YELLOW); 23 androidColors.put("cyan", Color.CYAN) [all...] |
/packages/apps/Stk/src/com/android/stk/ |
TonePlayer.java | 34 mToneMap.put(Tone.DIAL, ToneGenerator.TONE_SUP_DIAL); 35 mToneMap.put(Tone.BUSY, ToneGenerator.TONE_SUP_BUSY); 36 mToneMap.put(Tone.CONGESTION, ToneGenerator.TONE_SUP_CONGESTION); 37 mToneMap.put(Tone.RADIO_PATH_ACK, ToneGenerator.TONE_SUP_RADIO_ACK); 38 mToneMap.put(Tone.RADIO_PATH_NOT_AVAILABLE, ToneGenerator.TONE_SUP_RADIO_NOTAVAIL); 39 mToneMap.put(Tone.ERROR_SPECIAL_INFO, ToneGenerator.TONE_SUP_ERROR); 40 mToneMap.put(Tone.CALL_WAITING, ToneGenerator.TONE_SUP_CALL_WAITING); 41 mToneMap.put(Tone.RINGING, ToneGenerator.TONE_SUP_RINGTONE); 42 mToneMap.put(Tone.GENERAL_BEEP, ToneGenerator.TONE_PROP_BEEP); 43 mToneMap.put(Tone.POSITIVE_ACK, ToneGenerator.TONE_PROP_ACK) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
DefaultSignatureAlgorithmIdentifierFinder.java | 45 // algorithms.put("MD2WITHRSAENCRYPTION", PKCSObjectIdentifiers.md2WithRSAEncryption); 46 // algorithms.put("MD2WITHRSA", PKCSObjectIdentifiers.md2WithRSAEncryption); 48 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 49 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 50 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 51 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 53 // algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 54 // algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 56 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 57 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption) [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 64 VAR_MAP.put("build.board", new StaticVarGetter(Build.BOARD)); 65 VAR_MAP.put("build.brand", new StaticVarGetter(Build.BRAND)); 66 VAR_MAP.put("build.device", new StaticVarGetter(Build.DEVICE)); 67 VAR_MAP.put("build.display", new StaticVarGetter(Build.DISPLAY)); 68 VAR_MAP.put("build.fingerprint", new StaticVarGetter(Build.FINGERPRINT)); 69 VAR_MAP.put("build.host", new StaticVarGetter(Build.HOST)); 70 VAR_MAP.put("build.id", new StaticVarGetter(Build.ID)); 71 VAR_MAP.put("build.model", new StaticVarGetter(Build.MODEL)); 72 VAR_MAP.put("build.product", new StaticVarGetter(Build.PRODUCT)); 73 VAR_MAP.put("build.tags", new StaticVarGetter(Build.TAGS)) [all...] |