Home
last modified time | relevance | path

Searched +full:- +full:- +full:max +full:- +full:width (Results 1 – 25 of 1193) sorted by relevance

12345678910>>...48

/external/fmtlib/doc/bootstrap/
Dresponsive-utilities.less3 // --------------------------------------------------
17 // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
18 // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
19 // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
21 @-ms-viewport {
22 width: device-width;
27 // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
28 .visible-xs,
29 .visible-sm,
30 .visible-md,
[all …]
Dnavbar.less3 // --------------------------------------------------
8 // Provide a static navbar from which we expand to create full-width, fixed, and
13 …min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in coll…
14 margin-bottom: @navbar-margin-bottom;
20 @media (min-width: @grid-float-breakpoint) {
21 border-radius: @navbar-border-radius;
28 // Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
31 .navbar-header {
34 @media (min-width: @grid-float-breakpoint) {
47 // vertically and include a `max-height` to overflow in case you have too much
[all …]
/external/libgav1/src/dsp/x86/
Daverage_blend_sse4.cc7 // http://www.apache.org/licenses/LICENSE-2.0
82 const int width, in AverageBlendLargeRow() argument
96 } while (x < width); in AverageBlendLargeRow()
101 const int width, const int height, in AverageBlend_SSE4_1() argument
109 if (width == 4) { in AverageBlend_SSE4_1()
118 y -= 4; in AverageBlend_SSE4_1()
123 if (width == 8) { in AverageBlend_SSE4_1()
132 y -= 2; in AverageBlend_SSE4_1()
138 AverageBlendLargeRow(pred_0, pred_1, width, dst); in AverageBlend_SSE4_1()
140 pred_0 += width; in AverageBlend_SSE4_1()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_sass/components/
D_main.scss2 width: 100%;
3 max-width: map-get($layout, content-max-width);
4 padding: 0 map-get($spacers, 5);
6 @include media-breakpoint-down(lg) {
7 padding: 0 map-get($spacers, 4);
9 @include media-breakpoint-down(md) {
10 padding: 0 map-get($spacers, 3);
14 .has-aside {
16 max-width: map-get($layout, content-max-width) + map-get($layout, aside-width);
17 @include media-breakpoint-down(lg) {
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/_sass/components/
D_main.scss2 width: 100%;
3 max-width: map-get($layout, content-max-width);
4 padding: 0 map-get($spacers, 5);
6 @include media-breakpoint-down(lg) {
7 padding: 0 map-get($spacers, 4);
9 @include media-breakpoint-down(md) {
10 padding: 0 map-get($spacers, 3);
14 .has-aside {
16 max-width: map-get($layout, content-max-width) + map-get($layout, aside-width);
17 @include media-breakpoint-down(lg) {
[all …]
/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp4 * Use of this source code is governed by a BSD-style license that can be
27 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
36 int count, unsigned max) { in can_truncate_to_fixed_for_decal() argument
46 // Note: it seems the test should be (fx <= max && lastFx <= max); but in can_truncate_to_fixed_for_decal()
52 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal()
57 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1); in can_truncate_to_fixed_for_decal()
59 return SkTFitsIn<int32_t>(lastFx) && (unsigned)SkFixedFloorToInt(SkTo<int32_t>(lastFx)) < max; in can_truncate_to_fixed_for_decal()
62 // When not filtering, we store 32-bit y, 16-bit x, 16-bit x, 16-bit x, ...
63 // When filtering we write out 32-bit encodings, pairing 14.4 x0 with 14-bit x1.
65 // The clamp routines may try to fall into one of these unclamped decal fast-paths.
[all …]
DSkMipmap.cpp4 * Use of this source code is governed by a BSD-style license that can be
47 if (src.width() <= 1 && src.height() <= 1) { in Build()
56 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build()
57 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build()
58 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build()
84 mipmap->fCS = sk_ref_sp(src.info().colorSpace()); in Build()
85 mipmap->fCount = countLevels; in Build()
86 mipmap->fLevels = (Level*)mipmap->writable_data(); in Build()
87 SkASSERT(mipmap->fLevels); in Build()
89 Level* levels = mipmap->fLevels; in Build()
[all …]
/external/XNNPACK/test/
Dglobal-average-pooling-nwc.cc6 // This source code is licensed under the BSD-style license found in the
15 #include "global-average-pooling-operator-tester.h"
21 const uint32_t spatial_tile = std::max<uint32_t>(xnn_params.qu8.gavgpool.row_tile, 1); in TEST()
23 for (size_t width = 1; width <= spatial_tile; width++) { in TEST() local
26 .width(width) in TEST()
35 const uint32_t spatial_tile = std::max<uint32_t>(xnn_params.qu8.gavgpool.row_tile, 1); in TEST()
37 for (size_t width = 1; width <= spatial_tile; width++) { in TEST() local
40 .width(width) in TEST()
50 const uint32_t spatial_tile = std::max<uint32_t>(xnn_params.qu8.gavgpool.row_tile, 1); in TEST()
52 for (size_t width = 1; width <= spatial_tile; width++) { in TEST() local
[all …]
/external/libchrome/ui/gfx/geometry/
Drect.cc2 // Use of this source code is governed by a BSD-style license that can be
28 size_(std::abs(r.right - r.left), std::abs(r.bottom - r.top)) { in Rect()
32 : origin_(r.origin.x, r.origin.y), size_(r.size.width, r.size.height) {
47 return CGRectMake(x(), y(), width(), height()); in ToCGRect()
56 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size; in AdjustAlongAxis()
63 // This is the per-axis heuristic for picking the most useful origin and
64 // width/height to represent the input range.
65 static void SaturatedClampRange(int min, int max, int* origin, int* span) { in SaturatedClampRange() argument
66 if (max < min) { in SaturatedClampRange()
72 int effective_span = base::ClampSub(max, min); in SaturatedClampRange()
[all …]
Drect_f.cc2 // Use of this source code is governed by a BSD-style license that can be
32 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size; in AdjustAlongAxis()
37 : origin_(r.origin.x, r.origin.y), size_(r.size.width, r.size.height) { in RectF()
41 return CGRectMake(x(), y(), width(), height()); in ToCGRect()
51 set_width(std::max(width() - left - right, 0.0f)); in Inset()
52 set_height(std::max(height() - top - bottom, 0.0f)); in Inset()
63 void RectF::operator-=(const Vector2dF& offset) { in operator -=()
64 origin_ -= offset; in operator -=()
68 return InsetsF(inner.y() - y(), in InsetsFrom()
69 inner.x() - x(), in InsetsFrom()
[all …]
/external/skia/modules/skparagraph/src/
DTextWrapper.cpp11 : fLower(maxWidth - 0.25f) in LineBreakerWithLittleRounding()
16 bool breakLine(SkScalar width) const { in breakLine()
17 if (width < fLower) { in breakLine()
19 } else if (width > fUpper) { in breakLine()
23 auto val = std::fabs(width); in breakLine()
27 roundedWidth = SkScalarRoundToScalar(width * 100) * (1.0f/100); in breakLine()
29 roundedWidth = SkScalarRoundToScalar(width * 10) * (1.0f/10); in breakLine()
31 roundedWidth = SkScalarFloorToScalar(width); in breakLine()
35 roundedWidth = SkScalarFloorToScalar(width * 100) * (1.0f/100); in breakLine()
37 roundedWidth = SkScalarFloorToScalar(width * 10) * (1.0f/10); in breakLine()
[all …]
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/components/
DYAxis.java9 * Class representing the y-axis labels settings and its entries. Only use the setter methods to
22 * indicates if the bottom y-label entry is drawn or not
27 * indicates if the top y-label entry is drawn or not
37 * flag that indicates if the zero-line should be drawn regardless of other grid lines
47 * flag indicating that auto scale max restriction should be used
57 * Width of the zero line in pixels
72 * the position of the y-labels relative to the chart
77 * the horizontal offset of the y-label
82 * enum for the position of the y-labels relative to the chart
94 * the minimum width that the axis should take (in dp).
[all …]
/external/webrtc/video/config/
Dencoder_stream_factory.cc4 * Use of this source code is governed by a BSD-style license
42 return std::max(static_cast<int>(resolution / scale_down_by + 0.5), in ScaleDownResolution()
47 return (value > 0) && ((value & (value - 1)) == 0); in PowerOfTwo()
52 double scale = std::max(layer.scale_resolution_down_by, 1.0); in IsScaleFactorsPowerOfTwo()
79 static int GetMaxDefaultVideoBitrateKbps(int width, in GetMaxDefaultVideoBitrateKbps() argument
83 if (width * height <= 320 * 240) { in GetMaxDefaultVideoBitrateKbps()
85 } else if (width * height <= 640 * 480) { in GetMaxDefaultVideoBitrateKbps()
87 } else if (width * height <= 960 * 540) { in GetMaxDefaultVideoBitrateKbps()
93 max_bitrate = std::max(max_bitrate, 1200); in GetMaxDefaultVideoBitrateKbps()
155 int width, in CreateDefaultVideoStreams() argument
[all …]
Dsimulcast.cc4 * Use of this source code is governed by a BSD-style license
37 "WebRTC-LegacySimulcastLayerLimit";
48 // Min/max bitrate for the higher one of the two simulcast stream used for
60 int width; member
98 // As the resolution goes down, interpolate the target and max bitrates down
100 // and the max will be capped from below accordingly.
108 return a * (1.0 - rate) + b * rate; in Interpolate()
114 trials.Lookup("WebRTC-LowresSimulcastBitrateInterpolation"), "Enabled"); in EnableLowresBitrateInterpolation()
124 SimulcastFormat& format0x0 = formats[formats.size() - 1]; in GetSimulcastFormats()
125 const SimulcastFormat& format_prev = formats[formats.size() - 2]; in GetSimulcastFormats()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_sass/layout/
D_landing.scss1 .layout--landing {
3 max-width: map-get($layout, content-max-width) * 2;
4 margin-right: auto;
5 margin-left: auto;
10 width: 100%;
15 margin-bottom: 0;
18 max-width: map-get($layout, content-max-width);
20 .hero__cover--full-width {
21 max-width: none;
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/_sass/layout/
D_landing.scss1 .layout--landing {
3 max-width: map-get($layout, content-max-width) * 2;
4 margin-right: auto;
5 margin-left: auto;
10 width: 100%;
15 margin-bottom: 0;
18 max-width: map-get($layout, content-max-width);
20 .hero__cover--full-width {
21 max-width: none;
/external/brotli/research/
Ddraw_diff.cc26 void ReadPGM(FILE* f, Image* image, size_t* height, size_t* width) { in ReadPGM() argument
28 CHECK(fscanf(f, "P5\n%lu %lu\n%d\n", width, height, &colors) == 3); in ReadPGM()
32 for (int i = *height - 1; i >= 0; --i) { in ReadPGM()
33 ScanLine line = new uint8_t[*width]; in ReadPGM()
35 CHECK(fread(line, 1, *width, f) == *width); in ReadPGM()
40 size_t height, size_t width) { in CalculateDiff() argument
42 for (size_t j = 0; j < width; ++j) { in CalculateDiff()
43 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; in CalculateDiff()
49 size_t height, size_t width, FILE* f) { in DrawDiff() argument
50 int max = -1234; in DrawDiff() local
[all …]
/external/perfetto/infra/perfetto.dev/src/assets/
Dstyle.scss7 // http://www.apache.org/licenses/LICENSE-2.0
14 // -----------------------------------------------------------------------------
16 // -----------------------------------------------------------------------------
18 --site-header-height: 50px;
19 --home-highlights-height: 128px;
20 --content-max-width: 1100px;
21 --anim-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
26 --anim-enabled: 0;
28 --anim-time: calc(0.15s * var(--anim-enabled));
31 $wide: "(max-width: 1100px)";
[all …]
/external/clang/test/Preprocessor/
Dcuda-types.cu5 // RUN: %clang --cuda-host-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/…
6 // RUN: %clang --cuda-device-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /de…
7 …ep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)' %T/i386-host-defines | grep -v '__LDBL\|_LONG_DOU…
8 …p 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)' %T/i386-device-defines | grep -v '__LDBL\|_LONG_DOUB…
9 // RUN: diff %T/i386-host-defines-filtered %T/i386-device-defines-filtered
11 // RUN: %clang --cuda-host-only -nocudainc -target x86_64-unknown-linux-gnu -x cuda -E -dM -o - /de…
12 // RUN: %clang --cuda-device-only -nocudainc -target x86_64-unknown-linux-gnu -x cuda -E -dM -o - /…
13 … 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/x86_64-host-defines | grep -v '__LDBL\|_LONG_DO…
14 …'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/x86_64-device-defines | grep -v '__LDBL\|_LONG_DOU…
15 // RUN: diff %T/x86_64-host-defines-filtered %T/x86_64-device-defines-filtered
[all …]
/external/libaom/av1/common/arm/
Dhighbd_compound_convolve_neon.h22 #define ROUND_SHIFT 2 * FILTER_BITS - ROUND0_BITS - COMPOUND_ROUND1_BITS
29 CONV_BUF_TYPE *ref_ptr = conv_params->dst; in highbd_12_comp_avg_neon()
30 const int ref_stride = conv_params->dst_stride; in highbd_12_comp_avg_neon()
32 const uint16x8_t max = vdupq_n_u16((1 << bd) - 1); in highbd_12_comp_avg_neon() local
42 uint16x4_t d0_u16 = vqrshrun_n_s32(d0, ROUND_SHIFT - 2); in highbd_12_comp_avg_neon()
43 d0_u16 = vmin_u16(d0_u16, vget_low_u16(max)); in highbd_12_comp_avg_neon()
50 } while (--h != 0); in highbd_12_comp_avg_neon()
53 int width = w; in highbd_12_comp_avg_neon() local
67 uint16x8_t d0 = vcombine_u16(vqrshrun_n_s32(d0_lo, ROUND_SHIFT - 2), in highbd_12_comp_avg_neon()
68 vqrshrun_n_s32(d0_hi, ROUND_SHIFT - 2)); in highbd_12_comp_avg_neon()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DCameraEnumerationAndroid.java4 * Use of this source code is governed by a BSD-style license
55 public int max; field in CameraEnumerationAndroid.CaptureFormat.FramerateRange
57 public FramerateRange(int min, int max) { in FramerateRange() argument
59 this.max = max; in FramerateRange()
64 return "[" + (min / 1000.0f) + ":" + (max / 1000.0f) + "]"; in toString()
73 return min == otherFramerate.min && max == otherFramerate.max; in equals()
79 return 1 + 65537 * min + max; in hashCode()
83 public final int width; field in CameraEnumerationAndroid.CaptureFormat
92 public CaptureFormat(int width, int height, int minFramerate, int maxFramerate) { in CaptureFormat() argument
93 this.width = width; in CaptureFormat()
[all …]
/external/webrtc/pc/
Dsdp_serializer_unittest.cc4 * Use of this source code is governed by a BSD-style license
54 // Checks that two maps have the same key-value pairs.
56 // tested because having the same key-set in both maps implies that they
58 // same Key-Comparer type.
69 EXPECT_EQ(pair.second, iter->second); in ExpectEqual()
101 // `str` - The serialized Simulcast to parse.
102 // `expected` - The expected output Simulcast to compare to.
112 // `simulcast` - The Simulcast to serialize.
113 // `expected` - The expected output string to compare to.
285 // `str` - The serialized Rid Description to parse.
[all …]
/external/mesa3d/src/imagination/csbgen/
Dpvr_packet_helpers.h67 return (~0ull >> (64 - (end - start + 1))) << start; in __pvr_mbo()
76 const int width = end - start + 1; in __pvr_uint() local
77 if (width < 64) { in __pvr_uint()
78 const uint64_t max = (1ull << width) - 1; in __pvr_uint() local
79 assert(v <= max); in __pvr_uint()
89 const int width = end - start + 1; in __pvr_uint_unpack() local
90 const uint64_t mask = ~0ull >> (64 - width); in __pvr_uint_unpack()
98 const int width = end - start + 1; in __pvr_sint() local
103 if (width < 64) { in __pvr_sint()
104 const int64_t max = (1ll << (width - 1)) - 1; in __pvr_sint() local
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/iron-fit-behavior/
Diron-fit-behavior.html1 <!--
9 -->
15 `Polymer.IronFitBehavior` fits an element in another element using `max-height` and `max-width`, and
22 -----------------------------|-------------------------------------------
26 `max-height` set | Element respects `max-height`
27 `max-width` set | Element respects `max-width`
33 <iron-fit-impl vertical-align="top" horizontal-align="auto">
35 </iron-fit-impl>
41 <iron-fit-impl no-overlap vertical-align="auto" horizontal-align="auto">
43 </iron-fit-impl>
[all …]
/external/crosvm/devices/src/virtio/video/
Dformat.rs2 // Use of this source code is governed by a BSD-style license that can be
52 #[cfg(any(feature = "video-encoder", feature = "libvda", feature = "vaapi"))]
53 pub fn to_format(self) -> Format { in to_format()
111 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
141 #[cfg(feature = "video-encoder")]
143 pub fn mode(&self) -> BitrateMode { in mode()
150 pub fn target(&self) -> u32 { in target()
162 pub width: u32, field
165 impl_from_for_interconvertible_structs!(virtio_video_crop, Crop, left, top, width, height);
175 pub fn get_plane_layout(format: Format, width: u32, height: u32) -> Option<Vec<PlaneFormat>> { in get_plane_layout()
[all …]

12345678910>>...48