/frameworks/minikin/libs/minikin/ |
H A D | AnalyzeStyle.cpp | 29 bool analyzeStyle(const uint8_t* os2_data, size_t os2_size, int* weight, bool* italic) { argument 37 *weight = weightClass / 100;
|
H A D | FontFamily.cpp | 112 int weight; local 114 if (analyzeStyle(os2Data.get(), os2Size, &weight, &italic)) { 115 //ALOGD("analyzed weight = %d, italic = %s", weight, italic ? "true" : "false"); 116 FontStyle style(weight, italic); 146 // If desired weight is semibold or darker, and 2 or more grades
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Typeface.cpp | 43 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { argument 45 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight);
|
H A D | FontFamily.cpp | 72 jstring path, jint weight, jboolean isItalic) { 82 fontFamily->addFont(minikinFont, FontStyle(weight / 100, isItalic)); 71 FontFamily_addFontWeightStyle(JNIEnv* env, jobject clazz, jlong familyPtr, jstring path, jint weight, jboolean isItalic) argument
|
H A D | TypefaceImpl.cpp | 41 // Resolve the 1..9 weight based on base weight and bold flag 43 int weight = typeface->fBaseWeight / 100; local 45 weight += 3; 47 if (weight > 9) { 48 weight = 9; 51 typeface->fStyle = FontStyle(weight, italic); 123 TypefaceImpl* TypefaceImpl_createWeightAlias(TypefaceImpl* src, int weight) { argument 130 result->fBaseWeight = weight;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | FontFamily.java | 65 public boolean addFontWeightStyle(String path, int weight, boolean style) { argument 66 return nAddFontWeightStyle(mNativePtr, path, weight, style); 77 int weight, boolean isItalic); 76 nAddFontWeightStyle(long nativeFamily, String path, int weight, boolean isItalic) argument
|
H A D | FontListParser.java | 46 Font(String fontName, int weight, boolean isItalic) { argument 48 this.weight = weight; 52 public int weight; field in class:FontListParser.Font 59 public int weight; field in class:FontListParser.Alias 115 String weightStr = parser.getAttributeValue(null, "weight"); 116 int weight = weightStr == null ? 400 : Integer.parseInt(weightStr); 120 fonts.add(new Font(fullFilename, weight, isItalic)); 133 String weightStr = parser.getAttributeValue(null, "weight"); 135 alias.weight [all...] |
H A D | Typeface.java | 265 fontFamily.addFontWeightStyle(font.fontName, font.weight, font.isItalic); 315 int weight = alias.weight; 316 if (weight != 400) { 317 newFace = new Typeface(nativeCreateWeightAlias(base.native_instance, weight)); 389 private static native long nativeCreateWeightAlias(long native_instance, int weight); argument
|
/frameworks/base/libs/hwui/ |
H A D | Interpolator.cpp | 105 float ipart, weight; local 106 weight = modff(lutpos, &ipart); 112 " i1=%d, i2=%d, input=%f, lutpos=%f, size=%zu, values=%p, ipart=%f, weight=%f", 113 i1, i2, input, lutpos, mSize, mValues.get(), ipart, weight); 118 return MathUtils::lerp(v1, v2, weight);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface_Delegate.java | 86 // Calculate the required weight based on style and weight of this typeface. 87 int weight = mWeight + ((mStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); 88 if (weight > 900) { 89 weight = 900; 96 Font font = ffd.getFont(weight, isItalic); 110 Font font2 = ffd2.getFont(weight, isItalic); 160 /*package*/ static long nativeCreateWeightAlias(long native_instance, int weight) { argument 169 new Typeface_Delegate(delegate.mFontFamilies, delegate.mStyle, weight); 214 public Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, int style, int weight) { argument [all...] |
H A D | FontFamily_Delegate.java | 290 final int weight, final boolean isItalic) { 297 delegate.addFont(path, weight, isItalic); 302 return delegate.addFont(path, weight, isItalic); 394 private boolean addFont(@NonNull String path, int weight, boolean isItalic) { argument 407 fontInfo.mWeight = weight; 414 int weight = fontInfo.mWeight; 419 if (font.mWeight == weight && font.mIsItalic == isItalic) { 289 nAddFontWeightStyle(long nativeFamily, final String path, final int weight, final boolean isItalic) argument
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 56 /** The default normalized area uses the default normalized rectangle with a weight=1 */ 59 /*weight*/1); 115 * arbitrary weight. 127 /** Arbitrary weight (the range is user-defined). */ 128 public final int weight; field in class:ParameterUtils.WeightedRectangle 131 * Create a new weighted-rectangle from a non-{@code null} rectangle; the {@code weight} 134 public WeightedRectangle(Rect rect, int weight) { argument 136 this.weight = weight; 147 int weight [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 127 // This cannot be done by a simple comparator since an Activity weight 188 * Attribute for the choice weight. 190 private static final String ATTRIBUTE_WEIGHT = "weight"; 209 * Default weight for a choice record. 537 * historical record with weight high enough that this activity will 539 * will eventually change if not used. Also the weight of the record for 552 final float weight; 554 // Add a record with weight enough to boost the chosen at the top. 555 weight = oldDefaultActivity.weight 798 public final float weight; field in class:ActivityChooserModel.HistoricalRecord 807 HistoricalRecord(String activityName, long time, float weight) argument 818 HistoricalRecord(ComponentName activityName, long time, float weight) argument 887 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo [all...] |
H A D | LinearLayout.java | 45 * grow to fill up any remaining space in the layout by setting the <em>weight</em> member of 466 * When true, all children with a weight will be considered having 470 * @return True to measure children with a weight using the minimum 480 * When set to true, all children with a weight will be considered having 486 * @param enabled True to measure children with a weight using the 602 * @return A number greater than 0.0f if the weight sum is defined, or 603 * a number lower than or equals to 0.0f if not weight sum is 619 * to 0.0f if the weight sum should be computed from the children's 723 totalWeight += lp.weight; 725 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 1882 public float weight; field in class:LinearLayout.LayoutParams 1939 LayoutParams(int width, int height, float weight) argument [all...] |
H A D | GridLayout.java | 105 * As of API 21, GridLayout's distribution of excess space accomodates the principle of weight. 113 * If either a weight or alignment were defined along a given axis then the component 114 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set, 125 * weight or a gravity. To prevent a column from stretching, ensure that one of the components 126 * in the column does not define a weight or a gravity. 144 * had never been added to it. GONE views are taken to have zero weight during excess space 1303 ((spec.weight == 0) ? 0 : getDeltas()[i]); 1697 if (spec.weight != 0) { 1728 float weight = spec.weight; 2526 final float weight; field in class:GridLayout.Spec 2528 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument 2535 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument 2616 spec(int start, int size, Alignment alignment, float weight) argument 2627 spec(int start, Alignment alignment, float weight) argument 2640 spec(int start, int size, float weight) argument 2650 spec(int start, float weight) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | FusedPrintersProvider.java | 450 // Aggregate weight for the same printer 456 record.weight += currentWeight; 479 public float weight; field in class:FusedPrintersProvider.PersistenceManager.PrinterRecord 487 return Float.floatToIntBits(another.weight) - Float.floatToIntBits(weight);
|
/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 776 public final float weight; field in class:ActivityChooserModel.HistoricalRecord 785 HistoricalRecord(String activityName, long time, float weight) argument 796 HistoricalRecord(ComponentName activityName, long time, float weight) argument 865 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 102 int weight; member in struct:android::camera2::Parameters::Area 104 Area(int left, int top, int right, int bottom, int weight): argument 106 weight(weight) {}
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 551 public LayoutParams(int width, int height, float weight) { argument 552 super(width, height, weight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 46 * grow to fill up any remaining space in the layout by setting the <em>weight</em> member of 392 * When true, all children with a weight will be considered having 396 * @return True to measure children with a weight using the minimum 404 * When set to true, all children with a weight will be considered having 410 * @param enabled True to measure children with a weight using the 520 * @return A number greater than 0.0f if the weight sum is defined, or 521 * a number lower than or equals to 0.0f if not weight sum is 537 * to 0.0f if the weight sum should be computed from the children's 631 totalWeight += lp.weight; 633 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 1764 public float weight; field in class:LinearLayoutCompat.LayoutParams 1805 LayoutParams(int width, int height, float weight) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 83 * When views do not overlap weight behaves as it does in a LinearLayout.</p> 85 * <p>When views do overlap, weight on a slideable pane indicates that the pane should be 514 if (lp.weight > 0) { 515 weightSum += lp.weight; 517 // If we have no width, weight is the only contributor to the final size. 518 // Measure this view on the weight pass only. 558 // Resolve weight and make sure non-sliding panels are smaller than the full screen. 575 final boolean skippedFirstPass = lp.width == 0 && lp.weight > 0; 578 if (lp.width < 0 && (measuredWidth > fixedPanelWidthLimit || lp.weight > 0)) { 603 } else if (lp.weight > 1403 public float weight = 0; field in class:SlidingPaneLayout.LayoutParams [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 104 * GridLayout's distribution of excess space accommodates the principle of weight. 111 * If either a weight or alignment were defined along a given axis then the component 112 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set, 123 * weight or a gravity. To prevent a column from stretching, ensure that one of the components 124 * in the column does not define a weight or a gravity. 142 * had never been added to it. GONE views are taken to have zero weight during excess space 1198 ((spec.weight == 0) ? 0 : getDeltas()[i]); 1592 if (spec.weight != 0) { 1623 float weight = spec.weight; 2420 final float weight; field in class:GridLayout.Spec 2422 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument 2429 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument 2510 spec(int start, int size, Alignment alignment, float weight) argument 2521 spec(int start, Alignment alignment, float weight) argument 2534 spec(int start, int size, float weight) argument 2544 spec(int start, float weight) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1980 * <p>Each Area consists of a rectangle specifying its bounds, and a weight 1988 * <p>The weight must range from 1 to 1000, and represents a weight for 1990 * the same weight as a smaller area will have more effect in the 2007 * Create an area with specified rectangle and weight. 2010 * @param weight the weight of the area. 2012 public Area(Rect rect, int weight) { argument 2014 this.weight = weight; 2059 public int weight; field in class:Camera.Area [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |