| /applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/main/ets/MainAbility/pages/ |
| H A D | FoodDetail.ets | 17 import { FoodData } from '../model/FoodData' 27 Text('Food Detail') 42 struct FoodImageDisplay { 43 private foodItem: FoodData 47 Image(this.foodItem.image) 49 Text(this.foodItem.name) 61 private foodItem: FoodData [all...] |
| /applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/main/ets/MainAbility/model/ |
| H A D | FoodDataModels.ets | 16 import { FoodData, Category } from './FoodData' 18 const FoodComposition: any[] = [ 33 export function initializeOnStartup(): Array<FoodData> { 34 let FoodDataArray: Array<FoodData> = [] 35 FoodComposition.forEach(item => { 36 FoodDataArray.push(new FoodData(item.name, item.image, item.category, item.calories, item.protein, item.fat, item.carbohydrates, item.vitaminC)); 38 return FoodDataArray; [all...] |
| H A D | FoodData.ets | 25 export class FoodData {
|
| /applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/main/ |
| H A D | config.json | 57 "pages/FoodCategoryList", 58 "pages/FoodDetail"
|
| /applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/ohosTest/ets/test/ |
| H A D | app.test.ets | 46 it(BUNDLE + 'FoodGridFunction_001', 0, async function () { 48 hilog.info(DOMAIN, TAG, BUNDLE + 'FoodGridFunction_001 begin') 51 // foodDetail 52 hilog.info(DOMAIN, TAG, BUNDLE + 'FoodGridFunction_001 foodDetail') 53 await driver.assertComponentExist(ON.id('foodGridItem1')) 54 let foodGridItem1 = await driver.findComponent(ON.id('foodGridItem1')) 55 await foodGridItem1.click() 58 hilog.info(DOMAIN, TAG, BUNDLE + 'FoodGridFunction_001 bac [all...] |
| /applications/standard/app_samples/code/UI/ArkTsComponentCollection/MediaQuery/entry/src/main/resources/base/element/ |
| H A D | string.json | 25 "value": "Winter Olympic food record."
|
| /applications/standard/app_samples/code/UI/ArkTsComponentCollection/MediaQuery/entry/src/main/resources/en_US/element/ |
| H A D | string.json | 21 "value": "Winter Olympic food record."
|
| /applications/standard/camera/common/src/main/ets/default/redux/actions/ |
| H A D | Action.ts | 141 public static initFootBarWidth(footBarWidth: number): ActionData { 144 data: { footBarWidth: footBarWidth } 148 public static initFootBarHeight(footBarHeight: number): ActionData { 151 data: { footBarHeight: footBarHeight }
|
| /applications/standard/camera/common/src/main/ets/default/redux/reducers/ |
| H A D | ContextReducer.ts | 23 footBarWidth: number, 24 footBarHeight: number, 38 footBarWidth: 0, 39 footBarHeight: 0, 57 ...state, footBarWidth: action.data.footBarWidth 61 ...state, footBarHeight: action.data.footBarHeight
|
| /applications/standard/camera/common/src/main/ets/default/utils/ |
| H A D | ComponentPosition.ts | 23 private static footBarComponentWidth: number = 98 24 private static footBarInPreviewMaxMargin: number = 98 54 public static footBarPosition(screenWidth: number, screenHeight: number, previewWidth: number, previewHeight: number) { 55 Log.info(`${this.TAG} footBarPosition `) 61 let position = screenWidth <= previewWidth + this.footBarInPreviewMaxMargin * 2 ? 62 { x: (screenWidth / 2 + previewWidth / 2 - this.footBarComponentWidth), y: 0 } : 63 { x: (screenWidth * 3 / 4 + previewWidth / 4 - this.footBarComponentWidth / 2), y: 0} 103 if (screenWidth < previewWidth + this.footBarInPreviewMaxMargin * 2) { 104 xPosition = (screenWidth / 2 + previewWidth / 2 - ((this.footBarComponentWidth + this.zoomViewComponentWidth
|
| /applications/standard/camera/product/phone/src/main/ets/pages/ |
| H A D | PreviewArea.ets | 58 footBarHeight: number = 0; 379 footBarHeight: state.contextReducer.footBarHeight,
|
| H A D | FootBar.ets | 36 class FootBarDispatcher { 45 export struct FootBar { 46 private TAG: string = '[FootBar]:'; 50 private mAction: FootBarDispatcher = new FootBarDispatcher();
|
| H A D | index.ets | 35 import { FootBar } from './FootBar'; 49 footBarHeight: number = 0; 71 public initFootBarHeight(footBarHeight: number): void { 72 this.mDispatch(Action.initFootBarHeight(footBarHeight)); 139 footBarHeight: state.contextReducer.footBarHeight, 158 let footBarHeight: number = 0; 160 footBarHeight = px2vp(dis.width) * (4 / 3) - 160; 162 footBarHeight [all...] |
| /applications/standard/camera/product/tablet/src/main/ets/pages/ |
| H A D | PreviewAreaLand.ets | 65 footBarHeight: number = 0; 383 footBarHeight: state.contextReducer.footBarHeight,
|
| H A D | indexLand.ets | 35 import { FootBarLand } from './FootBarLand'; 366 FootBarLand({ screenSize: $screenSize }) 371 } : ComponentPosition.footBarPosition(this.screenSize.width, this.screenSize.height,
|
| H A D | FootBarLand.ets | 44 class FootBarDispatcher { 53 export struct FootBarLand { 54 private TAG: string = '[FootBarLand]:'; 59 private mAction: FootBarDispatcher = new FootBarDispatcher();
|
| /applications/standard/dlp_manager/entry/src/main/ets/common/ |
| H A D | constant.ets | 18 public static FOOTER_ROW_WIDTH = '100%';
19 public static FOOTER_ROW_MARGIN = 8;
20 public static FOOTER_ROW_PAD_LEFT = 16;
21 public static FOOTER_ROW_PAD_RIGHT = 16;
29 public static FOOTER_WIDTH_BUTTON = '48%';
118 public static FOOTER_OPACITY_ONE = 1;
119 public static FOOTER_OPACITY_SEPC = 0.6;
120 public static FOOTER_OPACITY_MID = 0.5;
|
| /applications/standard/dlp_manager/entry/src/main/ets/common/encryptionComponents/ |
| H A D | AddStaff.ets | 276 .width(Constants.FOOTER_ROW_WIDTH) 356 .opacity(this.focusFlag ? Constants.FOOTER_OPACITY_SEPC : Constants.FOOTER_OPACITY_ONE); 381 .opacity(this.isDisable ? Constants.DU_LINE_WIDTH : Constants.FOOTER_OPACITY_ONE)
|
| H A D | staff.ets | 144 .opacity(Constants.FOOTER_OPACITY_MID);
153 .opacity(Constants.FOOTER_OPACITY_MID)
|
| H A D | permission_type_select.ets | 110 .opacity(this.isDisable ? Constants.DU_LINE_WIDTH : Constants.FOOTER_OPACITY_ONE)
168 .opacity(this.isDisable ? Constants.DU_LINE_WIDTH : Constants.FOOTER_OPACITY_ONE)
|
| /applications/standard/dlp_manager/entry/src/main/ets/pages/ |
| H A D | encryptionProtection.ets | 689 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
719 .width(Constants.FOOTER_ROW_WIDTH)
742 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
772 .width(Constants.FOOTER_ROW_WIDTH)
818 .width(Constants.FOOTER_ROW_WIDTH)
|
| H A D | changeEncryption.ets | 525 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
550 .width(Constants.FOOTER_ROW_WIDTH)
568 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
593 .width(Constants.FOOTER_ROW_WIDTH)
594 .margin({ top: Constants.FOOTER_ROW_MARGIN })
679 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
705 .width(Constants.FOOTER_ROW_WIDTH)
723 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
749 .width(Constants.FOOTER_ROW_WIDTH)
|
| H A D | encryptionSuccess.ets | 237 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
262 .width(Constants.FOOTER_ROW_WIDTH)
280 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
305 .width(Constants.FOOTER_ROW_WIDTH)
393 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
419 .width(Constants.FOOTER_ROW_WIDTH)
437 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
463 .width(Constants.FOOTER_ROW_WIDTH)
595 .width(Constants.FOOTER_WIDTH_BUTTON)
638 left: Constants.FOOTER_ROW_PAD_LEFT,
[all...] |
| H A D | permissionStatus.ets | 228 Text(this.authPerm === Constants.FOOTER_OPACITY_ONE ?
240 ForEach(this.authPerm === Constants.FOOTER_OPACITY_ONE ?
273 .height(Constants.FOOTER_OPACITY_ONE)
285 if (this.authPerm === Constants.FOOTER_OPACITY_ONE) {
331 top: Constants.FOOTER_ROW_PAD_LEFT,
333 left: Constants.FOOTER_ROW_PAD_LEFT,
334 right: Constants.FOOTER_ROW_PAD_RIGHT
|
| /base/hiviewdfx/hiview/base/utility/ |
| H A D | freeze_json_util.cpp | 177 char foot = target[target.size() - 1];
in HasBeenWrapped() local 178 return (head == COMMON_QUOTE[0] && foot == COMMON_QUOTE[0]) ||
in HasBeenWrapped() 179 (head == COMMON_LEFT_BRACE[0] && foot == COMMON_RIGHT_BRACE[0]) ||
in HasBeenWrapped() 180 (head == COMMON_LEFT_SQUARE_BRACKET[0] && foot == COMMON_RIGHT_SQUARE_BREAKET[0]);
in HasBeenWrapped()
|