Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 25 of 76) sorted by relevance

1234

/haiku/src/tests/servers/app/inverse_clipping/
H A Dmain.cpp63 testBase(BView* view, clipper clip, bool inverse) in testBase() argument
65 clip(view, baseRect, inverse); in testBase()
71 testBaseDirect(BView* view, clipper clip) in testBaseDirect() argument
73 testBase(view, clip, false); in testBaseDirect()
77 testBaseInverse(BView* view, clipper clip) in testBaseInverse() argument
79 testBase(view, clip, true); in testBaseInverse()
83 testCross(BView* view, clipper clip, bool inverse) in testCross() argument
85 clip(view, crossRect, inverse); in testCross()
91 testCorner(BView* view, clipper clip, bool inverse) in testCorner() argument
93 clip(view, corner, inverse); in testCorner()
[all …]
/haiku/src/tests/kits/app/bclipboard/
H A DReadWriteTester.cpp36 BClipboard clip("Clear1"); in Clear1() local
41 CPPUNIT_ASSERT_DEBUGGER(clip.Clear()); in Clear1()
53 BClipboard clip("Clear2"); in Clear2() local
56 if ( clip.Lock() ) in Clear2()
58 CHK(clip.Clear() == B_OK); in Clear2()
59 if ( (data = clip.Data()) ) in Clear2()
72 BClipboard clip("Revert1"); in Revert1() local
77 CPPUNIT_ASSERT_DEBUGGER(clip.Revert()); in Revert1()
89 BClipboard clip("Revert2"); in Revert2() local
94 if ( clip.Lock() ) in Revert2()
[all …]
H A DLockTester.cpp33 BClipboard clip("Lock1"); in Lock1() local
35 CHK(clip.Lock()); in Lock1()
40 BClipboard *clip = (BClipboard *)data; in LockTest2() local
41 clip->Lock(); in LockTest2()
43 delete clip; in LockTest2()
54 BClipboard *clip = new BClipboard("Lock2"); in Lock2() local
63 thread_id thread = spawn_thread(LockTest2,"locktest",B_NORMAL_PRIORITY,clip); in Lock2()
67 CHK(clip->Lock() == false); in Lock2()
78 BClipboard clip("IsLocked1"); in IsLocked1() local
80 clip.Lock(); in IsLocked1()
[all …]
H A DCountTester.cpp33 BClipboard clip("LocalCount1"); in LocalCount1() local
35 CHK(clip.LocalCount() == 0); in LocalCount1()
46 BClipboard clip("LocalCount2"); in LocalCount2() local
49 uint32 oldCount = clip.SystemCount(); in LocalCount2()
51 if (clip.Lock()) { in LocalCount2()
52 clip.Clear(); in LocalCount2()
53 if ((data = clip.Data())) { in LocalCount2()
55 clip.Commit(); in LocalCount2()
57 clip.Unlock(); in LocalCount2()
60 CHK(clip.LocalCount() == oldCount + 1); in LocalCount2()
[all …]
H A DBClipboardTester.cpp37 BClipboard clip(NULL); in BClipboard1() local
38 CHK(strcmp(clip.Name(),"system") == 0); in BClipboard1()
50 BClipboard clip(name); in BClipboard2() local
52 CHK(strcmp(clip.Name(),name) == 0); in BClipboard2()
/haiku/src/kits/tracker/
H A DFSClipboard.cpp125 BMessage* clip = be_clipboard->Data(); in FSClipboardHasRefs() local
126 if (clip != NULL) { in FSClipboardHasRefs()
137 if (clip->GetInfo(B_REF_TYPE, 0, &refName, &type, &count) == B_OK in FSClipboardHasRefs()
138 && clip->GetInfo(B_INT32_TYPE, 0, &modeName, &type, &count) in FSClipboardHasRefs()
227 BMessage* clip = be_clipboard->Data(); in FSClipboardAddPoses() local
228 if (clip != NULL) { in FSClipboardAddPoses()
247 if (clip->AddInt32(modeName, (int32)moveMode) == B_OK) { in FSClipboardAddPoses()
248 if (clip->AddRef(refName, model->EntryRef()) == B_OK) { in FSClipboardAddPoses()
258 clip->RemoveName(modeName); in FSClipboardAddPoses()
261 if (clip->ReplaceInt32(modeName, (int32)moveMode) == B_OK) { in FSClipboardAddPoses()
[all …]
/haiku/src/bin/
H A Dclipboard.cpp183 BMessage *clip = be_clipboard->Data(); in Load() local
184 *clip = clipFromFile; in Load()
218 BMessage *clip = be_clipboard->Data(); in Save() local
223 status = clip->Flatten(&file); in Save()
255 BMessage *clip = be_clipboard->Data(); in Copy() local
258 clip->AddData("text/plain", B_MIME_TYPE, string, strlen(string)); in Copy()
313 BMessage *clip = be_clipboard->Data(); in Print() local
316 clip->PrintToStream(); in Print()
320 clip->FindData("text/plain", B_MIME_TYPE, (const void **)&textBuffer, in Print()
/haiku/src/kits/shared/
H A DColorQuantizer.cpp35 clip(float component) in clip() function
133 table[j].r = clip((float)nr / ns); in GetColorTable()
134 table[j].g = clip((float)ng / ns); in GetColorTable()
135 table[j].b = clip((float)nb / ns); in GetColorTable()
136 table[j].a = clip((float)na / ns); in GetColorTable()
265 table[*_index].r = clip((float)node->sumR / node->pixelCount); in _GetPaletteColors()
266 table[*_index].g = clip((float)node->sumG / node->pixelCount); in _GetPaletteColors()
267 table[*_index].b = clip((float)node->sumB / node->pixelCount); in _GetPaletteColors()
268 table[*_index].a = clip((float)node->sumA / node->pixelCount); in _GetPaletteColors()
/haiku/src/apps/diskprobe/
H A DFindWindow.cpp247 BMessage* clip = clipboard->Data(); in AcceptsPaste() local
248 if (clip == NULL) in AcceptsPaste()
251 if (clip->HasData(B_FILE_MIME_TYPE, B_MIME_TYPE) in AcceptsPaste()
252 || clip->HasData("text/plain", B_MIME_TYPE)) in AcceptsPaste()
275 BMessage* clip = clipboard->Data(); in Copy() local
276 if (clip == NULL) in Copy()
286 clip->AddData(B_FILE_MIME_TYPE, B_MIME_TYPE, data, dataSize); in Copy()
289 clip->AddData("text/plain", B_MIME_TYPE, data, dataSize); in Copy()
310 BMessage* clip = clipboard->Data(); in Cut() local
311 if (clip == NULL) in Cut()
[all …]
/haiku/src/apps/showimage/
H A DShowImageApp.cpp230 BMessage* clip = be_clipboard->Data(); in _CheckClipboard() local
231 if (clip != NULL) { in _CheckClipboard()
232 dataAvailable = clip->HasMessage("image/bitmap") in _CheckClipboard()
233 || clip->HasMessage("image/x-be-bitmap"); in _CheckClipboard()
/haiku/src/apps/resedit/
H A DBitmapView.cpp479 BMessage *clip = NULL, flattened; in ClipboardHasBitmap() local
484 clip = be_clipboard->Data(); in ClipboardHasBitmap()
485 if (!clip->IsEmpty()) { in ClipboardHasBitmap()
486 returnval = (clip->FindMessage("image/bitmap", &flattened) == B_OK); in ClipboardHasBitmap()
491 returnval = (clip->FindString("class", &string) == B_OK && string == "BBitmap"); in ClipboardHasBitmap()
497 returnval = (clip->FindMessage("image/x-vnd.Be-bitmap", &flattened) == B_OK); in ClipboardHasBitmap()
514 BMessage *clip = NULL, flattened; in BitmapFromClipboard() local
520 clip = be_clipboard->Data(); in BitmapFromClipboard()
521 if (!clip) in BitmapFromClipboard()
527 status_t status = clip->FindMessage("image/bitmap", &flattened); in BitmapFromClipboard()
[all …]
/haiku/src/apps/webpositive/
H A DConsoleWindow.cpp158 BMessage* clip = be_clipboard->Data(); in _CopyToClipboard() local
159 if (clip != NULL) { in _CopyToClipboard()
160 clip->AddData("text/plain", B_MIME_TYPE, text.String(), textLen); in _CopyToClipboard()
/haiku/data/catalogs/apps/magnify/
H A Duk.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image no clip msg
H A Dja.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image no clip msg
H A Dpt.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image no clip msg
H A Dde.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image no clip msg
H A Dit.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image no clip msg
H A Dth.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image ไม่มีข้อความเกี่ยวกับคลิป
H A Del.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image καμία αντιγραφή
H A Dru.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image клип не скопировался
H A Dko.catkeys4 no clip msg In console, when clipboard is empty after clicking Copy image 클립보드 내용 없음
/haiku/src/preferences/repositories/
H A DAddRepoWindow.cpp125 BMessage* clip = be_clipboard->Data(); in _GetClipboardData() local
126 clip->FindData("text/plain", B_MIME_TYPE, (const void **)&string, in _GetClipboardData()
/haiku/src/servers/app/drawing/Painter/
H A Dagg_renderer_region.h167 void translate_to_base_ren(clipping_rect& clip) in translate_to_base_ren() argument
169 clip.left -= m_offset_x; in translate_to_base_ren()
170 clip.right -= m_offset_x; in translate_to_base_ren()
171 clip.top -= m_offset_y; in translate_to_base_ren()
172 clip.bottom -= m_offset_y; in translate_to_base_ren()
/haiku/src/kits/interface/textview_support/
H A DUndoBuffer.cpp105 BMessage* clip = NULL; in RedoSelf() local
111 if ((clip = clipboard->Data())) { in RedoSelf()
112 clip->AddData("text/plain", B_MIME_TYPE, fTextData, fTextLength); in RedoSelf()
114 clip->AddData("application/x-vnd.Be-text_run_array", in RedoSelf()
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentView.cpp443 BMessage* clip = clipboard->Data(); in Paste() local
445 if (clip != NULL) { in Paste()
449 if (clip->FindData(kMimeTypePlainText, B_MIME_TYPE, &plainTextData, &plainTextDataSize) in Paste()
504 BMessage* clip = clipboard->Data(); in Copy() local
505 if (clip != NULL) { in Copy()
511 clip->AddData(kMimeTypePlainText, B_MIME_TYPE, text.String(), text.Length()); in Copy()

1234