Searched refs:key (Results 176 - 200 of 403) sorted by last modified time

1234567891011>>

/frameworks/base/libs/hwui/
H A DProgram.h223 * Computes the unique key identifying this program.
225 programid key() const { function in struct:android::uirenderer::ProgramDescription
226 programid key = 0; local
227 if (hasTexture) key |= PROGRAM_KEY_TEXTURE;
228 if (hasAlpha8Texture) key |= PROGRAM_KEY_A8_TEXTURE;
230 key |= PROGRAM_KEY_BITMAP;
232 key |= PROGRAM_KEY_BITMAP_NPOT;
233 key |= getEnumForWrap(bitmapWrapS) << PROGRAM_BITMAP_WRAPS_SHIFT;
234 key |= getEnumForWrap(bitmapWrapT) << PROGRAM_BITMAP_WRAPT_SHIFT;
237 if (hasGradient) key |
[all...]
H A DProgramCache.cpp440 programid key = description.key(); local
441 ssize_t index = mCache.indexOfKey(key);
445 program = generateProgram(description, key);
446 mCache.add(key, program);
457 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { argument
H A DProgramCache.h62 Program* generateProgram(const ProgramDescription& description, programid key);
H A DSkiaShader.cpp72 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, argument
74 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) {
103 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, argument
105 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) {
182 float* positions, int count, SkShader* key, SkShader::TileMode tileMode,
184 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend),
261 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode,
263 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key,
300 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend):
301 SkiaShader(kSweepGradient, key, SkShade
181 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
260 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
299 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument
313 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
373 SkiaComposeShader(SkiaShader* first, SkiaShader* second, SkXfermode::Mode mode, SkShader* key) argument
[all...]
H A DSkiaShader.h57 ANDROID_API SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX,
140 ANDROID_API SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX,
163 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
187 int count, SkShader* key, SkMatrix* matrix, bool blend);
197 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
212 float* positions, int count, SkShader* key,SkShader::TileMode tileMode,
228 SkShader* key);
/frameworks/base/libs/storage/
H A DIMountService.cpp236 const String16& key, const int32_t ownerUid)
243 data.writeString16(key);
291 int32_t mountSecureContainer(const String16& id, const String16& key, const int32_t ownerUid) argument
296 data.writeString16(key);
436 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, argument
443 data.writeString16(key);
235 createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, const String16& key, const int32_t ownerUid) argument
/frameworks/base/location/java/android/location/
H A DLocation.java63 * Bundle key for a version of the location that has been fed through
72 * Bundle key for a version of the location containing no GPS data.
803 * <p> A number of common key/value pairs are listed
910 * @param key the key associated with the desired extra Location
914 public Location getExtraLocation(String key) { argument
916 Parcelable value = mExtras.getParcelable(key);
927 * @param key the key associated with the Location extra
931 public void setExtraLocation(String key, Locatio argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java442 * If the user hits another key within the play sound delay, then
451 * The user has hit another key during the delay (e.g., 300ms)
452 * since the last volume key up, so cancel any sounds.
472 * Adjust the volume in on key down since it is more
513 * Play a sound. This is done on key up since we don't want the
735 * UI sounds are screen lock/unlock, camera shutter, key clicks...
1561 * TODO: Replace with a more generic key:value get/set mechanism
1563 * param key name of parameter to set. Must not be null.
1570 @Deprecated public void setParameter(String key, String value) { argument
1571 setParameters(key
2486 getProperty(String key) argument
[all...]
H A DAudioService.java3403 onNewPlaybackInfoForRcc(msg.arg1 /* rccId */, msg.arg2 /* key */,
4296 // sanity check on the incoming key event
4298 Log.e(TAG, "not dispatching invalid media key event " + keyEvent);
4322 * @param keyEvent a non-null KeyEvent whose key code is one of the supported media buttons
4323 * @param needWakeLock true if a PARTIAL_WAKE_LOCK needs to be held while this key event
4346 * @param keyEvent a non-null KeyEvent whose key code is one of the supported media buttons
4347 * @param needWakeLock true if a PARTIAL_WAKE_LOCK needs to be held while this key event
4386 * The different actions performed in response to a voice button key event.
4397 * Filter key events that may be used for voice-based interactions
4398 * @param keyEvent a non-null KeyEvent whose key cod
5431 onNewPlaybackInfoForRcc(int rccId, int key, int value) argument
[all...]
H A DExifInterface.java189 * The key is the standard tag name and the value is the tag's value: e.g.
255 String key = iter.getKey();
256 if (key.equals("hasThumbnail")) {
261 sb.append(key + "=");
H A DMediaCodec.java357 key = newKey;
375 * A 16-byte opaque key
377 public byte[] key; field in class:MediaCodec.CryptoInfo
H A DMediaPlayer.java1430 * Sets the parameter indicated by key.
1431 * @param key key indicates the parameter to be set.
1436 public native boolean setParameter(int key, Parcel value); argument
1439 * Sets the parameter indicated by key.
1440 * @param key key indicates the parameter to be set.
1445 public boolean setParameter(int key, String value) { argument
1448 boolean ret = setParameter(key, p);
1454 * Sets the parameter indicated by key
1460 setParameter(int key, int value) argument
1473 getParameter(int key, Parcel reply) argument
1482 getParcelParameter(int key) argument
1494 getStringParameter(int key) argument
1508 getIntParameter(int key) argument
[all...]
H A DMetadata.java37 Metadata is like a Bundle. It is sparse and each key can occur at
38 most once. The key is an integer and the value is the actual metadata.
53 // The key range [0 8192) is reserved for the system.
255 // Map to associate a Metadata key (e.g TITLE) with the offset of
257 // Used to look up if a key was present too.
279 | metadata key | // TITLE
308 // Check the metadata key.
418 * @return true if a value is present for the given key.
422 throw new IllegalArgumentException("Invalid key: " + metadataId);
428 // Caller must make sure the key i
434 getString(final int key) argument
442 getInt(final int key) argument
450 getBoolean(final int key) argument
458 getLong(final int key) argument
468 getDouble(final int key) argument
476 getByteArray(final int key) argument
484 getDate(final int key) argument
535 checkType(final int key, final int expectedType) argument
[all...]
H A DRemoteControlClient.java219 * Flag indicating a RemoteControlClient makes use of the "previous" media key.
226 * Flag indicating a RemoteControlClient makes use of the "rewind" media key.
233 * Flag indicating a RemoteControlClient makes use of the "play" media key.
240 * Flag indicating a RemoteControlClient makes use of the "play/pause" media key.
247 * Flag indicating a RemoteControlClient makes use of the "pause" media key.
254 * Flag indicating a RemoteControlClient makes use of the "stop" media key.
261 * Flag indicating a RemoteControlClient makes use of the "fast forward" media key.
268 * Flag indicating a RemoteControlClient makes use of the "next" media key.
409 * The metadata key for the content artwork / album art.
414 * TODO(jmtrivi) have lockscreen and music move to the new key nam
439 putString(int key, String value) argument
468 putLong(int key, long value) argument
492 putBitmap(int key, Bitmap bitmap) argument
1149 validTypeForKey(int key, int[] validKeys) argument
[all...]
H A DTimedText.java422 Log.w(TAG, "Invalid timed text key found: " + type);
427 int key = parcel.readInt();
428 if (!isValidKey(key)) {
429 Log.w(TAG, "Invalid timed text key found: " + key);
435 switch (key) {
517 if (mKeyObjectMap.containsKey(key)) {
518 mKeyObjectMap.remove(key);
521 mKeyObjectMap.put(key, object);
542 int key
690 isValidKey(final int key) argument
704 containsKey(final int key) argument
727 getObject(final int key) argument
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DBassBoost.java228 * Settings class constructor from a key=value; pairs formatted string. The string is
238 String key = st.nextToken();
239 if (!key.equals("BassBoost")) {
241 "invalid settings for BassBoost: " + key);
244 key = st.nextToken();
245 if (!key.equals("strength")) {
246 throw new IllegalArgumentException("invalid key name: " + key);
250 throw new IllegalArgumentException("invalid value for key: " + key);
[all...]
H A DEnvironmentalReverb.java525 * Settings class constructor from a key=value; pairs formatted string. The string is
535 String key = st.nextToken();
536 if (!key.equals("EnvironmentalReverb")) {
538 "invalid settings for EnvironmentalReverb: " + key);
542 key = st.nextToken();
543 if (!key.equals("roomLevel")) {
544 throw new IllegalArgumentException("invalid key name: " + key);
547 key = st.nextToken();
548 if (!key
[all...]
H A DEqualizer.java463 * Settings class constructor from a key=value; pairs formatted string. The string is
473 String key = st.nextToken();
474 if (!key.equals("Equalizer")) {
476 "invalid settings for Equalizer: " + key);
479 key = st.nextToken();
480 if (!key.equals("curPreset")) {
481 throw new IllegalArgumentException("invalid key name: " + key);
484 key = st.nextToken();
485 if (!key
[all...]
H A DPresetReverb.java245 * Settings class constructor from a key=value; pairs formatted string. The string is
255 String key = st.nextToken();
256 if (!key.equals("PresetReverb")) {
258 "invalid settings for PresetReverb: " + key);
261 key = st.nextToken();
262 if (!key.equals("preset")) {
263 throw new IllegalArgumentException("invalid key name: " + key);
267 throw new IllegalArgumentException("invalid value for key: " + key);
[all...]
H A DVirtualizer.java230 * Settings class constructor from a key=value; pairs formatted string. The string is
240 String key = st.nextToken();
241 if (!key.equals("Virtualizer")) {
243 "invalid settings for Virtualizer: " + key);
246 key = st.nextToken();
247 if (!key.equals("strength")) {
248 throw new IllegalArgumentException("invalid key name: " + key);
252 throw new IllegalArgumentException("invalid value for key: " + key);
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp154 const uint8_t key[16],
161 index, offset, subSamples, numSubSamples, key, iv, mode,
505 jbyte *key = NULL; local
561 key = env->GetByteArrayElements(keyObj, &isCopy);
580 (const uint8_t *)key, (const uint8_t *)iv,
592 if (key != NULL) {
593 env->ReleaseByteArrayElements(keyObj, key, 0);
594 key = NULL;
749 gFields.cryptoInfoKeyID = env->GetFieldID(clazz, "key", "[B");
149 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
H A Dandroid_media_MediaCodec.h65 const uint8_t key[16],
H A Dandroid_media_MediaPlayer.cpp204 // We build a KeyedVector out of the key and val arrays
767 android_media_MediaPlayer_setParameter(JNIEnv *env, jobject thiz, jint key, jobject java_request) argument
769 ALOGV("setParameter: key %d", key);
777 status_t err = mp->setParameter(key, *request);
786 android_media_MediaPlayer_getParameter(JNIEnv *env, jobject thiz, jint key, jobject java_reply) argument
788 ALOGV("getParameter: key %d", key);
796 process_media_player_call(env, thiz, mp->getParameter(key, reply), NULL, NULL );
H A Dandroid_media_Utils.cpp54 jstring key = (jstring) env->GetObjectArrayElement(keys, i); local
57 const char* keyStr = env->GetStringUTFChars(key, NULL);
64 env->ReleaseStringUTFChars(key, keyStr);
70 env->ReleaseStringUTFChars(key, keyStr);
72 env->DeleteLocalRef(key);
130 const char *key, int32_t value) {
131 jstring keyObj = env->NewStringUTF(key);
170 const char *key = msg->getEntryNameAt(i, &valueType); local
178 CHECK(msg->findInt32(key, &val));
187 CHECK(msg->findInt64(key,
128 SetMapInt32( JNIEnv *env, jobject hashMapObj, jmethodID hashMapPutID, const char *key, int32_t value) argument
322 AString key = tmp; local
[all...]
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_rights_manager.h144 * \param key The structure of the CEK.
149 int32_t drm_aesDecBuffer(uint8_t * Buffer, int32_t * BufferLen, AES_KEY *key);

Completed in 1631 milliseconds

1234567891011>>