Searched refs:weight (Results 1 - 9 of 9) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
H A D | DataKind.java | 48 public int weight; field in class:DataKind 98 public DataKind(String mimeType, int titleRes, int weight, boolean editable, argument 102 this.weight = weight; 118 sb.append(" weight=").append(weight);
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | BitmapUtils.java | 139 int weight = weights[i+RADIUS]; 140 red += weight *((argb & RED_MASK) >> RED_MASK_SHIFT); 141 green += weight *((argb & GREEN_MASK) >> GREEN_MASK_SHIFT); 142 blue += weight *(argb & BLUE_MASK);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | ContactsSource.java | 146 * {@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/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | EllipsizeLayout.java | 52 outOfSpec |= (lp.weight > 0f);
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountType.java | 307 * {@link Comparator} to sort by {@link DataKind#weight}. 312 return object1.weight - object2.weight; 318 * {@link DataKind#weight}.
|
H A D | BaseAccountType.java | 788 int titleRes, int weight, int editorLayoutResourceId, 796 final DataKind kind = new DataKind(mimeType, titleRes, weight, true, 786 newDataKind(Context context, XmlPullParser parser, AttributeSet attrs, boolean isPseudo, String mimeType, String typeColumn, int titleRes, int weight, int editorLayoutResourceId, StringInflater actionHeader, StringInflater actionBody) argument
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | TextCandidatesViewManager.java | 579 layoutParams.weight = 0; 1417 float weight = 0; 1423 weight = 1.0f; 1429 weight);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
H A D | SuggestionStripView.java | 518 private static void setLayoutWeight(View v, float weight, int height) { argument 522 llp.weight = weight;
|
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | correction.cpp | 1136 // add a weight based on edit distance. 1139 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength); local 1140 return (static_cast<float>(score) / maxScore) * weight;
|
Completed in 1062 milliseconds