Searched defs:weight (Results 1 - 5 of 5) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
H A DDataKind.java48 public int weight; field in class:DataKind
91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { argument
94 this.weight = weight;
113 sb.append(" weight=").append(weight);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DContactsSource.java146 * {@link Comparator} to sort by {@link DataKind#weight}.
150 return object1.weight - object2.weight;
156 * {@link DataKind#weight}.
195 public int weight; field in class:ContactsSource.DataKind
227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) { argument
231 this.weight = weight;
/packages/inputmethods/LatinIME/native/jni/src/
H A Dcorrection.cpp963 // add a weight based on edit distance.
966 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength); local
969 return (static_cast<float>(score) / SUGGEST_INTERFACE_OUTPUT_SCALE) * weight;
977 return (static_cast<float>(score) / maxScore) * weight;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DBaseAccountType.java742 int titleRes, int weight, StringInflater actionHeader, StringInflater actionBody)
749 final DataKind kind = new DataKind(mimeType, titleRes, weight, true);
740 newDataKind(Context context, XmlPullParser parser, AttributeSet attrs, boolean isPseudo, String mimeType, String typeColumn, int titleRes, int weight, StringInflater actionHeader, StringInflater actionBody) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DSuggestionStripView.java489 private static void setLayoutWeight(final View v, final float weight, final int height) { argument
493 llp.weight = weight;

Completed in 204 milliseconds