void MainForm::OnTouchLongPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo)
{
AppLog("abcde::MainForm::OnTouchLongPressed %d, %d" ,currentPosition.x,currentPosition.y);
+ if(TouchEventManager::GetInstance()->GetTouchInfoListN()->GetCount() >1)
+ {
+ AppLog("Returning because of more than one touch point.");
+ return;
+ }
__longPressPoint = currentPosition;
if (__pHitElementResult != null)
{
AppLog("MainForm::OnOrientationChanged GetClientAreaBounds %d, %d",GetClientAreaBounds().width,GetClientAreaBounds().height);
int widthContextItem = 0;
-
+ if(__pFindWordCountLabel)
+ __pFindWordCountLabel->SetBounds(__pFindWordCountLabel->GetX(),__pFindWordCountLabel->GetY(),124,__pFindWordCountLabel->GetHeight());
// As per the platform engineer comment removed this line
/*if(__pWebViewer != null)
{
bool exist = false;
String url=L"";
url=__pWindowInfo->pageUrl;
+ AppLog("MainForm::OnFormMenuRequested url %ls",url.GetPointer());
result r = E_SUCCESS;
Bitmap* pBitmap = null;
-
- r=BookmarkPresentationModel::GetInstance()->DoesBookmarkExist(url,exist);
- if (IsFailed(r))
- {
- AppLogDebug("ONACTION_PERFORMED:IDA_MOREBTN_CLICKED failed");
- return;
- }
+ String lastChar = L"";
+ if(url.SubString(url.GetLength()-1,lastChar));
+// if(lastChar == L"/")
+// {
+// bool exist1 = false;
+// bool exist2 = false;
+// r=BookmarkPresentationModel::GetInstance()->DoesBookmarkExist(url,exist1);
+// url.SubString(0,url.GetLength() - 1,url);
+// r=BookmarkPresentationModel::GetInstance()->DoesBookmarkExist(url,exist2);
+// exist = exist1 | exist2;
+// }
+// else
+// {
+ r=BookmarkPresentationModel::GetInstance()->DoesBookmarkExist(url,exist);
+ if (IsFailed(r))
+ {
+ AppLogDebug("ONACTION_PERFORMED:IDA_MOREBTN_CLICKED failed");
+ return;
+ }
+// }
if ( exist == true)
{
pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ICON_BOOKMARK_ON_TEMP);