Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 3254) sorted by relevance

12345678910>>...131

/external/flatbuffers/tests/MyGame/Example/
DMonster.lua43 self.view = flatbuffers.view.New(buf, pos)
47 local o = self.view:Offset(4)
49 local x = self.view.pos + o
51 obj:Init(self.view.bytes, x)
57 local o = self.view:Offset(6)
59 return self.view:Get(flatbuffers.N.Int16, self.view.pos + o)
65 local o = self.view:Offset(8)
67 return self.view:Get(flatbuffers.N.Int16, self.view.pos + o)
73 local o = self.view:Offset(10)
75 return self.view:String(self.view.pos + o)
[all …]
DTypeAliases.lua25 self.view = flatbuffers.view.New(buf, pos)
29 local o = self.view:Offset(4)
31 return self.view:Get(flatbuffers.N.Int8, self.view.pos + o)
37 local o = self.view:Offset(6)
39 return self.view:Get(flatbuffers.N.Uint8, self.view.pos + o)
45 local o = self.view:Offset(8)
47 return self.view:Get(flatbuffers.N.Int16, self.view.pos + o)
53 local o = self.view:Offset(10)
55 return self.view:Get(flatbuffers.N.Uint16, self.view.pos + o)
61 local o = self.view:Offset(12)
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewTest.java30 import android.view.ContextMenu;
31 import android.view.HapticFeedbackConstants;
32 import android.view.MotionEvent;
33 import android.view.View;
34 import android.view.View.MeasureSpec;
35 import android.view.View.OnClickListener;
36 import android.view.View.OnLongClickListener;
37 import android.view.ViewGroup;
38 import android.view.ViewParent;
39 import android.view.ViewTreeObserver;
[all …]
DShadowVideoViewTest.java18 private VideoView view; field in ShadowVideoViewTest
21 view = new VideoView(ApplicationProvider.getApplicationContext()); in setUp()
27 view.setOnPreparedListener(l); in shouldSetOnPreparedListener()
28 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnPreparedListener()
35 view.setOnErrorListener(l); in shouldSetOnErrorListener()
36 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnErrorListener()
43 view.setOnCompletionListener(l); in shouldSetOnCompletionListener()
44 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnCompletionListener()
50 view.setVideoPath("video.mp4"); in shouldSetVideoPath()
51 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetVideoPath()
[all …]
/external/autotest/server/cros/tradefed/tradefed_utils_unittest_data/
DCtsViewTestCases.txt12 03-25 20:09:17 D/InstrumentationTest: Collecting test info for android.view.cts on device chromeos2…
13 …TestFile /data/local/tmp/ajur/excludes.txt -e timeout_msec 300000 android.view.cts/android.support…
14 …TestFile /data/local/tmp/ajur/excludes.txt -e timeout_msec 300000 android.view.cts/android.support…
15 03-25 20:09:24 D/ModuleListener: ModuleListener.testRunStarted(android.view.cts, 739)
17 03-25 20:09:24 D/ModuleListener: ModuleListener.testStarted(android.view.animation.cts.AccelerateDe…
18 03-25 20:09:27 D/ModuleListener: ModuleListener.testEnded(android.view.animation.cts.AccelerateDece…
19 …/739 armeabi-v7a CtsViewTestCases chromeos2-row4-rack8-host12:22] android.view.animation.cts.Accel…
20 03-25 20:09:27 D/ModuleListener: ModuleListener.testStarted(android.view.animation.cts.AccelerateDe…
21 03-25 20:09:27 D/ModuleListener: ModuleListener.testEnded(android.view.animation.cts.AccelerateDece…
22 …/739 armeabi-v7a CtsViewTestCases chromeos2-row4-rack8-host12:22] android.view.animation.cts.Accel…
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewTest.java32 import android.view.ContextMenu;
33 import android.view.HapticFeedbackConstants;
34 import android.view.LayoutInflater;
35 import android.view.MotionEvent;
36 import android.view.View;
37 import android.view.View.MeasureSpec;
38 import android.view.View.OnClickListener;
39 import android.view.View.OnLongClickListener;
40 import android.view.ViewGroup;
41 import android.view.ViewTreeObserver;
[all …]
DShadowVideoViewTest.java18 private VideoView view; field in ShadowVideoViewTest
21 view = new VideoView(ApplicationProvider.getApplicationContext()); in setUp()
27 view.setOnPreparedListener(l); in shouldSetOnPreparedListener()
28 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnPreparedListener()
35 view.setOnErrorListener(l); in shouldSetOnErrorListener()
36 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnErrorListener()
43 view.setOnCompletionListener(l); in shouldSetOnCompletionListener()
44 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnCompletionListener()
50 view.setVideoPath("video.mp4"); in shouldSetVideoPath()
51 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetVideoPath()
[all …]
/external/libese/ready_se/google/keymint/KM200/HAL/
DJavacardKeyMintOperation.cpp60 DataView view = {.buffer = {}, .data = input, .start = 0, .length = input.size()}; in update() local
61 keymaster_error_t err = bufferData(view); in update()
67 if (view.length > MAX_CHUNK_SIZE) { in update()
68 err = updateInChunks(view, aToken, tToken, output); in update()
73 vector<uint8_t> remaining = popNextChunk(view, view.length); in update()
89 DataView view = {.buffer = {}, .data = inData, .start = 0, .length = inData.size()}; in finish() local
93 appendBufferedData(view); in finish()
94 if (view.length > MAX_CHUNK_SIZE) { in finish()
95 auto err = updateInChunks(view, aToken, tToken, output); in finish()
101 keymaster_error_t err = bufferData(view); in finish()
[all …]
/external/libese/ready_se/google/keymint/KM300/HAL/
DJavacardKeyMintOperation.cpp60 DataView view = {.buffer = {}, .data = input, .start = 0, .length = input.size()}; in update() local
61 keymaster_error_t err = bufferData(view); in update()
67 if (view.length > MAX_CHUNK_SIZE) { in update()
68 err = updateInChunks(view, aToken, tToken, output); in update()
73 vector<uint8_t> remaining = popNextChunk(view, view.length); in update()
89 DataView view = {.buffer = {}, .data = inData, .start = 0, .length = inData.size()}; in finish() local
93 appendBufferedData(view); in finish()
94 if (view.length > MAX_CHUNK_SIZE) { in finish()
95 auto err = updateInChunks(view, aToken, tToken, output); in finish()
101 keymaster_error_t err = bufferData(view); in finish()
[all …]
/external/python/cpython2/Objects/
Dmemoryobject.c34 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) in memory_getbuf() argument
37 if (self->view.obj != NULL) in memory_getbuf()
38 res = PyObject_GetBuffer(self->view.obj, view, flags); in memory_getbuf()
39 if (view) in memory_getbuf()
40 dup_buffer(view, &self->view); in memory_getbuf()
45 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) in memory_releasebuf() argument
47 PyBuffer_Release(view); in memory_releasebuf()
65 dup_buffer(&mview->view, info); in PyMemoryView_FromBuffer()
76 Py_buffer view; in PyMemoryView_FromObject() local
85 if (PyObject_GetBuffer(base, &view, PyBUF_FULL_RO) < 0) in PyMemoryView_FromObject()
[all …]
/external/cpu_features/src/
Dstack_line_reader.c24 reader->view.ptr = reader->buffer; in StackLineReader_Initialize()
25 reader->view.size = 0; in StackLineReader_Initialize()
35 reader->view.ptr = reader->buffer; in LoadFullBuffer()
36 reader->view.size = read; in LoadFullBuffer()
42 char* const ptr = reader->buffer + reader->view.size; in LoadMore()
43 const size_t size_to_read = STACK_LINE_READER_BUFFER_SIZE - reader->view.size; in LoadMore()
47 reader->view.size += read; in LoadMore()
52 return CpuFeatures_StringView_IndexOfChar(reader->view, '\n'); in IndexOfEol()
58 if (reader->view.size && reader->view.ptr != reader->buffer) { in BringToFrontAndLoadMore()
59 memmove(reader->buffer, reader->view.ptr, reader->view.size); in BringToFrontAndLoadMore()
[all …]
Dstring_view.c30 int CpuFeatures_StringView_IndexOfChar(const StringView view, char c) { in CpuFeatures_StringView_IndexOfChar() argument
31 if (view.ptr && view.size) { in CpuFeatures_StringView_IndexOfChar()
32 const char* const found = CpuFeatures_memchr(view.ptr, view.size, c); in CpuFeatures_StringView_IndexOfChar()
34 return (int)(found - view.ptr); in CpuFeatures_StringView_IndexOfChar()
40 int CpuFeatures_StringView_IndexOf(const StringView view, in CpuFeatures_StringView_IndexOf() argument
43 StringView remainder = view; in CpuFeatures_StringView_IndexOf()
50 return (int)(remainder.ptr - view.ptr); in CpuFeatures_StringView_IndexOf()
76 return view(str_view.ptr + count, str_view.size - count); in CpuFeatures_StringView_PopFront()
84 return view(str_view.ptr, str_view.size - count); in CpuFeatures_StringView_PopBack()
89 return count <= str_view.size ? view(str_view.ptr, count) : str_view; in CpuFeatures_StringView_KeepFront()
[all …]
/external/flatbuffers/samples/lua/MyGame/Sample/
DMonster.lua22 self.view = flatbuffers.view.New(buf, pos)
25 local o = self.view:Offset(4)
27 local x = o + self.view.pos
29 obj:Init(self.view.bytes, x)
34 local o = self.view:Offset(6)
36 return self.view:Get(flatbuffers.N.Int16, o + self.view.pos)
41 local o = self.view:Offset(8)
43 return self.view:Get(flatbuffers.N.Int16, o + self.view.pos)
48 local o = self.view:Offset(10)
50 return self.view:String(o + self.view.pos)
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DViewTarget.java5 import android.view.Display;
6 import android.view.View;
7 import android.view.ViewGroup;
8 import android.view.ViewTreeObserver;
9 import android.view.WindowManager;
40 protected final T view; field in ViewTarget
43 public ViewTarget(T view) { in ViewTarget() argument
44 if (view == null) { in ViewTarget()
47 this.view = view; in ViewTarget()
48 sizeDeterminer = new SizeDeterminer(view); in ViewTarget()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DLayoutStyler.java23 import android.view.View;
24 import android.view.ViewGroup;
43 public static void applyPartnerCustomizationLayoutPaddingStyle(@Nullable View view) { in applyPartnerCustomizationLayoutPaddingStyle() argument
44 if (view == null) { in applyPartnerCustomizationLayoutPaddingStyle()
48 Context context = view.getContext(); in applyPartnerCustomizationLayoutPaddingStyle()
58 if (PartnerStyleHelper.shouldApplyPartnerResource(view) in applyPartnerCustomizationLayoutPaddingStyle()
68 paddingStart = view.getPaddingStart(); in applyPartnerCustomizationLayoutPaddingStyle()
76 paddingEnd = view.getPaddingEnd(); in applyPartnerCustomizationLayoutPaddingStyle()
79 if (paddingStart != view.getPaddingStart() || paddingEnd != view.getPaddingEnd()) { in applyPartnerCustomizationLayoutPaddingStyle()
80 view.setPadding(paddingStart, view.getPaddingTop(), paddingEnd, view.getPaddingBottom()); in applyPartnerCustomizationLayoutPaddingStyle()
[all …]
/external/rust/crates/weak-table/src/
Dtraits.rs29 fn new(view: &Self::Strong) -> Self; in new()
34 fn view(&self) -> Option<Self::Strong>; in view() method
40 self.view().is_none() in is_expired()
46 fn clone(view: &Self::Strong) -> Self::Strong in clone()
49 Self::new(view).view().expect("WeakElement::clone") in clone()
70 fn with_key<F, R>(view: &Self::Strong, f: F) -> R in with_key()
74 fn hash<H: Hasher>(view: &Self::Strong, h: &mut H) { in hash()
75 Self::with_key(view, |k| k.hash(h)); in hash()
79 fn equals<Q>(view: &Self::Strong, key: &Q) -> bool in equals()
83 Self::with_key(view, |k| k.borrow() == key) in equals()
[all …]
/external/zucchini/
Dbuffer_view_unittest.cc66 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() local
68 EXPECT_EQ(0x10, view[0]); in TEST_F()
69 static_assert(!std::is_assignable<decltype(view[0]), uint8_t>::value, in TEST_F()
80 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() local
82 ConstBufferView sub_view = view[{2, 4}]; in TEST_F()
83 EXPECT_EQ(view.begin() + 2, sub_view.begin()); in TEST_F()
169 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() local
171 BufferRegion region = view.local_region(); in TEST_F()
180 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() local
182 EXPECT_TRUE(view.covers({0, 0})); in TEST_F()
[all …]
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/
DWorkSpaceController.java55 private final WorkSpaceView view = new WorkSpaceView(); field in WorkSpaceController
61 view.resultPane = (JPanel) runner.getView(); in WorkSpaceController()
62 view.initComponents(); in WorkSpaceController()
68 this.view.setTitle("gUnitEditor"); in show()
69 this.view.setVisible(true); in show()
70 this.view.pack(); in show()
74 return view.paneEditor.getView(); in getEmbeddedView()
78 this.view.tabEditors.addChangeListener(new TabChangeListener()); in initEventHandlers()
79 this.view.listRules.setListSelectionListener(new RuleListSelectionListener()); in initEventHandlers()
80 this.view.paneEditor.onTestCaseNumberChange = new ActionListener() { in initEventHandlers()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java26 import android.view.MotionEvent;
27 import android.view.View;
28 import android.view.ViewGroup;
29 import android.view.accessibility.AccessibilityEvent;
33 import androidx.core.view.AccessibilityDelegateCompat;
34 import androidx.core.view.accessibility.AccessibilityNodeInfoCompat;
35 import androidx.core.view.accessibility.AccessibilityNodeProviderCompat;
74 public LinkAccessibilityHelper(TextView view) { in LinkAccessibilityHelper() argument
80 : new PreOLinkAccessibilityHelper(view)); in LinkAccessibilityHelper()
149 private final TextView view; field in LinkAccessibilityHelper.PreOLinkAccessibilityHelper
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c136 struct pipe_sampler_view *view = NULL; in llvmpipe_set_sampler_views() local
139 view = views[i]; in llvmpipe_set_sampler_views()
145 if (view && view->context != pipe) { in llvmpipe_set_sampler_views()
150 if (view) in llvmpipe_set_sampler_views()
151 llvmpipe_flush_resource(pipe, view->texture, 0, true, false, false, "sampler_view"); in llvmpipe_set_sampler_views()
153 view); in llvmpipe_set_sampler_views()
186 struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view); in llvmpipe_create_sampler_view() local
196 if (view) { in llvmpipe_create_sampler_view()
197 *view = *templ; in llvmpipe_create_sampler_view()
198 view->reference.count = 1; in llvmpipe_create_sampler_view()
[all …]
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/configuration/
DConfigurationActivity.java20 private SubsamplingScaleImageView view; field in ConfigurationActivity
40 view = findViewById(id.imageView); in onCreate()
41 view.setImage(ImageSource.asset("card.png")); in onCreate()
47 view.setMinimumDpi(50); in onPageChanged()
49 view.setMaxScale(2F); in onPageChanged()
52 view.setMinimumTileDpi(50); in onPageChanged()
54 view.setMinimumTileDpi(320); in onPageChanged()
57 view.setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_CENTER); in onPageChanged()
59 view.setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_CENTER_IMMEDIATE); in onPageChanged()
61 view.setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_FIXED); in onPageChanged()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_sampler.c38 default_template(struct pipe_sampler_view *view, in default_template() argument
43 memset(view, 0, sizeof(*view)); in default_template()
48 view->target = texture->target; in default_template()
49 view->format = format; in default_template()
50 view->u.tex.first_level = 0; in default_template()
51 view->u.tex.last_level = texture->last_level; in default_template()
52 view->u.tex.first_layer = 0; in default_template()
53 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ? in default_template()
55 view->swizzle_r = PIPE_SWIZZLE_X; in default_template()
56 view->swizzle_g = PIPE_SWIZZLE_Y; in default_template()
[all …]
/external/python/cpython3/Objects/
Dmemoryobject.c211 #define VIEW_ADDR(mv) (&((PyMemoryViewObject *)mv)->view)
227 #define MV_CONTIGUOUS_NDIM1(view) \ argument
228 ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
255 #define HAVE_SUBOFFSETS_IN_LAST_DIM(view) \ argument
256 (view->suboffsets && view->suboffsets[dest->ndim-1] >= 0)
454 init_strides_from_shape(Py_buffer *view) in init_strides_from_shape() argument
458 assert(view->ndim > 0); in init_strides_from_shape()
460 view->strides[view->ndim-1] = view->itemsize; in init_strides_from_shape()
461 for (i = view->ndim-2; i >= 0; i--) in init_strides_from_shape()
462 view->strides[i] = view->strides[i+1] * view->shape[i+1]; in init_strides_from_shape()
[all …]
Dpicklebufobject.c10 Py_buffer view; member
26 self->view.obj = NULL; in PyPickleBuffer_FromObject()
28 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in PyPickleBuffer_FromObject()
46 if (self->view.obj == NULL) { in PyPickleBuffer_GetBuffer()
51 return &self->view; in PyPickleBuffer_GetBuffer()
65 PyBuffer_Release(&self->view); in PyPickleBuffer_Release()
85 self->view.obj = NULL; in picklebuf_new()
87 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in picklebuf_new()
97 Py_VISIT(self->view.obj); in picklebuf_traverse()
104 PyBuffer_Release(&self->view); in picklebuf_clear()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.filter/
Dbegin.pass.cpp58 std::ranges::filter_view view(range, pred); in general_tests() local
59 using FilterIterator = std::ranges::iterator_t<decltype(view)>; in general_tests()
60 ASSERT_SAME_TYPE(FilterIterator, decltype(view.begin())); in general_tests()
67 std::ranges::filter_view view(range, pred); in general_tests() local
68 auto it = view.begin(); in general_tests()
70 assert(it == view.end()); in general_tests()
78 std::ranges::filter_view view(range, pred); in general_tests() local
79 auto it = view.begin(); in general_tests()
85 std::ranges::filter_view view(range, pred); in general_tests() local
86 auto it = view.begin(); in general_tests()
[all …]

12345678910>>...131