/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | MigrateFromRestoreTask.java | 483 find(index + 1, weightLoss + me.weight, moveCost, itemsPlaced); 531 && itemsToPlace.get(index + 1).weight >= me.weight && !ignoreMove) { 532 find(index + 1, weightLoss + me.weight, moveCost, itemsPlaced); 537 weightLoss += itemsToPlace.get(i).weight; 539 find(itemsToPlace.size(), weightLoss + me.weight, moveCost, itemsPlaced); 588 entry.weight = entry.itemType == Favorites.ITEM_TYPE_SHORTCUT in loadEntries() 596 entry.weight = Math.max(WT_WIDGET_MIN, WT_WIDGET_FACTOR in loadEntries() 622 entry.weight = WT_FOLDER_FACTOR * total; in loadEntries() 686 public float weight; field in DbEntry 693 entry.weight = weight; in copy() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 683 totalWeight += lp.weight; in measureVertical() 685 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical() 695 if (lp.height == 0 && lp.weight > 0) { in measureVertical() 737 if (i < baselineChildIndex && lp.weight > 0) { in measureVertical() 760 if (lp.weight > 0) { in measureVertical() 835 float childExtra = lp.weight; in measureVertical() 928 float childExtra = lp.weight; in measureVertical() 1479 public float weight; field in MatchParentShrinkingLinearLayout.LayoutParams 1512 weight = a.getFloat( in LayoutParams() 1525 weight = 0; in LayoutParams() [all …]
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | ContactsSource.java | 150 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/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
D | DataKind.java | 48 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/ |
D | ProcessStatsMemDetail.java | 132 private void addMemUseDetailsItem(ViewGroup parent, CharSequence title, double weight) { in addMemUseDetailsItem() argument 133 if (weight > 0) { in addMemUseDetailsItem() 134 float level = (float)(weight/mMemTotalWeight); in addMemUseDetailsItem() 136 (long)((weight * 1024) / mTotalTime)); in addMemUseDetailsItem()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | autocorrection_threshold_utils.cpp | 93 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/ |
D | Gusterpolator.java | 78 float weight = difference / STEP_SIZE; in getInterpolation() local 80 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]); in getInterpolation()
|
D | CameraUtil.java | 909 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument 912 int r = ((pixel & 0x00ff0000) + (int) ((newPixel & 0x00ff0000) * weight)) & 0x00ff0000; in addPixel() 913 int g = ((pixel & 0x0000ff00) + (int) ((newPixel & 0x0000ff00) * weight)) & 0x0000ff00; in addPixel() 914 int b = ((pixel & 0x000000ff) + (int) ((newPixel & 0x000000ff) * weight)) & 0x000000ff; in addPixel()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 559 static void setLayoutWeight(final View v, final float weight, final int height) { in setLayoutWeight() argument 563 llp.weight = weight; in setLayoutWeight()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | TextCandidatesViewManager.java | 579 layoutParams.weight = 0; in createNormalCandidateView() 1417 float weight = 0; in createNextLineFor1st() local 1423 weight = 1.0f; in createNextLineFor1st() 1429 weight); in createNextLineFor1st()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | AccountType.java | 301 return object1.weight - object2.weight;
|
D | BaseAccountType.java | 760 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/ |
D | InvariantDeviceProfile.java | 276 float w = weight(width, height, p.minWidthDps, p.minHeightDps, WEIGHT_POWER); in invDistWeightedInterpolate() 296 private float weight(float x0, float y0, float x1, float y1, float pow) { in weight() method in InvariantDeviceProfile
|
D | WeightWatcher.java | 168 params.weight = 0f; in ProcessWatcher()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 1636 float weight = 0.2f; in getPosition() local 1637 return historyPosition.getPosition() * weight + (1f - weight) * currentPosition; in getPosition()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.java | 100 outOfSpec |= (layoutParams.weight > 0f); in onMeasure()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | sample.combined | 13 # As a special case, a weight of 0 is taken to mean profanity - words that
|
D | en_US_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz |
|
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | ro_wordlist.combined.gz |
|