/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
ViewfinderView.java | 83 Rect frame = cameraManager.getFramingRect(); local 84 if (frame == null) { 92 canvas.drawRect(0, 0, width, frame.top, paint); 93 canvas.drawRect(0, frame.top, frame.left, frame.bottom + 1, paint); 94 canvas.drawRect(frame.right + 1, frame.top, width, frame.bottom + 1, paint); 95 canvas.drawRect(0, frame.bottom + 1, width, height, paint) [all...] |
/frameworks/base/libs/hwui/ |
DamageAccumulator.cpp | 40 // When this frame is pop'd, this rect is mapped through the above transform 41 // and applied to the previous (aka parent) frame 103 LOG_ALWAYS_FATAL_IF(mHead->prev == mHead, "Cannot pop the root frame!"); 128 void DamageAccumulator::applyMatrix4Transform(DirtyStack* frame) { 129 mapRect(frame->matrix4, frame->pendingDirty, &mHead->pendingDirty); 143 static DirtyStack* findParentRenderNode(DirtyStack* frame) { 144 while (frame->prev != frame) { 145 frame = frame->prev [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DocumentInit.cpp | 33 #include "core/frame/LocalFrame.h" 41 static Document* parentDocument(LocalFrame* frame) 43 if (!frame) 45 Element* ownerElement = frame->deprecatedLocalOwner(); 52 static Document* ownerDocument(LocalFrame* frame) 54 if (!frame) 57 Frame* ownerFrame = frame->tree().parent(); 59 ownerFrame = frame->loader().opener(); 65 DocumentInit::DocumentInit(const KURL& url, LocalFrame* frame, WeakPtrWillBeRawPtr<Document> contextDocument, HTMLImportsController* importsController 96 LocalFrame* frame = frameForSecurityContext(); local [all...] |
/external/chromium_org/cc/output/ |
direct_renderer.cc | 81 void DirectRenderer::InitializeViewport(DrawingFrame* frame, 92 frame->projection_matrix = OrthoProjectionMatrix(draw_rect.x(), 97 frame->projection_matrix = OrthoProjectionMatrix(draw_rect.x(), 106 frame->window_matrix = window_matrix(window_rect.x(), 180 // Delete RenderPass textures from the previous frame that will not be used 207 DrawingFrame frame; local 208 frame.render_passes_in_draw_order = render_passes_in_draw_order; 209 frame.root_render_pass = root_render_pass; 210 frame.root_damage_rect = Capabilities().using_partial_swap 213 frame.root_damage_rect.Intersect(gfx::Rect(device_viewport_rect.size())) [all...] |
/external/chromium_org/media/base/ |
video_frame_unittest.cc | 22 // Helper function that initializes a YV12 frame with white and black scan 24 // frame will be black, if 1 then the entire frame will be white. 25 void InitializeYV12Frame(VideoFrame* frame, double white_to_black) { 26 EXPECT_EQ(VideoFrame::YV12, frame->format()); 27 int first_black_row = static_cast<int>(frame->coded_size().height() * 29 uint8* y_plane = frame->data(VideoFrame::kYPlane); 30 for (int row = 0; row < frame->coded_size().height(); ++row) { 32 memset(y_plane, color, frame->stride(VideoFrame::kYPlane)); 33 y_plane += frame->stride(VideoFrame::kYPlane) 98 scoped_refptr<VideoFrame> frame = VideoFrame::CreateFrame( local 129 scoped_refptr<media::VideoFrame> frame = local 168 scoped_refptr<media::VideoFrame> frame = local 207 scoped_refptr<media::VideoFrame> frame; local 254 scoped_refptr<VideoFrame> frame = VideoFrame::WrapNativeTexture( local 296 scoped_refptr<VideoFrame> frame = VideoFrame::WrapNativeTexture( local 324 scoped_refptr<media::VideoFrame> frame = VideoFrame::CreateFrame( local [all...] |
/external/chromium_org/content/renderer/ |
history_controller.cc | 75 // frame to navigate based on names if this were a same document 82 WebFrame* frame = same_document_loads[i].first; local 83 if (!RenderFrameImpl::FromWebFrame(frame)) 85 frame->loadHistoryItem(same_document_loads[i].second, 90 WebFrame* frame = different_document_loads[i].first; local 91 if (!RenderFrameImpl::FromWebFrame(frame)) 93 frame->loadHistoryItem(different_document_loads[i].second, 100 WebFrame* frame, 105 RenderFrameImpl* render_frame = RenderFrameImpl::FromWebFrame(frame); 117 same_document_loads.push_back(std::make_pair(frame, new_item)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
InjectedStyleSheets.cpp | 26 #include "core/frame/LocalFrame.h" 58 for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().traverseNext()) { 59 if (frame->isLocalFrame()) 60 toLocalFrame(frame)->document()->styleEngine()->invalidateInjectedStyleSheetCache();
|
/external/chromium_org/third_party/WebKit/Source/modules/donottrack/ |
NavigatorDoNotTrack.cpp | 34 #include "core/frame/LocalFrame.h" 35 #include "core/frame/Navigator.h" 40 NavigatorDoNotTrack::NavigatorDoNotTrack(LocalFrame* frame) 41 : DOMWindowProperty(frame) 62 supplement = new NavigatorDoNotTrack(navigator.frame()); 75 if (!frame() || !frame()->loader().client()) 77 return frame()->loader().client()->doNotTrackValue();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
EditorClientImpl.cpp | 48 void EditorClientImpl::respondToChangedSelection(LocalFrame* frame, SelectionType selectionType) 50 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); 61 bool EditorClientImpl::canCopyCut(LocalFrame* frame, bool defaultValue) const 63 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); 69 bool EditorClientImpl::canPaste(LocalFrame* frame, bool defaultValue) const 71 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
|
/external/chromium_org/third_party/mozilla/ |
NSScreen+Utils.m | 51 NSRect frame = [screen frame]; 52 if (NSPointInRect(point, frame))
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
decoding_state.h | 26 // Check for old frame 27 bool IsOldFrame(const VCMFrameBuffer* frame) const; 30 // Check for frame continuity based on current decoded state. Use best method 32 bool ContinuousFrame(const VCMFrameBuffer* frame) const; 33 void SetState(const VCMFrameBuffer* frame); 35 bool UpdateEmptyFrame(const VCMFrameBuffer* frame); 50 void UpdateSyncState(const VCMFrameBuffer* frame); 55 bool UsingPictureId(const VCMFrameBuffer* frame) const; 57 // Keep state of last decoded frame.
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
AverageFilterTest.java | 33 FrameValue frame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); local 34 frame.setValue(5f); 36 injectInputFrame("sharpness", frame); 44 FrameValue frame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); local 45 frame.setValue(4f); 47 injectInputFrame("sharpness", frame);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
FrameTestHelpers.cpp | 52 // The frame test helpers coordinate frame loads in a carefully choreographed 67 TestWebFrameClient* testClientForFrame(WebFrame* frame) 69 return static_cast<TestWebFrameClient*>(toWebLocalFrameImpl(frame)->client()); 109 void pumpPendingRequests(WebFrame* frame) 111 Platform::current()->currentThread()->postTask(new ServeAsyncRequestsTask(testClientForFrame(frame))); 117 LoadTask(WebFrame* frame, const WebURLRequest& request) 118 : m_frame(frame) 135 LoadHTMLStringTask(WebFrame* frame, const std::string& html, const WebURL& baseURL) 136 : m_frame(frame) 309 WebFrame* frame = WebLocalFrame::create(this); local [all...] |
/external/chromium_org/android_webview/renderer/ |
aw_render_frame_ext.cc | 22 blink::WebLocalFrame* frame = render_frame()->GetWebFrame(); local 24 content::DocumentState::FromDataSource(frame->dataSource()); 26 blink::WebSecurityOrigin origin = frame->document().securityOrigin();
|
/external/chromium_org/extensions/renderer/ |
script_context_browsertest.cc | 20 GURL GetEffectiveDocumentURL(const WebFrame* frame) { 22 frame, frame->document().url(), true); 44 WebFrame* frame = GetMainFrame(); local 45 ASSERT_TRUE(frame); 47 frame->loadHTMLString(frame_html, top_url); 48 content::FrameLoadWaiter(content::RenderFrame::FromWebFrame(frame)).Wait(); 50 WebFrame* frame1 = frame->findChildByName("frame1"); 56 WebFrame* frame2 = frame->findChildByName("frame2"); 60 WebFrame* frame3 = frame->findChildByName("frame3") [all...] |
/external/chromium_org/media/cast/test/utility/ |
barcode_unittest.cc | 15 scoped_refptr<media::VideoFrame> frame = local 18 EXPECT_TRUE(EncodeBarcode(in_bits, frame)); 20 EXPECT_TRUE(DecodeBarcode(frame, &out_bits)); 26 scoped_refptr<media::VideoFrame> frame = local 31 EXPECT_TRUE(EncodeBarcode(in_bits, frame)); 32 EXPECT_TRUE(DecodeBarcode(frame, &out_bits)); 38 EXPECT_TRUE(EncodeBarcode(in_bits, frame)); 39 EXPECT_TRUE(DecodeBarcode(frame, &out_bits)); 45 EXPECT_TRUE(EncodeBarcode(in_bits, frame)); 46 EXPECT_TRUE(DecodeBarcode(frame, &out_bits)) [all...] |
/external/chromium_org/media/filters/ |
clockless_video_frame_scheduler.cc | 23 const scoped_refptr<VideoFrame>& frame, 26 display_cb_.Run(frame); 28 FROM_HERE, base::Bind(done_cb, frame, DISPLAYED));
|
/external/chromium_org/remoting/codec/ |
video_encoder_helper.cc | 17 const webrtc::DesktopFrame& frame) { 18 return CreateVideoPacketWithUpdatedRegion(frame, frame.updated_region()); 23 const webrtc::DesktopFrame& frame, 28 if (!frame.size().equals(screen_size_)) { 29 screen_size_ = frame.size(); 47 // Record the shape of the frame, if specified. 48 if (frame.shape()) { 50 for (webrtc::DesktopRegion::Iterator r(*frame.shape()); 60 // Store the capture time and frame DPI [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
ClearButtonElement.cpp | 30 #include "core/frame/LocalFrame.h" 57 if (LocalFrame* frame = document().frame()) 58 frame->eventHandler().setCapturingMouseEventsNode(nullptr); 68 if (LocalFrame* frame = document().frame()) { 69 frame->eventHandler().setCapturingMouseEventsNode(nullptr); 90 if (LocalFrame* frame = document().frame()) { 91 frame->eventHandler().setCapturingMouseEventsNode(this) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
superframe_test.cc | 39 if (video->frame() == 1) { 49 const uint8_t *buffer = reinterpret_cast<uint8_t*>(pkt->data.frame.buf); 50 const uint8_t marker = buffer[pkt->data.frame.sz - 1]; 55 pkt->data.frame.sz >= index_sz && 56 buffer[pkt->data.frame.sz - index_sz] == marker) { 57 // frame is a superframe. strip off the index. 60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz]; 61 memcpy(modified_buf_, pkt->data.frame.buf, 62 pkt->data.frame.sz - index_sz); 64 modified_pkt_.data.frame.buf = modified_buf_ [all...] |
/external/elfutils/0.153/libdw/ |
dwarf_cfi_addrframe.c | 1 /* Compute frame state at PC. 57 dwarf_cfi_addrframe (cache, address, frame) 60 Dwarf_Frame **frame; 70 int error = __libdw_frame_at_address (cache, fde, address, frame);
|
/external/libvpx/libvpx/test/ |
superframe_test.cc | 39 if (video->frame() == 1) { 49 const uint8_t *buffer = reinterpret_cast<uint8_t*>(pkt->data.frame.buf); 50 const uint8_t marker = buffer[pkt->data.frame.sz - 1]; 55 pkt->data.frame.sz >= index_sz && 56 buffer[pkt->data.frame.sz - index_sz] == marker) { 57 // frame is a superframe. strip off the index. 60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz]; 61 memcpy(modified_buf_, pkt->data.frame.buf, 62 pkt->data.frame.sz - index_sz); 64 modified_pkt_.data.frame.buf = modified_buf_ [all...] |
/external/valgrind/main/coregrind/m_sigframe/ |
sigframe-ppc64-linux.c | 79 /*--- Signal frame layouts ---*/ 89 // frame is. Unfortunately, things like gcc's exception unwinding 90 // make assumptions about the locations of various parts of the frame, 147 VG_(printf)("frame=%#lx seg=%#lx-%#lx\n", 170 /* For tracking memory events, indicate the entire frame has been 194 struct rt_sigframe* frame; local 209 frame = (struct rt_sigframe *) sp; 212 VG_(memset)(frame, 0, sizeof(*frame)); 215 frame->pinfo = &frame->info 332 struct rt_sigframe *frame; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
superframe_test.cc | 39 if (video->frame() == 1) { 49 const uint8_t *buffer = reinterpret_cast<uint8_t*>(pkt->data.frame.buf); 50 const uint8_t marker = buffer[pkt->data.frame.sz - 1]; 55 pkt->data.frame.sz >= index_sz && 56 buffer[pkt->data.frame.sz - index_sz] == marker) { 57 // frame is a superframe. strip off the index. 60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz]; 61 memcpy(modified_buf_, pkt->data.frame.buf, 62 pkt->data.frame.sz - index_sz); 64 modified_pkt_.data.frame.buf = modified_buf_ [all...] |
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.8/share/gdb/python/gdb/ |
FrameIterator.py | 20 """A gdb.Frame iterator. Iterates over gdb.Frames or objects that 27 frame_obj the starting frame.""" 30 self.frame = frame_obj 39 The next oldest frame.""" 41 result = self.frame 44 self.frame = result.older()
|