/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
MemoryCacheAdapter.java | 3 import com.bumptech.glide.load.Key; 29 public Resource<?> remove(Key key) { 34 public Resource<?> put(Key key, Resource<?> resource) {
|
SafeKeyGenerator.java | 3 import com.bumptech.glide.load.Key; 12 * A class that generates and caches safe and unique string file names from {@link com.bumptech.glide.load.Key}s. 15 private final LruCache<Key, String> loadIdToSafeHash = new LruCache<Key, String>(1000); 17 public String getSafeKey(Key key) { 20 safeKey = loadIdToSafeHash.get(key); 25 key.updateDiskCacheKey(messageDigest); 33 loadIdToSafeHash.put(key, safeKey);
|
/system/keymaster/ |
key.h | 30 class Key { 32 virtual ~Key() {} 35 * Return a copy of raw key material, in the specified format. 54 Key(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced,
|
/external/v8/src/ |
splay-tree.h | 17 // typedef Key: the key type 19 // static const Key kNoKey: the dummy key used when no key is set 21 // static int (Compare)(Key& a, Key& b) -> {-1, 0, 1}: comparison function 33 typedef typename Config::Key Key; 56 // Checks if there is a mapping for the key 120 Key key() { return key_; } function in class:v8::internal::SplayTree::Node 140 const Key& key() { return node_->key_; } function in class:v8::internal::SplayTree::BASE_EMBEDDED [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
Engine.cpp | 116 template <typename Key> 117 Element<Key> *Engine::getFromCollection(const Key &key) const 119 const Collection<Key> collection = getCollection<Key>(); 120 return collection.get(key); 123 template <typename Key> 124 status_t Engine::add(const std::string &name, const Key &key) [all...] |
Element.h | 30 template <typename Key> 49 * @tparam Key type of the unique identifier. 54 status_t setIdentifier(Key identifier) 63 const Key &getIdentifier() const { return mIdentifier; } 96 Key mIdentifier; /**< Unique numerical Identifier of a policy base element*/
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
DynamicGridKeyboard.java | 23 import com.android.inputmethod.keyboard.Key; 50 private final ArrayDeque<Key> mPendingKeys = new ArrayDeque<>(); 52 private List<Key> mCachedGridKeys; 57 final Key key0 = getTemplateKey(TEMPLATE_KEY_CODE_0); 58 final Key key1 = getTemplateKey(TEMPLATE_KEY_CODE_1); 67 private Key getTemplateKey(final int code) { 68 for (final Key key : super.getSortedKeys()) { 69 if (key.getCode() == code) { 70 return key; 108 final GridKey key = new GridKey(usedKey); local 173 final Key key; local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
ActualKeyboardBuilder.java | 19 import com.android.inputmethod.keyboard.Key; 34 * An actual keyboard is an array of rows, and a row consists of an array of {@link Key}s. 35 * Each row may have different number of {@link Key}s. 37 public final class ActualKeyboardBuilder extends AbstractKeyboardBuilder<Key> { 38 private static ArrayList<Key> filterOutSpacer(final List<Key> keys) { 39 final ArrayList<Key> filteredKeys = new ArrayList<>(); 40 for (final Key key : keys) { 41 if (key.isSpacer()) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/ |
copybot.cfg | 5 aws_access_key_id = <AWS Access Key Here> 6 aws_secret_access_key = <AWS Secret Key Here> 11 #dest_aws_access_key_id = <AWS Access Key Here> 12 #dest_aws_secret_access_key = <AWS Secret Key Here>
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
OriginalKey.java | 3 import com.bumptech.glide.load.Key; 9 * A class for keeping track of the cache key of the original data + any requested signature. 11 class OriginalKey implements Key { 14 private final Key signature; 16 public OriginalKey(String id, Key signature) {
|
/external/guice/core/src/com/google/inject/ |
Scope.java | 43 * @param key binding key 50 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped);
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
LinkedFilterBindingImpl.java | 20 import com.google.inject.Key; 31 class LinkedFilterBindingImpl extends AbstractServletModuleBinding<Key<? extends Filter>> 35 Key<? extends Filter> target, UriPatternMatcher patternMatcher) { 39 public Key<? extends Filter> getLinkedKey() {
|
LinkedServletBindingImpl.java | 20 import com.google.inject.Key; 31 class LinkedServletBindingImpl extends AbstractServletModuleBinding<Key<? extends HttpServlet>> 35 Key<? extends HttpServlet> target, UriPatternMatcher patternMatcher) { 39 public Key<? extends HttpServlet> getLinkedKey() {
|
/external/skia/src/core/ |
SkImageFilterCacheKey.h | 11 struct SkImageFilter::Cache::Key { 12 Key(const uint32_t uniqueID, const SkMatrix& matrix, 19 // Assert that Key is tightly-packed, since it is hashed. 20 static_assert(sizeof(Key) == sizeof(uint32_t) + sizeof(SkMatrix) + sizeof(SkIRect) + 32 bool operator==(const Key& other) const {
|
/external/v8/src/compiler/ |
node-cache.h | 26 // A cache for nodes based on a key. Useful for implementing canonicalization of 28 template <typename Key, typename Hash = base::hash<Key>, 29 typename Pred = std::equal_to<Key> > 36 // Search for node associated with {key} and return a pointer to a memory 37 // location in this cache that stores an entry for the key. If the location 44 Node** Find(Zone* zone, Key key);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibilityLongPressTimer.java | 23 import com.android.inputmethod.keyboard.Key; 29 public void performLongClickOn(Key key); 50 mCallback.performLongClickOn((Key)msg.obj); 58 public void startLongPress(final Key key) { 60 final Message longPressMessage = obtainMessage(MSG_LONG_PRESS, key);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
DrawingProxy.java | 19 import com.android.inputmethod.keyboard.Key; 28 * Called when a key is being pressed. 29 * @param key the {@link Key} that is being pressed. 30 * @param withPreview true if key popup preview should be displayed. 32 public void onKeyPressed(@Nonnull Key key, boolean withPreview); 35 * Called when a key is being released. 36 * @param key the {@link Key} that is being released [all...] |
KeyboardParams.java | 21 import com.android.inputmethod.keyboard.Key; 68 public final SortedSet<Key> mSortedKeys = new TreeSet<>(ROW_COLUMN_COMPARATOR); 70 public final ArrayList<Key> mShiftKeys = new ArrayList<>(); 72 public final ArrayList<Key> mAltCodeKeysWhileTyping = new ArrayList<>(); 93 // Comparator to sort {@link Key}s from top-left to bottom-right order. 94 private static final Comparator<Key> ROW_COLUMN_COMPARATOR = new Comparator<Key>() { 96 public int compare(final Key lhs, final Key rhs) { 119 public void onAddKey(@Nonnull final Key newKey) 120 final Key key = mUniqueKeysCache.getUniqueKey(newKey); local [all...] |
/frameworks/native/libs/input/tests/ |
StructLayout_test.cpp | 37 CHECK_OFFSET(InputMessage::Body::Key, seq, 0); 38 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8); 39 CHECK_OFFSET(InputMessage::Body::Key, deviceId, 16); 40 CHECK_OFFSET(InputMessage::Body::Key, source, 20); 41 CHECK_OFFSET(InputMessage::Body::Key, action, 24); 42 CHECK_OFFSET(InputMessage::Body::Key, flags, 28); 43 CHECK_OFFSET(InputMessage::Body::Key, keyCode, 32); 44 CHECK_OFFSET(InputMessage::Body::Key, scanCode, 36); 45 CHECK_OFFSET(InputMessage::Body::Key, metaState, 40); 46 CHECK_OFFSET(InputMessage::Body::Key, repeatCount, 44) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyTest.java | 24 import java.security.Key; 30 * Tests for <code>Key</code> class field 49 assertEquals("Incorrect serialVersionUID", mk.getSerVerUID(), //Key.serialVersionUID, 53 public class checkKey implements Key { 55 return "Key";
|
/external/guice/core/src/com/google/inject/internal/ |
Lookups.java | 19 import com.google.inject.Key; 32 <T> Provider<T> getProvider(Key<T> key);
|
/external/guice/core/test/com/google/inject/ |
ReflectionTest.java | 44 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); 48 assertEquals(Key.get(Foo.class), fooBinding.getKey()); 58 Binding<?> i = injector.getBinding(Key.get(int.class, I.class)); 62 assertEquals(Key.get(int.class, I.class), i.getKey()); 71 bind(Key.get(Foo.class)).to(Key.get(Bar.class)); 75 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); 79 assertEquals(Key.get(Foo.class), fooBinding.getKey());
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
OptionalBinderBinding.java | 20 import com.google.inject.Key; 30 * {@code Optional<T>} key. Other bindings can be validated to be derived from this 41 /** Returns the {@link Key} for this binding. */ 42 Key<T> getKey(); 50 * returns a key of <code>Optional<String></code>, then this will always return a 61 * returns a key of <code>Optional<String></code>, then this will always return a
|
/external/pdfium/third_party/base/ |
stl_util.h | 10 // Test to see if a set, map, hash_set or hash_map contains a particular key. 11 // Returns true if the key is in the collection. 12 template <typename Collection, typename Key> 13 bool ContainsKey(const Collection& collection, const Key& key) { 14 return collection.find(key) != collection.end();
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.cpp | 34 template<class Key, class Hash> 35 bool SparseWeightVector<Key, Hash>::IsValid() const { 47 template<class Key, class Hash> 48 void SparseWeightVector<Key, Hash>::AdditiveWeightUpdate( 50 const SparseWeightVector<Key, Hash> &w1, 61 template<class Key, class Hash> 62 void SparseWeightVector<Key, Hash>::AdditiveSquaredWeightUpdate( 64 const SparseWeightVector<Key, Hash> &w1, 76 template<class Key, class Hash> 77 void SparseWeightVector<Key, Hash>::AdditiveInvSqrtWeightUpdate [all...] |