Searched defs:keys (Results 1 - 25 of 84) sorted by last modified time

1234

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DBrowseFragmentTest.java215 private void sendKeys(int ...keys) { argument
216 for (int i = 0; i < keys.length; i++) {
217 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(keys[i]);
H A DBrowseSupportFragmentTest.java218 private void sendKeys(int ...keys) { argument
219 for (int i = 0; i < keys.length; i++) {
220 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(keys[i]);
H A DSingleFragmentTestBase.java38 public void sendKeys(int ...keys) { argument
39 for (int i = 0; i < keys.length; i++) {
40 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(keys[i]);
H A DSingleSupportFragmentTestBase.java41 public void sendKeys(int ...keys) { argument
42 for (int i = 0; i < keys.length; i++) {
43 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(keys[i]);
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DDatePickerTest.java378 private void sendKeys(int ...keys) { argument
379 for (int i = 0; i < keys.length; i++) {
380 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(keys[i]);
H A DTimePickerTest.java484 private void sendKeys(int ...keys) { argument
485 for (int i = 0; i < keys.length; i++) {
486 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(keys[i]);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1229 Spec[] keys = getGroupBounds().keys;
1230 for (int i = 0, N = keys.length; i < N; i++) {
1231 Interval span = min ? keys[i].span : keys[i].span.inverse();
1369 for (int i = 0; i < links.keys.length; i++) {
1370 Interval key = links.keys[i];
2174 K[] keys = (K[]) Array.newInstance(keyType, N);
2177 keys[i] = get(i).first;
2180 return new PackedMap<K, V>(keys, value
2201 public final K[] keys; field in class:GridLayout.PackedMap
2204 PackedMap(K[] keys, V[] values) argument
2215 createIndex(K[] keys) argument
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp3111 const int32_t keys[2] = { AKEYCODE_HOME, AKEYCODE_A }; local
3113 ASSERT_TRUE(mapper->markSupportedKeyCodes(AINPUT_SOURCE_ANY, 2, keys, flags));
3286 // Should not have sent any more keys or motions.
3360 // Should not have sent any more keys or motions.
3459 // Should not have sent any more keys or motions.
3550 // Should not have sent any more keys or motions.
4650 // Should not have sent any more keys or motions.
4826 // Should not have sent any more keys or motions.
4997 // Should not have sent any more keys or motions.
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java64 * keys and values. The first sample should have higher rank than the second
79 public float scoreSample(String[] keys, float[] values) { argument
80 return nativeScoreSample(keys, values, mNativeClassifier);
129 public boolean setModelWeights(String[] keys, float [] values, float normalizer){ argument
130 return nativeSetWeightClassifier(keys, values, normalizer, mNativeClassifier);
178 private native float nativeScoreSample(String[] keys, float[] values, long classifierPtr); argument
180 private native void nativeGetWeightClassifier(String [] keys, float[] values, float normalizer, argument
183 private native void nativeGetParameterClassifier(String [] keys, String[] values, argument
188 private native boolean nativeSetWeightClassifier(String [] keys, float[] values, argument
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
H A Djni_stochastic_linear_ranker.cpp30 void CreateSparseWeightVector(JNIEnv* env, const jobjectArray keys, const float* values, argument
35 jstring s = (jstring) env->GetObjectArrayElement(keys, i);
42 void ConvertParameter2Object(JNIEnv* env, jobjectArray *keys, jobjectArray *values, argument
47 env->SetObjectArrayElement(*keys, index, jstrK);
51 void DecomposeSparseWeightVector(JNIEnv* env, jobjectArray *keys, jfloatArray *values, argument
61 env->SetObjectArrayElement(*keys, i, jstr);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java88 public float scoreSample(String[] keys, float[] values) { argument
90 return super.scoreSample(keys, values);
94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) +
95 mAutoAlpha * priorScoreSample(keys,values);
97 return priorScoreSample(keys,values);
99 return (1 - mAlpha) * super.scoreSample(keys,values) +
100 mAlpha * priorScoreSample(keys,values);
104 public float priorScoreSample(String[] keys, float[] values) { argument
106 for (int i=0; i< keys.length; i++){
107 if (mPriorWeights.get(keys[
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java89 "The sets don't match! That means the keys shouldn't match also");
432 private static <K, V> void removeFromMap(Map<K, V> map, List<K> keys) { argument
433 for (K key : keys) {
436 keys.clear();
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java711 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument
H A DDelegateMethodAdapter.java432 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument
434 mOrgWriter.visitLookupSwitchInsn(dflt, keys, labels);
H A DDependencyFinder.java589 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument
H A DStubMethodAdapter.java349 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument
351 mParentVisitor.visitLookupSwitchInsn(dflt, keys, labels);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBar.java5220 * Notifications with keys in this set are not actually around anymore. We kept them around
5798 protected void setNotificationsShown(String[] keys) { argument
5800 mNotificationListener.setNotificationsShown(keys);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DExtensionController.java55 String[] keys(); method in interface:ExtensionController.TunerFactory
H A DExtensionControllerImpl.java50 mExtension.addTunerFactory(factory, factory.keys());
156 public void addTunerFactory(TunerFactory<T> factory, String[] keys) { argument
157 mProducers.add(new TunerItem(factory, factory.keys()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DLockscreenFragment.java137 private void addTunable(Tunable t, String... keys) { argument
139 mTunerService.addTunable(t, keys);
329 public String[] keys() { method in class:LockscreenFragment.LockButtonFactory
H A DNavBarTuner.java112 private void addTunable(Tunable tunable, String... keys) { argument
114 Dependency.get(TunerService.class).addTunable(tunable, keys);
H A DTunerService.java49 public abstract void addTunable(Tunable tunable, String... keys); argument
H A DTunerServiceImpl.java64 // Map of Uris we listen on to their settings keys.
66 // Map of settings keys to the listener.
150 public void addTunable(Tunable tunable, String... keys) { argument
151 for (String key : keys) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeTunerService.java31 public void addTunable(Tunable tunable, String... keys) { argument
32 for (String key : keys) {

Completed in 501 milliseconds

1234