/frameworks/base/core/java/android/gesture/ |
H A D | InstanceLearner.java | 60 double weight; 62 weight = Double.MAX_VALUE; 64 weight = 1 / distance; 67 if (score == null || weight > score) { 68 label2score.put(sample.label, weight);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | ILearning_StochasticLinearRanker.aidl | 32 boolean SetModelPriorWeight(in List<StringFloat> weight);
|
H A D | BaseCluster.java | 200 double weight = ((double) mDuration) / (mDuration + newDuration); 201 double newWeight = 1f - weight; 205 mCenter[i] = weight * mCenter[i] + newWeight * newCenter[i];
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 126 // This cannot be done by a simple comparator since an Activity weight 187 * Attribute for the choice weight. 189 private static final String ATTRIBUTE_WEIGHT = "weight"; 208 * Default weight for a choice record. 536 * historical record with weight high enough that this activity will 538 * will eventually change if not used. Also the weight of the record for 551 final float weight; 553 // Add a record with weight enough to boost the chosen at the top. 554 weight = oldDefaultActivity.weight 797 public final float weight; field in class:ActivityChooserModel.HistoricalRecord 806 HistoricalRecord(String activityName, long time, float weight) argument 817 HistoricalRecord(ComponentName activityName, long time, float weight) argument 886 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo [all...] |
H A D | LinearLayout.java | 40 * grow to fill up any remaining space in the layout by setting the <em>weight</em> member of 424 * When true, all children with a weight will be considered having 428 * @return True to measure children with a weight using the minimum 438 * When set to true, all children with a weight will be considered having 444 * @param enabled True to measure children with a weight using the 560 * @return A number greater than 0.0f if the weight sum is defined, or 561 * a number lower than or equals to 0.0f if not weight sum is 577 * to 0.0f if the weight sum should be computed from the children's 671 totalWeight += lp.weight; 673 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 1802 public float weight; field in class:LinearLayout.LayoutParams 1859 LayoutParams(int width, int height, float weight) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActivityChooserModel.java | 122 // This cannot be done by a simple comparator since an Activity weight 183 * Attribute for the choice weight. 185 private static final String ATTRIBUTE_WEIGHT = "weight"; 204 * Default weight for a choice record. 526 * historical record with weight high enough that this activity will 528 * will eventually change if not used. Also the weight of the record for 541 final float weight; 543 // Add a record with weight enough to boost the chosen at the top. 544 weight = oldDefaultActivity.weight 789 public final float weight; field in class:ActivityChooserModel.HistoricalRecord 798 HistoricalRecord(String activityName, long time, float weight) argument 809 HistoricalRecord(ComponentName activityName, long time, float weight) argument 878 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StackBox.java | 165 * @param weight The percentage size of the parent StackBox to devote to the new TaskStack. 168 TaskStack split(int stackId, int relativeStackBoxId, int position, float weight) { argument 175 TaskStack stack = mFirst.split(stackId, relativeStackBoxId, position, weight); 179 return mSecond.split(stackId, relativeStackBoxId, position, weight); 199 mWeight = weight; 203 mWeight = 1.0f - weight; 212 mWeight = weight; 216 mWeight = 1.0f - weight; 274 boolean resize(int stackBoxId, float weight) { argument 277 (mFirst.resize(stackBoxId, weight) || mSecon [all...] |
H A D | DisplayContent.java | 231 TaskStack createStack(int stackId, int relativeStackBoxId, int position, float weight) { argument 234 + relativeStackBoxId + " position=" + position + " weight=" + weight); 260 newStack = box.split(stackId, relativeStackBoxId, position, weight); 275 (int)(weight * 100 + 0.5)); 280 boolean resizeStack(int stackBoxId, float weight) { argument 283 if (box.resize(stackBoxId, weight)) { 312 info.weight = box.mWeight;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorfulnessFilter.java | 69 float weight = (float) Math.pow(2, r); 71 float value = histogramBuffer.get() * weight;
|
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 16 font-weight: bold; 29 font-weight: bold; 58 font-weight: bold; 90 font-weight: normal; 103 font-weight: bold; 107 font-weight: bold; 118 font-weight: bold; 156 font-weight: bold; 175 font-weight: bold; 197 font-weight [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 97 int weight; member in struct:android::camera2::Parameters::Area 99 Area(int left, int top, int right, int bottom, int weight): argument 101 weight(weight) {}
|
H A D | Parameters.cpp | 1938 if (focusingAreas[j].weight != 0) { 1953 reqFocusingAreas[i + 4] = focusingAreas[j].weight; 1967 if (meteringAreas[j].weight != 0) { 1982 reqMeteringAreas[i + 4] = meteringAreas[j].weight; 2397 areas[0].weight == 0) { 2416 if (a->weight < 1 || a->weight > 1000) return BAD_VALUE;
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 201 * @param weight weight to give the word. One is normal, 50 is low. 204 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument 205 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag); 625 String ruleName, int weight); 664 String word, String pronunciation, int weight, String tag); 667 // const struct SR_Nametag_t* nametag, int weight, String tag); 624 SR_RecognizerActivateRule(int recognizer, int grammar, String ruleName, int weight) argument 663 SR_GrammarAddWordToSlot(int grammar, String slot, String word, String pronunciation, int weight, String tag) argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Rotate3dTextActivity.java | 55 lp.weight = 1.0f;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | ColumnAdapter.java | 95 params.weight = 1f / mColumns;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelView.java | 121 float weight = 10f; 146 mVX += weight * dx / dt; 147 mVY += weight * dy / dt; 148 totalweight += weight; 149 weight *= DECAY;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 81 * When views do not overlap weight behaves as it does in a LinearLayout.</p> 83 * <p>When views do overlap, weight on a slideable pane indicates that the pane should be 500 if (lp.weight > 0) { 501 weightSum += lp.weight; 503 // If we have no width, weight is the only contributor to the final size. 504 // Measure this view on the weight pass only. 544 // Resolve weight and make sure non-sliding panels are smaller than the full screen. 561 final boolean skippedFirstPass = lp.width == 0 && lp.weight > 0; 564 if (lp.width < 0 && (measuredWidth > fixedPanelWidthLimit || lp.weight > 0)) { 589 } else if (lp.weight > 1257 public float weight = 0; field in class:SlidingPaneLayout.LayoutParams [all...] |
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | FragmentGraph.cpp | 377 uint32_t weight = m_pMatrix->at(pNode.getIndex(), node_to.getIndex()); local 378 if (weight > 0) { 380 pEdges.push_back(FGEdge(pNode, node_to, weight));
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | FusedPrintersProvider.java | 419 // Aggregate weight for the same printer 425 record.weight += currentWeight; 448 public float weight; field in class:FusedPrintersProvider.PersistenceManager.PrinterRecord 456 return Float.floatToIntBits(another.weight) - Float.floatToIntBits(weight);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1729 * <p>Each Area consists of a rectangle specifying its bounds, and a weight 1737 * <p>The weight must range from 1 to 1000, and represents a weight for 1739 * the same weight as a smaller area will have more effect in the 1752 * Create an area with specified rectangle and weight. 1755 * @param weight the weight of the area. 1757 public Area(Rect rect, int weight) { argument 1759 this.weight = weight; 1804 public int weight; field in class:Camera.Area [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 99 lp.weight = 0.33f;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 1573 float weight = Float.valueOf(weightStr); 1576 int stackId = mAm.createStack(taskId, relativeTo, position, weight); 1608 float weight = Float.valueOf(weightStr); 1611 mAm.resizeStackBox(stackBoxId, weight);
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1297 public float weight; field in class:ActivityManager.StackBoxInfo 1312 dest.writeFloat(weight); 1326 weight = source.readFloat(); 1362 sb.append(prefix); sb.append("Box id=" + stackBoxId); sb.append(" weight=" + weight);
|
H A D | IActivityManager.java | 120 public int createStack(int taskId, int relativeStackBoxId, int position, float weight) argument 123 public void resizeStackBox(int stackBoxId, float weight) throws RemoteException; argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 303 layoutParams.weight = 1; 338 layoutParams.weight = 1; 373 layoutParams.weight = 1;
|