Home
last modified time | relevance | path

Searched refs:baseOffset (Results 1 – 25 of 43) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/widgets/
Dtext_formatter_test.dart42 baseOffset: 3,
59 baseOffset: 1,
75 baseOffset: 3,
91 baseOffset: 2,
107 baseOffset: 1,
123 baseOffset: 3,
133 baseOffset: 0,
146 baseOffset: 0,
156 baseOffset: 4,
169 baseOffset: 2,
[all …]
Deditable_text_cursor_test.dart399 renderEditable.selection = const TextSelection(baseOffset: 29, extentOffset: 29);
401 expect(controller.selection.baseOffset, 29);
406 expect(controller.selection.baseOffset, 29);
412 expect(controller.selection.baseOffset, 29);
430 expect(controller.selection.baseOffset, 8);
453 expect(controller.selection.baseOffset, 10);
483 renderEditable.selection = const TextSelection(baseOffset: 29, extentOffset: 29);
485 expect(controller.selection.baseOffset, 29);
490 expect(controller.selection.baseOffset, 29);
496 expect(controller.selection.baseOffset, 29);
[all …]
Dselectable_text_test.dart422 expect(editableText.controller.selection.baseOffset, -1);
431 expect(editableText.controller.selection.baseOffset, tapIndex);
445 expect(editableText.controller.selection.baseOffset, -1);
454 expect(editableText.controller.selection.baseOffset, -1);
468 expect(editableText.controller.selection.baseOffset, -1);
479 expect(editableText.controller.selection.baseOffset, -1);
501 expect(editableText.controller.selection.baseOffset, 4);
509 expect(editableText.controller.selection.baseOffset, 9);
558 expect(editableText.controller.selection.baseOffset, eIndex);
640 expect(controller.selection.baseOffset, 5);
[all …]
Deditable_text_test.dart1296 expect(controller.selection.baseOffset, 4);
1303 expect(controller.selection.baseOffset, 3);
1330 expect(controller.selection.baseOffset, 0);
1350 expect(controller.selection.baseOffset, 1);
1389 expect(controller.selection.baseOffset, 14);
1396 expect(controller.selection.baseOffset, 9);
1417 expect(controller.selection.baseOffset, 5);
1424 expect(controller.selection.baseOffset, 0);
1444 expect(controller.selection.baseOffset, 5);
1451 expect(controller.selection.baseOffset, 9);
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dtext_editing.dart101 /// The [baseOffset] and [extentOffset] arguments must not be null.
103 @required this.baseOffset,
108 start: baseOffset < extentOffset ? baseOffset : extentOffset,
109 end: baseOffset < extentOffset ? extentOffset : baseOffset
122 }) : baseOffset = offset,
133 : baseOffset = position.offset,
142 final int baseOffset;
169 TextPosition get base => TextPosition(offset: baseOffset, affinity: affinity);
182 …return '$runtimeType(baseOffset: $baseOffset, extentOffset: $extentOffset, affinity: $affinity, is…
192 return typedOther.baseOffset == baseOffset
[all …]
Dtext_formatter.dart176 baseOffset: math.min(newValue.selection.start, maxLength),
268 if (value.selection.baseOffset > value.selection.extentOffset) {
270 baseOffset: beforeSelection.length + inSelection.length,
275 baseOffset: beforeSelection.length,
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dtext_editing.dart59 EditingState({this.text, this.baseOffset = 0, this.extentOffset = 0});
78 baseOffset = flutterEditingState['selectionBase'],
86 'selectionBase': baseOffset,
94 final int baseOffset;
100 bool get isValid => baseOffset >= 0 && extentOffset >= 0;
103 int get hashCode => ui.hashValues(text, baseOffset, extentOffset);
115 baseOffset == typedOther.baseOffset &&
122 ? 'EditingState("$text", base:$baseOffset, extent:$extentOffset)'
333 editingState.baseOffset,
342 editingState.baseOffset,
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_memory_stream.cpp90 uint64 baseOffset = offset; in DoRead() local
103 uint8 *dPtr = ((uint8 *) data) + (uint32) (offset - baseOffset); in DoRead()
194 uint64 baseOffset = offset; in DoWrite() local
204 const uint8 *sPtr = ((const uint8 *) data) + (uint32) (offset - baseOffset); in DoWrite()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Deditable_test.dart275 baseOffset: 0,
387 expect(currentSelection.baseOffset, 0);
404 expect(currentSelection.baseOffset, 5);
413 expect(currentSelection.baseOffset, 6);
420 expect(currentSelection.baseOffset, 5);
428 expect(currentSelection.baseOffset, 5);
462 expect(currentSelection.baseOffset, 1);
481 selection: const TextSelection(baseOffset: 3, extentOffset: 4),
504 selection: const TextSelection(baseOffset: 3, extentOffset: 4),
520 expect(updatedSelection.baseOffset, 3);
Dparagraph_test.dart61 const TextSelection(baseOffset: 5, extentOffset: 25)
67 const TextSelection(baseOffset: 25, extentOffset: 50)
267 TextSelection(baseOffset: i, extentOffset: i + 1)
354 const TextSelection(baseOffset: 0, extentOffset: 8)
400 const TextSelection(baseOffset: 0, extentOffset: 12)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmVariablePointersTests.cpp1055 const int baseOffset = getBaseOffsetForSingleInputBuffer(indexesForLevel[indexLevel][0], in addComplexTypesPhysicalOrVariablePointersComputeGroup() local
1082 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesPhysicalOrVariablePointersComputeGroup()
1118 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesPhysicalOrVariablePointersComputeGroup()
1163 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesPhysicalOrVariablePointersComputeGroup()
1197 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesPhysicalOrVariablePointersComputeGroup()
1232 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesPhysicalOrVariablePointersComputeGroup()
1805 deUint32 baseOffset = -1; in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup() local
2059 baseOffset = getBaseOffset(indexesForLevel[indexLevel][1], in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup()
2086 getExpectedOutputColor(defaultColors, expectedColors, selectedInput[baseOffset]); in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup()
2109 getExpectedOutputColor(defaultColors, expectedColors, selectedInput[baseOffset]); in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DUtilsD3D12.h50 uint64_t baseOffset,
70 uint64_t baseOffset,
DUtilsD3D12.cpp150 uint64_t baseOffset, in RecordCopyBufferToTextureFromTextureCopySplit() argument
165 const uint64_t offsetBytes = info.alignedOffset + baseOffset; in RecordCopyBufferToTextureFromTextureCopySplit()
269 uint64_t baseOffset, in RecordCopyTextureToBufferFromTextureCopySplit() argument
283 const uint64_t offsetBytes = info.alignedOffset + baseOffset; in RecordCopyTextureToBufferFromTextureCopySplit()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexDataManager.cpp134 baseOffset(0), in TranslatedAttribute()
151 *offsetOut = baseOffset; in computeOffset()
155 CheckedNumeric<unsigned int> offset(baseOffset); in computeOffset()
340 directAttrib->baseOffset = in StoreDirectAttrib()
407 translated->baseOffset = streamOffset + firstElementOffset; in StoreStaticAttrib()
570 translated->baseOffset = streamOffset; in storeDynamicAttrib()
616 translated->baseOffset = static_cast<unsigned int>(cachedState->offset); in storeCurrentValue()
DVertexDataManager.h65 unsigned int baseOffset; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexDataManager.cpp132 baseOffset(0), in TranslatedAttribute()
149 *offsetOut = baseOffset; in computeOffset()
153 CheckedNumeric<unsigned int> offset(baseOffset); in computeOffset()
339 directAttrib->baseOffset = in StoreDirectAttrib()
406 translated->baseOffset = streamOffset + firstElementOffset; in StoreStaticAttrib()
578 translated->baseOffset = streamOffset; in storeDynamicAttrib()
624 translated->baseOffset = static_cast<unsigned int>(cachedState->offset); in storeCurrentValue()
DVertexDataManager.h65 unsigned int baseOffset; member
/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_painter_rtl_test.dart120 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 27)),
133 … list.add(painter.getBoxesForSelection(TextSelection(baseOffset: index, extentOffset: index + 1)));
247 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 27)),
306 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 2)),
313 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 1)),
319 painter.getBoxesForSelection(const TextSelection(baseOffset: 1, extentOffset: 2)),
350 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 16)),
383 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 16)),
395 … list.add(painter.getBoxesForSelection(TextSelection(baseOffset: index, extentOffset: index + 1)));
437 painter.getBoxesForSelection(const TextSelection(baseOffset: 0, extentOffset: 16)),
[all …]
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtext_selection_test.dart50 selection: const TextSelection(baseOffset: 1, extentOffset: 2),
60 selection: const TextSelection(baseOffset: 0, extentOffset: 3),
Dtext_field_test.dart1478 const TextSelection(baseOffset: 0, extentOffset: 7),
1520 const TextSelection(baseOffset: 8, extentOffset: 12),
1555 const TextSelection(baseOffset: 8, extentOffset: 12),
1567 const TextSelection(baseOffset: 8, extentOffset: 12),
1648 const TextSelection(baseOffset: 35, extentOffset: 35),
1660 const TextSelection(baseOffset: 35, extentOffset: 35),
1695 const TextSelection(baseOffset: 0, extentOffset: 35),
1707 const TextSelection(baseOffset: 0, extentOffset: 35),
2053 const TextSelection(baseOffset: 8, extentOffset: 12),
2088 const TextSelection(baseOffset: 0, extentOffset: 7),
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dtext_selection_test.dart50 selection: const TextSelection(baseOffset: 1, extentOffset: 2),
60 selection: const TextSelection(baseOffset: 0, extentOffset: 3),
Dtext_field_test.dart565 expect(controller.selection.baseOffset, -1);
679 expect(controller.selection.baseOffset, -1);
692 expect(controller.selection.baseOffset, tapIndex);
707 expect(controller.selection.baseOffset, -1);
720 expect(controller.selection.baseOffset, -1);
748 expect(controller.selection.baseOffset, testValue.indexOf('d'));
756 expect(controller.selection.baseOffset, testValue.indexOf('h'));
866 expect(controller.selection.baseOffset, eIndex);
974 expect(currentOverlaySelection.baseOffset, 0);
980 baseOffset: 1, extentOffset: 7
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Deditable.dart411 _baseOffset = selection.baseOffset;
458 newOffset = textSelection.baseOffset + 1;
527 baseOffset: _baseOffset,
535 baseOffset: newOffset,
604 baseOffset: 0,
1063 final int baseOffset = !extentSelection ? extentOffset : _selection.baseOffset;
1065 … TextSelection(baseOffset: baseOffset, extentOffset: extentOffset), SelectionChangedCause.keyboard,
1073 final int baseOffset = !extentSelection ? extentOffset : _selection.baseOffset;
1075 … TextSelection(baseOffset: baseOffset, extentOffset: extentOffset), SelectionChangedCause.keyboard,
1086 final int baseOffset = extentSelection ? _selection.baseOffset : nextWord.start;
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp326 deUint32 addAndCountNodes (BinaryIndexNode* index, deUint32 baseOffset, const SparseIndexNode* grou… in addAndCountNodes() argument
337 const deUint32 subtreeSize = addAndCountNodes(index+curOffset, baseOffset+curOffset, child); in addAndCountNodes()
346 index[childNdx].index = baseOffset+curOffset; in addAndCountNodes()
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp344 int baseOffset = offset; in blowUpActiveAggregate() local
371 offset = baseOffset + stride * i; in blowUpActiveAggregate()
383 if (baseOffset >= 0) { in blowUpActiveAggregate()
395 offset = baseOffset + memberOffsets[i]; in blowUpActiveAggregate()

12