!385 全球化补充API mock

Merge pull request !385 from maoziduanl/master
This commit is contained in:
openharmony_ci
2022-07-13 09:44:38 +00:00
committed by Gitee
2 changed files with 22 additions and 1 deletions
@@ -0,0 +1,20 @@
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const Resource = {
bundleName : '[PC Preview] unknow string',
moduleName : '[PC Preview] unknow string',
id : '[PC Preview] unknow number'
}
@@ -36,7 +36,8 @@ export function mockResourceManager() {
SCREEN_MDPI : 160,
SCREEN_LDPI : 240,
SCREEN_XLDPI : 320,
SCREEN_XXLDPI : 480
SCREEN_XXLDPI : 480,
SCREEN_XXXLDPI : 640
}
const DeviceType = {