Home
last modified time | relevance | path

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

12345678910>>...44

/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/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp4 * Use of this source code is governed by a BSD-style license that can be
17 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
26 int count, unsigned max) { in can_truncate_to_fixed_for_decal() argument
36 // Note: it seems the test should be (fx <= max && lastFx <= max); but in can_truncate_to_fixed_for_decal()
42 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal()
47 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1); in can_truncate_to_fixed_for_decal()
49 return SkTFitsIn<int32_t>(lastFx) && (unsigned)SkFixedFloorToInt(SkTo<int32_t>(lastFx)) < max; in can_truncate_to_fixed_for_decal()
52 // When not filtering, we store 32-bit y, 16-bit x, 16-bit x, 16-bit x, ...
53 // When filtering we write out 32-bit encodings, pairing 14.4 x0 with 14-bit x1.
55 // The clamp routines may try to fall into one of these unclamped decal fast-paths.
[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/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/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/skia/modules/skparagraph/src/
DTextWrapper.cpp11 : fLower(maxWidth - 0.25f) in LineBreakerWithLittleRounding()
15 bool breakLine(SkScalar width) const { in breakLine()
16 if (width < fLower) { in breakLine()
18 } else if (width > fUpper) { in breakLine()
22 auto val = std::fabs(width); in breakLine()
25 roundedWidth = SkScalarRoundToScalar(width * 100) * (1.0f/100); in breakLine()
27 roundedWidth = SkScalarRoundToScalar(width * 10) * (1.0f/10); in breakLine()
29 roundedWidth = SkScalarFloorToScalar(width); in breakLine()
39 // we have to work with stretches - parts of clusters
51 if (cluster->isHardBreak()) { in lookAhead()
[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_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/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/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/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/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/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/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/mesa3d/src/broadcom/cle/
Dv3d_packet_helpers.h65 return (~0ull >> (64 - (end - start + 1))) << start; in __gen_mbo()
74 const int width = end - start + 1; in __gen_uint() local
75 if (width < 64) { in __gen_uint()
76 const uint64_t max = (1ull << width) - 1; in __gen_uint() local
77 assert(v <= max); in __gen_uint()
87 const int width = end - start + 1; in __gen_sint() local
92 if (width < 64) { in __gen_sint()
93 const int64_t max = (1ll << (width - 1)) - 1; in __gen_sint() local
94 const int64_t min = -(1ll << (width - 1)); in __gen_sint()
95 assert(min <= v && v <= max); in __gen_sint()
[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 …]
/external/tensorflow/tensorflow/core/kernels/
Dmaxpooling_op_gpu.cu.cc7 http://www.apache.org/licenses/LICENSE-2.0
49 // height, width, pooled_height, pooled_width: the input and output sizes.
56 // produces the max output. If a nullptr is passed in for mask, no mask
64 // MaxPoolForwardNCHW<<<(output_size + kThreadsPerBlock - 1) / kThreadsPerBlock,
69 const int channels, const int height, const int width, in MaxPoolForwardNCHW() argument
79 int hstart = ph * stride_h - pad_t; in MaxPoolForwardNCHW()
80 int wstart = pw * stride_w - pad_l; in MaxPoolForwardNCHW()
82 int wend = min(wstart + kernel_w, width); in MaxPoolForwardNCHW()
83 hstart = max(hstart, 0); in MaxPoolForwardNCHW()
84 wstart = max(wstart, 0); in MaxPoolForwardNCHW()
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/
Dyuv2rgb.cc7 http://www.apache.org/licenses/LICENSE-2.0
21 #ifndef MAX
22 #define MAX(a, b) ({__typeof__(a) _a = (a); __typeof__(b) _b = (b); _a > _b ? _a : _b; }) macro
26 // This value is 2 ^ 18 - 1, and is used to clamp the RGB values before their ranges
31 nY -= 16; in YUV2RGB()
32 nU -= 128; in YUV2RGB()
33 nV -= 128; in YUV2RGB()
39 // nG = (int)(1.164 * nY - 0.813 * nV - 0.391 * nU); in YUV2RGB()
43 int nG = 1192 * nY - 833 * nV - 400 * nU; in YUV2RGB()
46 nR = MIN(kMaxChannelValue, MAX(0, nR)); in YUV2RGB()
[all …]

12345678910>>...44