Home
last modified time | relevance | path

Searched refs:cursor_shape (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/remoting/protocol/
Dclient_control_dispatcher.cc26 bool CursorShapeIsValid(const CursorShapeInfo& cursor_shape) { in CursorShapeIsValid() argument
27 if (!cursor_shape.has_data() || in CursorShapeIsValid()
28 !cursor_shape.has_width() || in CursorShapeIsValid()
29 !cursor_shape.has_height() || in CursorShapeIsValid()
30 !cursor_shape.has_hotspot_x() || in CursorShapeIsValid()
31 !cursor_shape.has_hotspot_y()) { in CursorShapeIsValid()
36 int width = cursor_shape.width(); in CursorShapeIsValid()
37 int height = cursor_shape.height(); in CursorShapeIsValid()
49 if (cursor_shape.data().size() < cursor_total_bytes) { in CursorShapeIsValid()
52 << cursor_shape.data().size() << " bytes"; in CursorShapeIsValid()
[all …]
Dhost_control_dispatcher.cc64 const CursorShapeInfo& cursor_shape) { in SetCursorShape() argument
66 message.mutable_cursor_shape()->CopyFrom(cursor_shape); in SetCursorShape()
Dcursor_shape_stub.h22 virtual void SetCursorShape(const CursorShapeInfo& cursor_shape) = 0;
Dhost_control_dispatcher.h47 virtual void SetCursorShape(const CursorShapeInfo& cursor_shape) OVERRIDE;
Dprotocol_mock_objects.h141 MOCK_METHOD1(SetCursorShape, void(const CursorShapeInfo& cursor_shape));
/external/chromium_org/remoting/host/
Dvideo_scheduler_unittest.cc149 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape);
253 const protocol::CursorShapeInfo& cursor_shape) { in SetCursorShape() argument
254 EXPECT_TRUE(cursor_shape.has_width()); in SetCursorShape()
255 EXPECT_EQ(kCursorWidth, cursor_shape.width()); in SetCursorShape()
256 EXPECT_TRUE(cursor_shape.has_height()); in SetCursorShape()
257 EXPECT_EQ(kCursorHeight, cursor_shape.height()); in SetCursorShape()
258 EXPECT_TRUE(cursor_shape.has_hotspot_x()); in SetCursorShape()
259 EXPECT_EQ(kHotspotX, cursor_shape.hotspot_x()); in SetCursorShape()
260 EXPECT_TRUE(cursor_shape.has_hotspot_y()); in SetCursorShape()
261 EXPECT_EQ(kHotspotY, cursor_shape.hotspot_y()); in SetCursorShape()
[all …]
Dvideo_scheduler.cc360 scoped_ptr<protocol::CursorShapeInfo> cursor_shape) { in SendCursorShape() argument
366 cursor_stub_->SetCursorShape(*cursor_shape); in SendCursorShape()
Dvideo_scheduler.h165 void SendCursorShape(scoped_ptr<protocol::CursorShapeInfo> cursor_shape);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Dscreen_capturer_mock_objects.h53 void OnCursorShapeChanged(MouseCursorShape* cursor_shape) OVERRIDE { in OnCursorShapeChanged() argument
54 OnCursorShapeChangedPtr(cursor_shape); in OnCursorShapeChanged()
55 delete cursor_shape; in OnCursorShapeChanged() local
59 void(MouseCursorShape* cursor_shape));
Dscreen_capturer.h62 virtual void OnCursorShapeChanged(MouseCursorShape* cursor_shape) = 0;
Dscreen_capturer_mac.mm555 scoped_ptr<MouseCursorShape> cursor_shape(new MouseCursorShape());
556 cursor_shape->size.set(size.width, size.height);
557 cursor_shape->hotspot.set(hotspot.x, hotspot.y);
558 cursor_shape->data.assign(cursor_src_data, cursor_src_data + data_size);
564 if (last_cursor_.size.equals(cursor_shape->size) &&
565 last_cursor_.hotspot.equals(cursor_shape->hotspot) &&
566 last_cursor_.data == cursor_shape->data) {
571 last_cursor_ = *cursor_shape;
573 mouse_shape_observer_->OnCursorShapeChanged(cursor_shape.release());
/external/chromium_org/remoting/client/jni/
Dchromoting_jni_runtime.cc333 const protocol::CursorShapeInfo& cursor_shape) { in UpdateCursorShape() argument
340 char* data = string_as_array(const_cast<std::string*>(&cursor_shape.data())); in UpdateCursorShape()
342 cursor_shape.width() * cursor_shape.height() * kBytesPerPixel; in UpdateCursorShape()
348 cursor_shape.width(), in UpdateCursorShape()
349 cursor_shape.height(), in UpdateCursorShape()
350 cursor_shape.hotspot_x(), in UpdateCursorShape()
351 cursor_shape.hotspot_y(), in UpdateCursorShape()
Dchromoting_jni_runtime.h109 void UpdateCursorShape(const protocol::CursorShapeInfo& cursor_shape);
/external/chromium_org/remoting/client/
Dchromoting_client.cc114 const protocol::CursorShapeInfo& cursor_shape) { in SetCursorShape() argument
117 user_interface_->GetCursorShapeStub()->SetCursorShape(cursor_shape); in SetCursorShape()
Dchromoting_client.h87 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE;
/external/libvterm/src/
Dvterm_internal.h81 unsigned int cursor_shape:2; member
109 unsigned int cursor_shape:2; member
Dstate.c500 state->saved.mode.cursor_shape = state->mode.cursor_shape; in savecursor()
511 settermprop_int (state, VTERM_PROP_CURSORSHAPE, state->saved.mode.cursor_shape); in savecursor()
1376 switch(state->mode.cursor_shape) { in request_status_string()
1595 state->mode.cursor_shape = val->number; in vterm_state_set_termprop()
/external/chromium_org/remoting/proto/
Dinternal.proto21 optional CursorShapeInfo cursor_shape = 4; field
/external/chromium_org/remoting/client/plugin/
Dchromoting_instance.cc557 const protocol::CursorShapeInfo& cursor_shape) { in SetCursorShape() argument
568 int width = cursor_shape.width(); in SetCursorShape()
569 int height = cursor_shape.height(); in SetCursorShape()
571 int hotspot_x = cursor_shape.hotspot_x(); in SetCursorShape()
572 int hotspot_y = cursor_shape.hotspot_y(); in SetCursorShape()
576 cursor_shape.data().data()); in SetCursorShape()
Dchromoting_instance.h137 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE;
/external/chromium_org/ui/base/x/
Dx11_util.cc166 ::Cursor GetCursor(int cursor_shape) { in GetCursor() argument
170 std::make_pair(cursor_shape, 0)); in GetCursor()
173 it.first->second = XCreateFontCursor(display, cursor_shape); in GetCursor()
365 ::Cursor GetXCursor(int cursor_shape) { in GetXCursor() argument
368 return cursor_cache->GetCursor(cursor_shape); in GetXCursor()
Dx11_util.h65 UI_BASE_EXPORT ::Cursor GetXCursor(int cursor_shape);
/external/chromium_org/remoting/test/
Dprotocol_perftest.cc71 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE {}; in SetCursorShape() argument