Lines Matching refs:aEvent

950     XEvent aEvent;  in getPasteData()  local
959 &aEvent in getPasteData()
963 if( aEvent.xproperty.window == m_aWindow in getPasteData()
964 && aEvent.xproperty.atom == selection ) in getPasteData()
970 &aEvent in getPasteData()
978 &aEvent in getPasteData()
984 &aEvent in getPasteData()
988 if( aEvent.xselection.selection == selection in getPasteData()
989 && ( aEvent.xselection.requestor == m_aWindow || in getPasteData()
990 aEvent.xselection.requestor == m_aCurrentDropWindow ) in getPasteData()
1006 handleXEvent( aEvent ); in getPasteData()
2233 DropTargetDragEnterEvent aEvent; in handleDropEvent() local
2234 aEvent.Source = static_cast< XDropTarget* >(it->second.m_pTarget); in handleDropEvent()
2235 aEvent.Context = new DropTargetDragContext( m_aCurrentDropWindow, m_nDropTimestamp, *this ); in handleDropEvent()
2236 aEvent.LocationX = m_nLastX; in handleDropEvent()
2237 aEvent.LocationY = m_nLastY; in handleDropEvent()
2238 aEvent.SourceActions = m_nSourceActions; in handleDropEvent()
2240 aEvent.DropAction = DNDConstants::ACTION_COPY; in handleDropEvent()
2242 aEvent.DropAction = DNDConstants::ACTION_COPY; in handleDropEvent()
2244 aEvent.DropAction = DNDConstants::ACTION_MOVE; in handleDropEvent()
2246 aEvent.DropAction = DNDConstants::ACTION_LINK; in handleDropEvent()
2249 aEvent.DropAction = ~0; in handleDropEvent()
2251 aEvent.DropAction = DNDConstants::ACTION_NONE; in handleDropEvent()
2253 m_nLastDropAction = aEvent.DropAction; in handleDropEvent()
2257 aEvent.SupportedDataFlavors = m_xDropTransferable->getTransferDataFlavors(); in handleDropEvent()
2259 it->second->dragEnter( aEvent ); in handleDropEvent()
2264 it->second->dragOver( aEvent ); in handleDropEvent()
2276 DropTargetEvent aEvent; in handleDropEvent() local
2277 aEvent.Source = static_cast< XDropTarget* >(it->second.m_pTarget); in handleDropEvent()
2283 it->second->dragExit( aEvent ); in handleDropEvent()
2298 DropTargetDropEvent aEvent; in handleDropEvent() local
2299 aEvent.Source = static_cast< XDropTarget* >(it->second.m_pTarget); in handleDropEvent()
2300aEvent.Context = new DropTargetDropContext( m_aCurrentDropWindow, m_nDropTimestamp, *this ); in handleDropEvent()
2301 aEvent.LocationX = m_nLastX; in handleDropEvent()
2302 aEvent.LocationY = m_nLastY; in handleDropEvent()
2303 aEvent.DropAction = m_nLastDropAction; in handleDropEvent()
2306 aEvent.SourceActions= m_nLastDropAction; in handleDropEvent()
2307 aEvent.Transferable = m_xDropTransferable; in handleDropEvent()
2311 it->second->drop( aEvent ); in handleDropEvent()
2318 DropTargetEvent aEvent; in handleDropEvent() local
2319 aEvent.Source = static_cast< XDropTarget* >(it->second.m_pTarget); in handleDropEvent()
2321 it->second->dragExit( aEvent ); in handleDropEvent()
2356 XEvent aEvent; in dropComplete() local
2357 aEvent.xclient.type = ClientMessage; in dropComplete()
2358 aEvent.xclient.display = m_pDisplay; in dropComplete()
2359 aEvent.xclient.window = m_aDropEnterEvent.data.l[0]; in dropComplete()
2360 aEvent.xclient.message_type = m_nXdndFinished; in dropComplete()
2361 aEvent.xclient.format = 32; in dropComplete()
2362 aEvent.xclient.data.l[0] = m_aCurrentDropWindow; in dropComplete()
2363 aEvent.xclient.data.l[1] = bSuccess ? 1 : 0; in dropComplete()
2364 aEvent.xclient.data.l[2] = 0; in dropComplete()
2365 aEvent.xclient.data.l[3] = 0; in dropComplete()
2366 aEvent.xclient.data.l[4] = 0; in dropComplete()
2370 aEvent.xclient.data.l[2] = m_nXdndActionMove; in dropComplete()
2372 aEvent.xclient.data.l[2] = m_nXdndActionCopy; in dropComplete()
2374 aEvent.xclient.data.l[2] = m_nXdndActionLink; in dropComplete()
2384 False, NoEventMask, & aEvent ); in dropComplete()
2440 XEvent aEvent; in sendDragStatus() local
2441 aEvent.xclient.type = ClientMessage; in sendDragStatus()
2442 aEvent.xclient.display = m_pDisplay; in sendDragStatus()
2443 aEvent.xclient.window = m_aDropEnterEvent.data.l[0]; in sendDragStatus()
2444 aEvent.xclient.message_type = m_nXdndStatus; in sendDragStatus()
2445 aEvent.xclient.format = 32; in sendDragStatus()
2446 aEvent.xclient.data.l[0] = m_aCurrentDropWindow; in sendDragStatus()
2447 aEvent.xclient.data.l[1] = 2; in sendDragStatus()
2451 aEvent.xclient.data.l[1] |= 1; in sendDragStatus()
2452 aEvent.xclient.data.l[2] = 0; in sendDragStatus()
2453 aEvent.xclient.data.l[3] = 0; in sendDragStatus()
2454 aEvent.xclient.data.l[4] = m_nCurrentProtocolVersion > 1 ? nDropAction : 0; in sendDragStatus()
2464 False, NoEventMask, & aEvent ); in sendDragStatus()
2565 XEvent aEvent; in sendDropPosition() local
2566 aEvent.type = ClientMessage; in sendDropPosition()
2567 aEvent.xclient.display = m_pDisplay; in sendDropPosition()
2568 aEvent.xclient.format = 32; in sendDropPosition()
2569 aEvent.xclient.message_type = m_nXdndPosition; in sendDropPosition()
2570 aEvent.xclient.window = m_aDropWindow; in sendDropPosition()
2571 aEvent.xclient.data.l[0] = m_aWindow; in sendDropPosition()
2572 aEvent.xclient.data.l[1] = 0; in sendDropPosition()
2573 aEvent.xclient.data.l[2] = m_nLastDragX << 16 | (m_nLastDragY&0xffff); in sendDropPosition()
2574 aEvent.xclient.data.l[3] = eventTime; in sendDropPosition()
2577 aEvent.xclient.data.l[4]=m_nXdndActionCopy; in sendDropPosition()
2579 aEvent.xclient.data.l[4]=m_nXdndActionMove; in sendDropPosition()
2581 aEvent.xclient.data.l[4]=m_nXdndActionLink; in sendDropPosition()
2583 aEvent.xclient.data.l[4]=m_nXdndActionCopy; in sendDropPosition()
2584 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in sendDropPosition()
2742 XEvent aEvent; in handleDragEvent() local
2743 aEvent.type = ClientMessage; in handleDragEvent()
2744 aEvent.xclient.display = m_pDisplay; in handleDragEvent()
2745 aEvent.xclient.format = 32; in handleDragEvent()
2746 aEvent.xclient.message_type = m_nXdndLeave; in handleDragEvent()
2747 aEvent.xclient.window = m_aDropWindow; in handleDragEvent()
2748 aEvent.xclient.data.l[0] = m_aWindow; in handleDragEvent()
2749 memset( aEvent.xclient.data.l+1, 0, sizeof(long)*4); in handleDragEvent()
2751 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in handleDragEvent()
2827 XEvent aEvent; in handleDragEvent() local
2828 aEvent.type = ClientMessage; in handleDragEvent()
2829 aEvent.xclient.display = m_pDisplay; in handleDragEvent()
2830 aEvent.xclient.format = 32; in handleDragEvent()
2831 aEvent.xclient.message_type = m_nXdndDrop; in handleDragEvent()
2832 aEvent.xclient.window = m_aDropWindow; in handleDragEvent()
2833 aEvent.xclient.data.l[0] = m_aWindow; in handleDragEvent()
2834 aEvent.xclient.data.l[1] = 0; in handleDragEvent()
2835 aEvent.xclient.data.l[2] = rMessage.xbutton.time; in handleDragEvent()
2836 aEvent.xclient.data.l[3] = 0; in handleDragEvent()
2837 aEvent.xclient.data.l[4] = 0; in handleDragEvent()
2841 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in handleDragEvent()
2855 XEvent aEvent; in handleDragEvent() local
2856 aEvent.type = ButtonPress; in handleDragEvent()
2857 aEvent.xbutton.display = m_pDisplay; in handleDragEvent()
2858 aEvent.xbutton.window = m_aDropWindow; in handleDragEvent()
2859 aEvent.xbutton.root = rMessage.xbutton.root; in handleDragEvent()
2860 aEvent.xbutton.subwindow = m_aDropWindow; in handleDragEvent()
2861 aEvent.xbutton.time = rMessage.xbutton.time+1; in handleDragEvent()
2862 aEvent.xbutton.x_root = rMessage.xbutton.x_root; in handleDragEvent()
2863 aEvent.xbutton.y_root = rMessage.xbutton.y_root; in handleDragEvent()
2864 aEvent.xbutton.state = rMessage.xbutton.state; in handleDragEvent()
2865 aEvent.xbutton.button = Button2; in handleDragEvent()
2866 aEvent.xbutton.same_screen = True; in handleDragEvent()
2870 &aEvent.xbutton.x, &aEvent.xbutton.y, in handleDragEvent()
2872 XSendEvent( m_pDisplay, m_aDropWindow, False, ButtonPressMask, &aEvent ); in handleDragEvent()
2873 aEvent.xbutton.type = ButtonRelease; in handleDragEvent()
2874 aEvent.xbutton.time++; in handleDragEvent()
2875 aEvent.xbutton.state |= Button2Mask; in handleDragEvent()
2876 XSendEvent( m_pDisplay, m_aDropWindow, False, ButtonReleaseMask, &aEvent ); in handleDragEvent()
2880 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in handleDragEvent()
3125 XEvent aEvent; in updateDragWindow() local
3126 aEvent.type = ClientMessage; in updateDragWindow()
3127 aEvent.xclient.display = m_pDisplay; in updateDragWindow()
3128 aEvent.xclient.format = 32; in updateDragWindow()
3129 aEvent.xclient.message_type = m_nXdndLeave; in updateDragWindow()
3130 aEvent.xclient.window = m_aDropWindow; in updateDragWindow()
3131 aEvent.xclient.data.l[0] = m_aWindow; in updateDragWindow()
3132 aEvent.xclient.data.l[1] = 0; in updateDragWindow()
3133 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in updateDragWindow()
3178 XEvent aEvent; in updateDragWindow() local
3179 aEvent.type = ClientMessage; in updateDragWindow()
3180 aEvent.xclient.display = m_pDisplay; in updateDragWindow()
3181 aEvent.xclient.format = 32; in updateDragWindow()
3182 aEvent.xclient.message_type = m_nXdndEnter; in updateDragWindow()
3183 aEvent.xclient.window = m_aDropWindow; in updateDragWindow()
3184 aEvent.xclient.data.l[0] = m_aWindow; in updateDragWindow()
3185 aEvent.xclient.data.l[1] = m_nCurrentProtocolVersion << 24; in updateDragWindow()
3186 memset( aEvent.xclient.data.l + 2, 0, sizeof( long )*3 ); in updateDragWindow()
3191 aEvent.xclient.data.l[1] |= 1; in updateDragWindow()
3194 aEvent.xclient.data.l[i+2] = *type_it; in updateDragWindow()
3195 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in updateDragWindow()
3406 com::sun::star::awt::MouseEvent aEvent; in startDrag() local
3407 if( trigger.Event >>= aEvent ) in startDrag()
3409 if( aEvent.Buttons & MouseButton::LEFT ) in startDrag()
3411 else if( aEvent.Buttons & MouseButton::RIGHT ) in startDrag()
3413 else if( aEvent.Buttons & MouseButton::MIDDLE ) in startDrag()
3600 XEvent aEvent; in transferablesFlavorsChanged() local
3602 aEvent.type = ClientMessage; in transferablesFlavorsChanged()
3603 aEvent.xclient.display = m_pDisplay; in transferablesFlavorsChanged()
3604 aEvent.xclient.format = 32; in transferablesFlavorsChanged()
3605 aEvent.xclient.window = m_aDropWindow; in transferablesFlavorsChanged()
3606 aEvent.xclient.data.l[0] = m_aWindow; in transferablesFlavorsChanged()
3608 aEvent.xclient.message_type = m_nXdndLeave; in transferablesFlavorsChanged()
3609 aEvent.xclient.data.l[1] = 0; in transferablesFlavorsChanged()
3610 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in transferablesFlavorsChanged()
3612 aEvent.xclient.message_type = m_nXdndEnter; in transferablesFlavorsChanged()
3613 aEvent.xclient.data.l[1] = m_nCurrentProtocolVersion << 24; in transferablesFlavorsChanged()
3614 memset( aEvent.xclient.data.l + 2, 0, sizeof( long )*3 ); in transferablesFlavorsChanged()
3617 aEvent.xclient.data.l[1] |= 1; in transferablesFlavorsChanged()
3619 aEvent.xclient.data.l[j+2] = pTypes[j]; in transferablesFlavorsChanged()
3621 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in transferablesFlavorsChanged()
4031 XEvent aEvent; in deregisterDropTarget() local
4032 aEvent.type = ClientMessage; in deregisterDropTarget()
4033 aEvent.xclient.display = m_pDisplay; in deregisterDropTarget()
4034 aEvent.xclient.format = 32; in deregisterDropTarget()
4035 aEvent.xclient.message_type = m_nXdndLeave; in deregisterDropTarget()
4036 aEvent.xclient.window = m_aDropWindow; in deregisterDropTarget()
4037 aEvent.xclient.data.l[0] = m_aWindow; in deregisterDropTarget()
4038 memset( aEvent.xclient.data.l+1, 0, sizeof(long)*4); in deregisterDropTarget()
4040 XSendEvent( m_pDisplay, m_aDropProxy, False, NoEventMask, &aEvent ); in deregisterDropTarget()