/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;
|
H A D | WindowManagerService.java | 275 /** Minimum value for createStack and resizeStack weight value */ 278 /** Maximum value for createStack and resizeStack weight value */ 4833 * @param weight Relative weight for determining how big to make the new TaskStack. 4835 public void createStack(int stackId, int relativeStackBoxId, int position, float weight) { argument 4838 (weight < STACK_WEIGHT_MIN || weight > STACK_WEIGHT_MAX)) { 4840 "createStack: weight must be between " + STACK_WEIGHT_MIN + " and " + 4841 STACK_WEIGHT_MAX + ", weight=" + weight); 4901 resizeStackBox(int stackBoxId, float weight) argument [all...] |
/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/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/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/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 1216 int weight = 1; local 1218 weight = 4; 1219 tmpAvgGain += weight * gain; 1220 tmpAvgCount += weight;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 96 int weight; member in struct:android::camera2::Parameters::Area 98 Area(int left, int top, int right, int bottom, int weight): argument 100 weight(weight) {}
|
/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/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 | ActivityManagerNative.java | 619 float weight = data.readFloat(); 620 int res = createStack(taskId, relativeStackId, position, weight); 639 float weight = data.readFloat(); 640 resizeStackBox(stackBoxId, weight); 2718 public int createStack(int taskId, int relativeStackBoxId, int position, float weight) argument 2727 data.writeFloat(weight); 2750 public void resizeStackBox(int stackBoxId, float weight) throws RemoteException argument 2756 data.writeFloat(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/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/base/core/java/android/hardware/ |
H A D | Camera.java | 1728 * <p>Each Area consists of a rectangle specifying its bounds, and a weight 1736 * <p>The weight must range from 1 to 1000, and represents a weight for 1738 * the same weight as a smaller area will have more effect in the 1751 * Create an area with specified rectangle and weight. 1754 * @param weight the weight of the area. 1756 public Area(Rect rect, int weight) { argument 1758 this.weight = weight; 1803 public int weight; field in class:Camera.Area [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 450 * The currently running heavy-weight process, if any. 1374 "Error showing notification for heavy-weight app", e); 7110 public int createStack(int taskId, int relativeStackBoxId, int position, float weight) { argument 7114 relativeStackBoxId + " position=" + position + " weight=" + weight); 7119 mWindowManager.createStack(stackId, relativeStackBoxId, position, weight); 7151 public void resizeStackBox(int stackBoxId, float weight) { argument 7156 mWindowManager.resizeStackBox(stackBoxId, weight); 14440 // We don't want to kill the current heavy-weight process. 15676 "Trimming memory of heavy-weight " [all...] |