From 4aae2b202dd49bebf1993e0a3d76d7a0eb27099d Mon Sep 17 00:00:00 2001 From: Siqi LIU Date: Sat, 17 Aug 2013 00:40:17 +0800 Subject: downsample touch events to get better pointer performance, ajust for iPhone Change-Id: I25796341984b6fd0234df6d3abfa558bfc0f9f78 --- ios/iosremote/fr.lproj/Localizable.strings | Bin 7058 -> 7060 bytes ios/iosremote/fr.lproj/iPad_autosize.storyboard | 95 +++++++++++++++++++-- .../fr.lproj/iPad_autosize_old.storyboard | 95 +++++++++++++++++++-- .../iosremote/Communication/CommunicationManager.m | 1 - .../iosremote/en.lproj/Localizable.strings | Bin 6520 -> 6614 bytes .../iosremote/fr.lproj/iPhone_autoSize.storyboard | 71 ++++++++++++++- .../fr.lproj/iPhone_autoSize_old.storyboard | 71 ++++++++++++++- ios/iosremote/iosremote/slideShow_vc_iphone.m | 2 +- .../zh-Hans.lproj/iPhone_autoSize.storyboard | 71 ++++++++++++++- .../zh-Hans.lproj/iPhone_autoSize_old.storyboard | 71 ++++++++++++++- .../zh-Hans.lproj/iPad_autosize.storyboard | 95 +++++++++++++++++++-- .../zh-Hans.lproj/iPad_autosize_old.storyboard | 95 +++++++++++++++++++-- 12 files changed, 629 insertions(+), 38 deletions(-) (limited to 'ios') diff --git a/ios/iosremote/fr.lproj/Localizable.strings b/ios/iosremote/fr.lproj/Localizable.strings index dddb726ff540..47bbf847c065 100644 Binary files a/ios/iosremote/fr.lproj/Localizable.strings and b/ios/iosremote/fr.lproj/Localizable.strings differ diff --git a/ios/iosremote/fr.lproj/iPad_autosize.storyboard b/ios/iosremote/fr.lproj/iPad_autosize.storyboard index e804dee360b3..a2cc0f57ff35 100644 --- a/ios/iosremote/fr.lproj/iPad_autosize.storyboard +++ b/ios/iosremote/fr.lproj/iPad_autosize.storyboard @@ -1,8 +1,8 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -223,7 +223,7 @@ - + @@ -504,7 +504,7 @@ Contrôle Distant - + @@ -543,6 +543,87 @@ Contrôle Distant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard b/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard index e804dee360b3..a2cc0f57ff35 100644 --- a/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard +++ b/ios/iosremote/fr.lproj/iPad_autosize_old.storyboard @@ -1,8 +1,8 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -223,7 +223,7 @@ - + @@ -504,7 +504,7 @@ Contrôle Distant - + @@ -543,6 +543,87 @@ Contrôle Distant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/iosremote/Communication/CommunicationManager.m b/ios/iosremote/iosremote/Communication/CommunicationManager.m index c880fa1bf445..23bfb81a2f4b 100644 --- a/ios/iosremote/iosremote/Communication/CommunicationManager.m +++ b/ios/iosremote/iosremote/Communication/CommunicationManager.m @@ -79,7 +79,6 @@ dispatch_async(dispatch_get_main_queue(), ^{ UIAlertView *message = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Connection Lost", @"Connection Lost Alert title") message:NSLocalizedString(@"Connection Lost Msg", @"Connection Lost Alert Msg") - //@"Oups, connection lost...Please try to reconnect to your computer. " delegate:nil cancelButtonTitle:NSLocalizedString(@"OK", nil) otherButtonTitles:nil]; diff --git a/ios/iosremote/iosremote/en.lproj/Localizable.strings b/ios/iosremote/iosremote/en.lproj/Localizable.strings index ed14a5238430..a4dc07fc3ead 100644 Binary files a/ios/iosremote/iosremote/en.lproj/Localizable.strings and b/ios/iosremote/iosremote/en.lproj/Localizable.strings differ diff --git a/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize.storyboard b/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize.storyboard index cd0c1da20c58..178f5cd0a01d 100644 --- a/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize.storyboard +++ b/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize.storyboard @@ -1,9 +1,9 @@ - + - + @@ -516,6 +516,73 @@ Contrôle Distant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize_old.storyboard b/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize_old.storyboard index cd0c1da20c58..178f5cd0a01d 100644 --- a/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize_old.storyboard +++ b/ios/iosremote/iosremote/fr.lproj/iPhone_autoSize_old.storyboard @@ -1,9 +1,9 @@ - + - + @@ -516,6 +516,73 @@ Contrôle Distant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/iosremote/slideShow_vc_iphone.m b/ios/iosremote/iosremote/slideShow_vc_iphone.m index 3131dc6ea525..47a1cfe652c4 100644 --- a/ios/iosremote/iosremote/slideShow_vc_iphone.m +++ b/ios/iosremote/iosremote/slideShow_vc_iphone.m @@ -217,7 +217,7 @@ - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { static int count = 0; - if (count < 2){ + if (count < 1){ ++count; return; } diff --git a/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize.storyboard b/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize.storyboard index 674d8b92f065..fddf80d1e2e0 100644 --- a/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize.storyboard +++ b/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize.storyboard @@ -1,9 +1,9 @@ - + - + @@ -514,6 +514,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize_old.storyboard b/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize_old.storyboard index 674d8b92f065..fddf80d1e2e0 100644 --- a/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize_old.storyboard +++ b/ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize_old.storyboard @@ -1,9 +1,9 @@ - + - + @@ -514,6 +514,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/zh-Hans.lproj/iPad_autosize.storyboard b/ios/iosremote/zh-Hans.lproj/iPad_autosize.storyboard index 4f57290154bf..dfd96f8b5959 100644 --- a/ios/iosremote/zh-Hans.lproj/iPad_autosize.storyboard +++ b/ios/iosremote/zh-Hans.lproj/iPad_autosize.storyboard @@ -1,8 +1,8 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -223,7 +223,7 @@ - + @@ -502,7 +502,7 @@ - + @@ -541,6 +541,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard b/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard index 4f57290154bf..dfd96f8b5959 100644 --- a/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard +++ b/ios/iosremote/zh-Hans.lproj/iPad_autosize_old.storyboard @@ -1,8 +1,8 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -223,7 +223,7 @@ - + @@ -502,7 +502,7 @@ - + @@ -541,6 +541,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit