forked from firka/flutter
minikin: Replace cutils/log.h with android/log.h or log/log.h am: ff6cd90494
am: bc2dbaa9bf
Change-Id: Ie77d0b3e90aeafeef05b427750c04d5589a340dc
This commit is contained in:
@@ -17,11 +17,12 @@
|
||||
// Determine coverage of font given its raw "cmap" OpenType table
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
|
||||
#include <vector>
|
||||
using std::vector;
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
#include <minikin/SparseBitSet.h>
|
||||
#include <minikin/CmapCoverage.h>
|
||||
|
||||
|
||||
@@ -17,9 +17,10 @@
|
||||
// #define VERBOSE_DEBUG
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <android/log.h>
|
||||
#include "unicode/unistr.h"
|
||||
#include "unicode/unorm2.h"
|
||||
|
||||
|
||||
@@ -16,24 +16,24 @@
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <utils/JenkinsHash.h>
|
||||
|
||||
#include <hb.h>
|
||||
#include <hb-ot.h>
|
||||
|
||||
#include <utils/JenkinsHash.h>
|
||||
|
||||
#include "FontLanguage.h"
|
||||
#include "FontLanguageListCache.h"
|
||||
#include "HbFontCache.h"
|
||||
#include "MinikinInternal.h"
|
||||
#include <minikin/MinikinFont.h>
|
||||
#include <minikin/AnalyzeStyle.h>
|
||||
#include <minikin/CmapCoverage.h>
|
||||
#include <minikin/FontFamily.h>
|
||||
#include <minikin/MinikinFont.h>
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
@@ -18,12 +18,13 @@
|
||||
|
||||
#include "FontLanguageListCache.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <unicode/uloc.h>
|
||||
#include <unordered_set>
|
||||
|
||||
#include "MinikinInternal.h"
|
||||
#include <android/log.h>
|
||||
|
||||
#include "FontLanguage.h"
|
||||
#include "MinikinInternal.h"
|
||||
|
||||
namespace android {
|
||||
|
||||
|
||||
@@ -18,10 +18,11 @@
|
||||
|
||||
#include "HbFontCache.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
#include <utils/LruCache.h>
|
||||
|
||||
#include <hb.h>
|
||||
#include <hb-ot.h>
|
||||
#include <utils/LruCache.h>
|
||||
|
||||
#include <minikin/MinikinFont.h>
|
||||
#include "MinikinInternal.h"
|
||||
|
||||
@@ -15,29 +15,28 @@
|
||||
*/
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
#include <iostream> // for debugging
|
||||
#include <math.h>
|
||||
#include <string>
|
||||
#include <unicode/ubidi.h>
|
||||
#include <vector>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <utils/JenkinsHash.h>
|
||||
#include <utils/LruCache.h>
|
||||
#include <utils/Singleton.h>
|
||||
#include <utils/String16.h>
|
||||
|
||||
#include <unicode/ubidi.h>
|
||||
#include <hb-icu.h>
|
||||
#include <hb-ot.h>
|
||||
|
||||
#include "FontLanguage.h"
|
||||
#include "FontLanguageListCache.h"
|
||||
#include "LayoutUtils.h"
|
||||
#include "HbFontCache.h"
|
||||
#include "LayoutUtils.h"
|
||||
#include "MinikinInternal.h"
|
||||
#include <minikin/MinikinFontFreeType.h>
|
||||
#include <minikin/Layout.h>
|
||||
|
||||
@@ -16,10 +16,11 @@
|
||||
|
||||
#define VERBOSE_DEBUG 0
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
|
||||
#include <limits>
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
|
||||
#include <minikin/Layout.h>
|
||||
#include <minikin/LineBreaker.h>
|
||||
|
||||
@@ -15,11 +15,12 @@
|
||||
*/
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <unicode/uchar.h>
|
||||
|
||||
#include <android/log.h>
|
||||
|
||||
#include <minikin/GraphemeBreak.h>
|
||||
#include <minikin/Measurement.h>
|
||||
|
||||
|
||||
@@ -15,12 +15,13 @@
|
||||
*/
|
||||
|
||||
// Definitions internal to Minikin
|
||||
#define LOG_TAG "Minikin"
|
||||
|
||||
#include "MinikinInternal.h"
|
||||
#include "HbFontCache.h"
|
||||
#include "generated/UnicodeData.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
|
||||
namespace android {
|
||||
|
||||
|
||||
@@ -14,9 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <cutils/log.h>
|
||||
#define LOG_TAG "SparseBitSet"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <android/log.h>
|
||||
|
||||
#include <minikin/SparseBitSet.h>
|
||||
|
||||
namespace android {
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
*/
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
|
||||
#include <android/log.h>
|
||||
|
||||
#include <minikin/WordBreaker.h>
|
||||
#include "MinikinInternal.h"
|
||||
|
||||
@@ -14,11 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <minikin/FontFamily.h>
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "FontLanguageListCache.h"
|
||||
#include "ICUTestBase.h"
|
||||
|
||||
@@ -14,15 +14,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
|
||||
#include <libxml/tree.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <minikin/FontCollection.h>
|
||||
#include <minikin/FontFamily.h>
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
|
||||
#include "FontLanguage.h"
|
||||
#include "MinikinFontForTest.h"
|
||||
#include <minikin/FontCollection.h>
|
||||
#include <minikin/FontFamily.h>
|
||||
|
||||
android::FontCollection* getFontCollection(const char* fontDir, const char* fontXml) {
|
||||
xmlDoc* doc = xmlReadFile(fontXml, NULL, 0);
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "HbFontCache.h"
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <hb.h>
|
||||
#include <android/log.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <utils/Mutex.h>
|
||||
|
||||
#include <hb.h>
|
||||
|
||||
#include "MinikinInternal.h"
|
||||
#include "MinikinFontForTest.h"
|
||||
#include <minikin/MinikinFont.h>
|
||||
|
||||
@@ -14,13 +14,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
|
||||
#include "MinikinFontForTest.h"
|
||||
|
||||
#include <minikin/MinikinFont.h>
|
||||
|
||||
#include <SkTypeface.h>
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <android/log.h>
|
||||
|
||||
MinikinFontForTest::MinikinFontForTest(const std::string& font_path) :
|
||||
MinikinFontForTest(font_path, SkTypeface::CreateFromFile(font_path.c_str())) {
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
|
||||
#include <android/log.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "ICUTestBase.h"
|
||||
#include "UnicodeUtils.h"
|
||||
#include <minikin/WordBreaker.h>
|
||||
@@ -22,9 +26,6 @@
|
||||
#include <unicode/uclean.h>
|
||||
#include <unicode/udata.h>
|
||||
|
||||
#define LOG_TAG "Minikin"
|
||||
#include <cutils/log.h>
|
||||
|
||||
#ifndef NELEM
|
||||
#define NELEM(x) ((sizeof(x) / sizeof((x)[0])))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user