Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 20 of 20) sorted by relevance

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java150 return object1.weight - object2.weight;
195 public int weight; field in ContactsSource.DataKind
227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) { in DataKind() argument
231 this.weight = weight; in DataKind()
/packages/apps/Dialer/src/com/android/dialer/widget/
DOverlappingPaneLayout.java421 if (lp.weight > 0) { in onMeasure()
422 weightSum += lp.weight; in onMeasure()
482 final boolean skippedFirstPass = lp.height == 0 && lp.weight > 0; in onMeasure()
485 … if (lp.height < 0 && (measuredHeight > fixedPanelHeightLimit || lp.weight > 0)) { in onMeasure()
510 } else if (lp.weight > 0) { in onMeasure()
541 final int addedHeight = (int) (lp.weight * heightToDistribute / weightSum); in onMeasure()
1203 public float weight = 0; field in OverlappingPaneLayout.LayoutParams
1228 this.weight = source.weight; in LayoutParams()
1235 this.weight = a.getFloat(0, 0); in LayoutParams()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataKind.java48 public int weight; field in DataKind
91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind() argument
94 this.weight = weight; in DataKind()
113 sb.append(" weight=").append(weight); in toString()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsMemDetail.java125 private void addMemUseDetailsItem(ViewGroup parent, CharSequence title, double weight) { in addMemUseDetailsItem() argument
126 if (weight > 0) { in addMemUseDetailsItem()
127 float level = (float)(weight/mMemTotalWeight); in addMemUseDetailsItem()
129 (long)((weight * 1024) / mTotalTime)); in addMemUseDetailsItem()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dautocorrection_threshold_utils.cpp93 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength); in calcNormalizedScore() local
97 return (static_cast<float>(score) / SUGGEST_INTERFACE_OUTPUT_SCALE) * weight; in calcNormalizedScore()
106 return (static_cast<float>(score) / maxScore) * weight; in calcNormalizedScore()
/packages/apps/Camera2/src/com/android/camera/util/
DGusterpolator.java76 float weight = difference / STEP_SIZE; in getInterpolation() local
78 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]); in getInterpolation()
DCameraUtil.java933 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument
936 int r = ((pixel & 0x00ff0000) + (int) ((newPixel & 0x00ff0000) * weight)) & 0x00ff0000; in addPixel()
937 int g = ((pixel & 0x0000ff00) + (int) ((newPixel & 0x0000ff00) * weight)) & 0x0000ff00; in addPixel()
938 int b = ((pixel & 0x000000ff) + (int) ((newPixel & 0x000000ff) * weight)) & 0x000000ff; in addPixel()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java579 layoutParams.weight = 0; in createNormalCandidateView()
1417 float weight = 0; in createNextLineFor1st() local
1423 weight = 1.0f; in createNextLineFor1st()
1429 weight); in createNextLineFor1st()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java613 static void setLayoutWeight(final View v, final float weight, final int height) { in setLayoutWeight() argument
617 llp.weight = weight; in setLayoutWeight()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java301 return object1.weight - object2.weight;
DBaseAccountType.java760 int titleRes, int weight, StringInflater actionHeader, StringInflater actionBody) in newDataKind() argument
767 final DataKind kind = new DataKind(mimeType, titleRes, weight, true); in newDataKind()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java457 private float weight(PointF a, PointF b, in weight() method in DeviceProfile
502 float w = weight(xy, p.dimens, pow); in invDistWeightedInterpolate()
513 float w = weight(xy, p.dimens, pow); in invDistWeightedInterpolate()
DWeightWatcher.java166 params.weight = 0f; in ProcessWatcher()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java1609 float weight = 0.2f; in getPosition() local
1610 return historyPosition.getPosition() * weight + (1f - weight) * currentPosition; in getPosition()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java100 outOfSpec |= (layoutParams.weight > 0f); in onMeasure()
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined13 # As a special case, a weight of 0 is taken to mean profanity - words that
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dro_wordlist.combined.gz