/external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/ |
H A D | ScreenOrientationController.cpp | 9 #include "core/frame/FrameView.h" 10 #include "core/frame/LocalFrame.h" 24 void ScreenOrientationController::provideTo(LocalFrame& frame, WebScreenOrientationClient* client) argument 28 ScreenOrientationController* controller = new ScreenOrientationController(frame, client); 29 WillBeHeapSupplement<LocalFrame>::provideTo(frame, supplementName(), adoptPtrWillBeNoop(controller)); 32 ScreenOrientationController* ScreenOrientationController::from(LocalFrame& frame) argument 34 return static_cast<ScreenOrientationController*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName())); 37 ScreenOrientationController::ScreenOrientationController(LocalFrame& frame, WebScreenOrientationClient* client) argument 38 : FrameDestructionObserver(&frame) 39 , PlatformEventController(frame [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_and_cursor_composer.cc | 54 // DesktopFrame wrapper that draws mouse on a frame and restores original 55 // content before releasing the underlying frame. 58 // Takes ownership of |frame|. 59 DesktopFrameWithCursor(DesktopFrame* frame, 73 DesktopFrameWithCursor::DesktopFrameWithCursor(DesktopFrame* frame, argument 76 : DesktopFrame(frame->size(), frame->stride(), 77 frame->data(), frame->shared_memory()), 78 original_frame_(frame) { 153 OnCaptureCompleted(DesktopFrame* frame) argument [all...] |
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/helpers/ |
H A D | vie_to_file_renderer.cc | 84 // Signal that a frame is ready to be written to file. 130 test::Frame* frame; local 132 frame = new test::Frame(buffer, buffer_size, time_stamp, render_time); 134 // Reuse an already allocated frame. 135 frame = free_frame_queue_.front(); 137 if (frame->buffer_size < buffer_size) { 138 frame->buffer.reset(new unsigned char[buffer_size]); 140 memcpy(frame->buffer.get(), buffer, buffer_size); 141 frame->buffer_size = buffer_size; 142 frame 171 test::Frame* frame = render_queue_.front(); local [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
H A D | jitter_buffer.cc | 45 void FrameList::InsertFrame(VCMFrameBuffer* frame) { argument 46 insert(rbegin().base(), FrameListPair(frame->TimeStamp(), frame)); 60 VCMFrameBuffer* frame = it->second; 62 return frame; 78 // Throw at least one frame. 99 // This frame is empty, try to update the last decoded state and drop it 335 // We have received frame(s) since last call to this function 347 // Calculate frame rate 381 // Will the packet sequence be complete if the next frame i 488 VCMFrameBuffer* frame = decodable_frames_.PopFrame(timestamp); local 535 ReleaseFrame(VCMEncodedFrame* frame) argument 544 GetFrame(const VCMPacket& packet, VCMFrameBuffer** frame) argument 593 LastPacketTime(const VCMEncodedFrame* frame, bool* retransmitted) const argument 607 VCMFrameBuffer* frame = NULL; local 761 IsContinuousInState(const VCMFrameBuffer& frame, const VCMDecodingState& decoding_state) const argument 809 VCMFrameBuffer* frame = it->second; local 1097 VCMFrameBuffer* frame = free_frames_.front(); local 1147 CountFrame(const VCMFrameBuffer& frame) argument 1218 UpdateJitterEstimate(const VCMFrameBuffer& frame, bool incomplete_frame) argument [all...] |
/external/chromium_org/native_client_sdk/src/libraries/error_handling/ |
H A D | error_handling.c | 68 static void EHPrintFrame(sstream_t* ss, EHFrame* frame) { argument 73 ssprintf(ss, "\"frame_ptr\": %u,\n", frame->frame_ptr); 74 ssprintf(ss, "\"prog_ctr\": %u,\n", frame->prog_ctr); 78 start = frame->frame_ptr + 8; 80 start = frame->frame_ptr + 16; 83 for (i = start; i < frame->next_ptr && i - start < MAX_FRAME_CAP; i += 4) { 106 EHFrame* frame) { 110 frame->prog_ctr = portable_context->prog_ctr; 111 frame->frame_ptr = portable_context->frame_ptr; 112 frame 105 EHGetTopFrame(sstream_t* ss, struct NaClExceptionContext* context, EHFrame* frame) argument 117 EHUnwindFrame(EHFrame* frame) argument 157 EHFrame frame; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLFrameSetElement.cpp | 33 #include "core/frame/LocalFrame.h" 107 document().setWindowAttributeEventListener(EventTypeNames::load, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 109 document().setWindowAttributeEventListener(EventTypeNames::beforeunload, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 111 document().setWindowAttributeEventListener(EventTypeNames::unload, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 113 document().setWindowAttributeEventListener(EventTypeNames::pagehide, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 115 document().setWindowAttributeEventListener(EventTypeNames::pageshow, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 117 document().setWindowAttributeEventListener(EventTypeNames::blur, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 119 document().setWindowAttributeEventListener(EventTypeNames::error, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 121 document().setWindowAttributeEventListener(EventTypeNames::focus, createAttributeEventListener(document().frame(), name, value, eventParameterName())); 123 document().setWindowAttributeEventListener(EventTypeNames::focusin, createAttributeEventListener(document().frame(), nam [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/ |
H A D | utility_unittest.cc | 51 void SetMonoFrame(AudioFrame* frame, float data, int sample_rate_hz) { argument 52 memset(frame->data_, 0, sizeof(frame->data_)); 53 frame->num_channels_ = 1; 54 frame->sample_rate_hz_ = sample_rate_hz; 55 frame->samples_per_channel_ = sample_rate_hz / 100; 56 for (int i = 0; i < frame->samples_per_channel_; i++) { 57 frame->data_[i] = data * i; 62 void SetMonoFrame(AudioFrame* frame, float data) { argument 63 SetMonoFrame(frame, dat 68 SetStereoFrame(AudioFrame* frame, float left, float right, int sample_rate_hz) argument 81 SetStereoFrame(AudioFrame* frame, float left, float right) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | TypingCommand.cpp | 43 #include "core/frame/LocalFrame.h" 97 LocalFrame* frame = document.frame(); local 98 ASSERT(frame); 100 if (!frame->selection().isRange()) 103 if (RefPtrWillBeRawPtr<TypingCommand> lastTypingCommand = lastTypingCommandIfStillOpenForTyping(frame)) { 115 LocalFrame* frame = document.frame(); local 116 if (RefPtrWillBeRawPtr<TypingCommand> lastTypingCommand = lastTypingCommandIfStillOpenForTyping(frame)) { 120 updateSelectionIfDifferentFromCurrentSelection(lastTypingCommand.get(), frame); 135 LocalFrame* frame = document.frame(); local 147 updateSelectionIfDifferentFromCurrentSelection(TypingCommand* typingCommand, LocalFrame* frame) argument 160 LocalFrame* frame = document.frame(); local 172 RefPtrWillBeRawPtr<LocalFrame> frame = document.frame(); local 231 lastTypingCommandIfStillOpenForTyping(LocalFrame* frame) argument 242 closeTyping(LocalFrame* frame) argument 291 LocalFrame* frame = document().frame(); local 322 LocalFrame* frame = document().frame(); local 411 LocalFrame* frame = document().frame(); local 515 LocalFrame* frame = document().frame(); local [all...] |
H A D | Editor.cpp | 67 #include "core/frame/FrameView.h" 68 #include "core/frame/LocalFrame.h" 69 #include "core/frame/Settings.h" 70 #include "core/frame/UseCounter.h" 105 m_editor->frame().selection().revealSelection(ScrollAlignment::alignToEdgeIfNeeded, RevealExtent); 112 VisibleSelection selection = frame().selection().selection(); 129 if (!frame().settings()) 132 return EditingBehavior(frame().settings()->editingBehaviorType()); 143 if (Page* page = frame().page()) 150 if (Page* page = frame() 723 create(LocalFrame& frame) argument 728 Editor(LocalFrame& frame) argument [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
H A D | FramePrinter.java | 32 * A utility class for printing a merged view of the frame state and the 75 * Prints the instructions and the frame states of the given method. 106 Frame frame = frames[pos]; 107 if (frame == null) { 111 printStack(frame); 114 printLocals(frame); 119 private void printStack(Frame frame) { argument 121 int top = frame.getTopIndex(); 125 Type type = frame.getStack(i); 131 private void printLocals(Frame frame) { argument [all...] |
/external/chromium_org/third_party/libwebp/demux/ |
H A D | demux.c | 50 int is_fragment_; // this is a frame fragment (and not a full frame). 51 int frame_num_; // the referent frame number for use in assembling fragments. 184 // Add a frame to the end of the list, ensuring the last frame is complete. 186 static int AddFrame(WebPDemuxer* const dmux, Frame* const frame) { argument 190 *dmux->frames_tail_ = frame; 191 frame->next_ = NULL; 192 dmux->frames_tail_ = &frame->next_; 196 // Store image bearing chunks to 'frame' 197 StoreFrame(int frame_num, uint32_t min_size, MemBuffer* const mem, Frame* const frame) argument 285 NewFrame(const MemBuffer* const mem, uint32_t min_size, uint32_t actual_size, Frame** frame) argument 305 Frame* frame; local 350 Frame* frame; local 422 Frame* frame; local 597 const Frame* const frame = dmux->frames_; local 611 CheckFrameBounds(const Frame* const frame, int exact, int canvas_width, int canvas_height) argument 818 GetFramePayload(const uint8_t* const mem_buf, const Frame* const frame, size_t* const data_size) argument 876 const Frame* frame; local 888 WebPDemuxGetFrame(const WebPDemuxer* dmux, int frame, WebPIterator* iter) argument 910 const Frame* const frame = GetFrame(dmux, iter->frame_num); local [all...] |
/external/webp/src/demux/ |
H A D | demux.c | 50 int is_fragment_; // this is a frame fragment (and not a full frame). 51 int frame_num_; // the referent frame number for use in assembling fragments. 184 // Add a frame to the end of the list, ensuring the last frame is complete. 186 static int AddFrame(WebPDemuxer* const dmux, Frame* const frame) { argument 190 *dmux->frames_tail_ = frame; 191 frame->next_ = NULL; 192 dmux->frames_tail_ = &frame->next_; 196 // Store image bearing chunks to 'frame' 197 StoreFrame(int frame_num, uint32_t min_size, MemBuffer* const mem, Frame* const frame) argument 285 NewFrame(const MemBuffer* const mem, uint32_t min_size, uint32_t actual_size, Frame** frame) argument 305 Frame* frame; local 350 Frame* frame; local 422 Frame* frame; local 597 const Frame* const frame = dmux->frames_; local 611 CheckFrameBounds(const Frame* const frame, int exact, int canvas_width, int canvas_height) argument 818 GetFramePayload(const uint8_t* const mem_buf, const Frame* const frame, size_t* const data_size) argument 876 const Frame* frame; local 888 WebPDemuxGetFrame(const WebPDemuxer* dmux, int frame, WebPIterator* iter) argument 910 const Frame* const frame = GetFrame(dmux, iter->frame_num); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | Chrome.cpp | 27 #include "core/frame/LocalFrame.h" 87 void Chrome::contentsSizeChanged(LocalFrame* frame, const IntSize& size) const argument 89 m_client->contentsSizeChanged(frame, size); 139 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext()) { 140 if (!frame->isLocalFrame()) 142 Document::PageDismissalType dismissal = toLocalFrame(frame)->document()->pageDismissalEventBeingDispatched(); 198 bool Chrome::runBeforeUnloadConfirmPanel(const String& message, LocalFrame* frame) argument 215 runJavaScriptAlert(LocalFrame* frame, const String& message) argument 232 runJavaScriptConfirm(LocalFrame* frame, const String& message) argument 250 runJavaScriptPrompt(LocalFrame* frame, const String& prompt, const String& defaultValue, String& result) argument 269 setStatusbarText(LocalFrame* frame, const String& status) argument 319 print(LocalFrame* frame) argument 333 createColorChooser(LocalFrame* frame, ColorChooserClient* client, const Color& initialColor) argument 351 runOpenPanel(LocalFrame* frame, PassRefPtr<FileChooser> fileChooser) argument 380 createPopupMenu(LocalFrame& frame, PopupMenuClient* client) const argument [all...] |
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/ |
H A D | bitalloc.c | 28 subbands within the SBC/eSBC frame, along with support functions for computing 29 frame length and bitrate. 42 OI_UINT32 OI_SBC_MaxBitpool(OI_CODEC_SBC_FRAME_INFO *frame) argument 44 switch (frame->mode) { 47 return 16 * frame->nrof_subbands; 50 return 32 * frame->nrof_subbands; 53 ERROR(("Invalid frame mode %d", frame->mode)); 59 PRIVATE OI_UINT16 internal_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO *frame) argument 61 OI_UINT16 nbits = frame 75 internal_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO *frame) argument 84 OI_SBC_CalculateFrameAndHeaderlen(OI_CODEC_SBC_FRAME_INFO *frame, OI_UINT *headerLen_) argument [all...] |
/external/chromium_org/net/quic/ |
H A D | quic_stream_sequencer.cc | 33 void QuicStreamSequencer::OnStreamFrame(const QuicStreamFrame& frame) { argument 35 if (IsDuplicate(frame)) { 41 if (FrameOverlapsBufferedData(frame)) { 43 QUIC_INVALID_STREAM_FRAME, "Stream frame overlaps with buffered data."); 47 QuicStreamOffset byte_offset = frame.offset; 48 size_t data_len = frame.data.TotalBufferSize(); 49 if (data_len == 0 && !frame.fin) { 52 "Empty stream frame without FIN set."); 56 if (frame.fin) { 57 CloseStreamAtOffset(frame [all...] |
/external/lldb/examples/python/ |
H A D | diagnose_unwind.py | 14 # Print the frame number, pc, frame pointer, module UUID and function name 51 # A simple stack walk algorithm that follows the frame chain. 102 # Clear the 0th bit for arm frames - this indicates it is a thumb frame 120 outline = "Stack frame from $fp-%d: " % (2 * addr_size) 180 for frame in thread.frames: 181 if not frame.IsInlined(): 182 this_module = backtrace_print_frame (target, frame_num, frame.GetPC(), frame.GetFP()) 183 print_stack_frame (process, frame [all...] |
/external/chromium_org/remoting/codec/ |
H A D | codec_test.cc | 104 void set_frame(DesktopFrame* frame) { argument 105 frame_ = frame; 237 scoped_ptr<DesktopFrame> frame(new BasicDesktopFrame(size)); 242 frame->data()[i] = rand() % 256; 245 return frame.Pass(); 250 webrtc::DesktopFrame* frame, 253 frame->mutable_updated_region()->Clear(); 255 frame->mutable_updated_region()->AddRect(rects[i]); 258 scoped_ptr<VideoPacket> packet = encoder->Encode(*frame); 270 scoped_ptr<webrtc::DesktopFrame> frame local 248 TestEncodingRects(VideoEncoder* encoder, VideoEncoderTester* tester, webrtc::DesktopFrame* frame, const DesktopRect* rects, int count) argument 282 TestEncodeDecodeRects(VideoEncoder* encoder, VideoEncoderTester* encoder_tester, VideoDecoderTester* decoder_tester, DesktopFrame* frame, const DesktopRect* rects, int count) argument 320 scoped_ptr<DesktopFrame> frame = PrepareFrame(kSize); local 336 FillWithGradient(DesktopFrame* frame) argument [all...] |
H A D | video_encoder_verbatim.cc | 27 const webrtc::DesktopFrame& frame) { 28 CHECK(frame.data()); 33 scoped_ptr<VideoPacket> packet(helper_.CreateVideoPacket(frame)); 38 for (webrtc::DesktopRegion::Iterator iter(frame.updated_region()); 46 const int in_stride = frame.stride(); 49 for (webrtc::DesktopRegion::Iterator iter(frame.updated_region()); 53 const uint8_t* in = frame.data() + rect.top() * in_stride + 26 Encode( const webrtc::DesktopFrame& frame) argument
|
/external/chromium_org/content/renderer/ |
H A D | web_ui_extension.cc | 32 blink::WebFrame* frame = blink::WebLocalFrame::frameForCurrentContext(); local 33 if (!frame || !frame->view()) 36 RenderView* render_view = RenderView::FromWebView(frame->view()); 40 GURL frame_url = frame->document().url(); 50 *frame_ptr = frame; 63 void WebUIExtension::Install(blink::WebFrame* frame) { argument 66 v8::Handle<v8::Context> context = frame->mainWorldScriptContext(); 90 blink::WebFrame* frame; local 92 if (!ShouldRespondToRequest(&frame, 132 blink::WebFrame* frame; local [all...] |
/external/chromium_org/remoting/host/ |
H A D | fake_desktop_capturer.cc | 17 // pixels per frame along both axes, and bounces off the sides of the screen. 66 scoped_ptr<webrtc::DesktopFrame> frame; 68 frame.reset(new webrtc::SharedMemoryDesktopFrame( 71 frame.reset( 86 memset(frame->data(), 0xff, kHeight * frame->stride()); 92 uint8* row = frame->data() + 104 row += frame->stride(); 108 frame->mutable_updated_region()->SetRect( 112 frame [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | MouseRelatedEvent.cpp | 27 #include "core/frame/LocalDOMWindow.h" 28 #include "core/frame/FrameView.h" 29 #include "core/frame/LocalFrame.h" 45 LocalFrame* frame = abstractView->frame(); 46 if (!frame) 48 FrameView* frameView = frame->view(); 51 float scaleFactor = frame->pageZoomFactor(); 67 LocalFrame* frame = view() ? view()->frame() local [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
H A D | GeolocationController.cpp | 39 GeolocationController::GeolocationController(LocalFrame& frame, GeolocationClient* client) argument 40 : PageLifecycleObserver(frame.page()) 46 // FIXME: Once GeolocationInspectorAgent is per frame, there will be a 1:1 relationship between 48 // frame is responsible for creating. 49 if (frame.isMainFrame()) { 52 frame.page()->inspectorController().registerModuleAgent(geolocationAgent.release()); 53 } else if (frame.page()->mainFrame()->isLocalFrame()) { 54 m_inspectorAgent = GeolocationController::from(frame.page()->deprecatedLocalMainFrame())->m_inspectorAgent; 62 if (!frame.isMainFrame() && frame 102 create(LocalFrame& frame, GeolocationClient* client) argument 221 provideGeolocationTo(LocalFrame& frame, GeolocationClient* client) argument [all...] |
/external/chromium_org/third_party/skia/tools/ |
H A D | CrashHandler.cpp | 118 STACKFRAME64 frame; local 119 sk_bzero(&frame, sizeof(frame)); 120 // Start frame off from the frame that triggered the exception. 122 frame.AddrPC.Mode = AddrModeFlat; 123 frame.AddrStack.Mode = AddrModeFlat; 124 frame.AddrFrame.Mode = AddrModeFlat; 126 frame.AddrPC.Offset = c->Eip; 127 frame [all...] |
/external/skia/tools/ |
H A D | CrashHandler.cpp | 112 STACKFRAME64 frame; local 113 sk_bzero(&frame, sizeof(frame)); 114 // Start frame off from the frame that triggered the exception. 116 frame.AddrPC.Mode = AddrModeFlat; 117 frame.AddrStack.Mode = AddrModeFlat; 118 frame.AddrFrame.Mode = AddrModeFlat; 120 frame.AddrPC.Offset = c->Eip; 121 frame [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
H A D | resource_request_policy.cc | 34 blink::WebFrame* frame, 66 GURL frame_url = frame->document().url(); 67 GURL page_url = frame->top()->document().url(); 93 frame->addMessageToConsole( 106 blink::WebFrame* frame) { 109 GURL frame_url = frame->document().url(); 116 frame->addMessageToConsole( 32 CanRequestResource( const GURL& resource_url, blink::WebFrame* frame, ui::PageTransition transition_type, const ExtensionSet* loaded_extensions) argument 104 CanRequestExtensionResourceScheme( const GURL& resource_url, blink::WebFrame* frame) argument
|