Searched refs:weight (Results 1 – 20 of 20) sorted by relevance
150 return object1.weight - object2.weight;195 public int weight; field in ContactsSource.DataKind227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) { in DataKind() argument231 this.weight = weight; in DataKind()
421 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.LayoutParams1228 this.weight = source.weight; in LayoutParams()1235 this.weight = a.getFloat(0, 0); in LayoutParams()
48 public int weight; field in DataKind91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind() argument94 this.weight = weight; in DataKind()113 sb.append(" weight=").append(weight); in toString()
125 private void addMemUseDetailsItem(ViewGroup parent, CharSequence title, double weight) { in addMemUseDetailsItem() argument126 if (weight > 0) { in addMemUseDetailsItem()127 float level = (float)(weight/mMemTotalWeight); in addMemUseDetailsItem()129 (long)((weight * 1024) / mTotalTime)); in addMemUseDetailsItem()
93 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength); in calcNormalizedScore() local97 return (static_cast<float>(score) / SUGGEST_INTERFACE_OUTPUT_SCALE) * weight; in calcNormalizedScore()106 return (static_cast<float>(score) / maxScore) * weight; in calcNormalizedScore()
76 float weight = difference / STEP_SIZE; in getInterpolation() local78 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]); in getInterpolation()
933 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument936 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()
579 layoutParams.weight = 0; in createNormalCandidateView()1417 float weight = 0; in createNextLineFor1st() local1423 weight = 1.0f; in createNextLineFor1st()1429 weight); in createNextLineFor1st()
613 static void setLayoutWeight(final View v, final float weight, final int height) { in setLayoutWeight() argument617 llp.weight = weight; in setLayoutWeight()
301 return object1.weight - object2.weight;
760 int titleRes, int weight, StringInflater actionHeader, StringInflater actionBody) in newDataKind() argument767 final DataKind kind = new DataKind(mimeType, titleRes, weight, true); in newDataKind()
457 private float weight(PointF a, PointF b, in weight() method in DeviceProfile502 float w = weight(xy, p.dimens, pow); in invDistWeightedInterpolate()513 float w = weight(xy, p.dimens, pow); in invDistWeightedInterpolate()
166 params.weight = 0f; in ProcessWatcher()
1609 float weight = 0.2f; in getPosition() local1610 return historyPosition.getPosition() * weight + (1f - weight) * currentPosition; in getPosition()
100 outOfSpec |= (layoutParams.weight > 0f); in onMeasure()
13 # As a special case, a weight of 0 is taken to mean profanity - words that
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...