/development/tools/winscope/src/parsers/ |
D | raw_data_utils.ts | 21 static isEmptyObj(obj: PropertyTreeNode): boolean { 22 if (RawDataUtils.isColor(obj)) { 23 return RawDataUtils.isEmptyColor(obj); 26 if (RawDataUtils.isRect(obj)) { 27 return Rect.from(obj).isEmpty(); 33 static isColor(obj: PropertyTreeNode): boolean { 35 (obj.getChildByName('r') !== undefined && 36 obj.getChildByName('g') !== undefined && 37 obj.getChildByName('b') !== undefined) || 38 obj.getChildByName('a') !== undefined [all …]
|
/development/tools/winscope/src/common/ |
D | object_utils.ts | 30 static getProperty(obj: object, path: string): any { 33 if (obj === undefined) { 38 if ((obj as any)[key.key] === undefined) { 42 Array.isArray((obj as any)[key.key]), 45 obj = (obj as any)[key.key][assertDefined(key.index)]; 47 obj = (obj as any)[key.key]; 50 return obj; 53 static setProperty(obj: object, path: string, value: any) { 58 ObjectUtils.initializePropertyArrayIfNeeded(obj, key); 59 obj = (obj as any)[key.key][assertDefined(key.index)]; [all …]
|
D | object_utils_test.ts | 21 const obj = { constant 28 expect(ObjectUtils.getProperty(obj, 'child0')).toEqual({key0: 'value0'}); 29 expect(ObjectUtils.getProperty(obj, 'child0.key0')).toEqual('value0'); 30 expect(ObjectUtils.getProperty(obj, 'child1')).toEqual([ 34 expect(ObjectUtils.getProperty(obj, 'child1[0]')).toEqual({key1: 'value1'}); 35 expect(ObjectUtils.getProperty(obj, 'child1[0].key1')).toEqual('value1'); 36 expect(ObjectUtils.getProperty(obj, 'child1[1]')).toEqual(10); 40 const obj = {}; constant 42 ObjectUtils.setProperty(obj, 'child0.key0', 'value0'); 43 expect(obj).toEqual({ [all …]
|
/development/tools/winscope/src/parsers/surface_flinger/ |
D | parser_surface_flinger_utils.ts | 84 let obj = layer; 86 Object.getOwnPropertyNames(obj).forEach((it) => { 89 obj = Object.getPrototypeOf(obj); 90 } while (obj); 107 let obj = entry; 109 Object.getOwnPropertyNames(obj).forEach((it) => { 112 obj = Object.getPrototypeOf(obj); 113 } while (obj);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingCells.java | 60 ExpandableListItem obj = values[i % values.length]; in onCreate() local 61 mData.add(new ExpandableListItem(obj.getTitle(), obj.getImgResource(), in onCreate() 62 obj.getCollapsedHeight(), obj.getText())); in onCreate()
|
/development/apps/OBJViewer/com/android/objviewer/ |
D | OBJViewer.java | 177 Object3D obj = OBJViewer.getObject(); in onDraw() local 181 mCenterX = (obj.getBoundsMinX() + obj.getBoundsMaxX())/2.0f; in onDraw() 182 mCenterY = (obj.getBoundsMinY() + obj.getBoundsMaxY())/2.0f; in onDraw() 183 mCenterZ = (obj.getBoundsMinZ() + obj.getBoundsMaxZ())/2.0f; in onDraw() 184 float spanX = obj.getBoundsMaxX() - obj.getBoundsMinX(); in onDraw() 185 float spanY = obj.getBoundsMaxY() - obj.getBoundsMinY(); in onDraw() 186 float spanZ = obj.getBoundsMaxZ() - obj.getBoundsMinZ(); in onDraw()
|
/development/host/windows/ |
D | .gitignore | 7 usb/api/obj* 10 usb/adb_winapi_test/obj* 13 usb/winusb/obj*
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
D | web_services.py | 296 def safe_attr(self, obj, attr_name): argument 297 if attr_name in obj: 298 return obj[attr_name] 365 obj = datastore.Contact.get_contact_info(username) 368 if hasattr(obj, obj_name): 369 v = getattr(obj, obj_name) 374 contact['i'] = str(obj.key().id()) 375 contact['a'] = host_url + "/avatar?id=" + str(obj.key().id()) 383 obj = datastore.Contact.get_contact_info(username) 386 contact['i'] = str(obj.key().id())
|
/development/tools/winscope/src/trace/tree_node/ |
D | property_tree_node_factory.ts | 170 let obj = objProto; 173 const properties = Object.getOwnPropertyNames(obj).filter((it) => { 193 obj = this.visitPrototype ? Object.getPrototypeOf(obj) : undefined; 194 } while (obj);
|
/development/vndk/tools/header-checker/src/repr/symbol/ |
D | so_file_parser.cpp | 61 ELFSoFileParser(const llvm::object::ELFObjectFile<T> *obj); 86 ELFSoFileParser<T>::ELFSoFileParser(const llvm::object::ELFObjectFile<T> *obj) { in ELFSoFileParser() argument 87 assert(obj != nullptr); in ELFSoFileParser() 91 for (auto symbol_it : obj->getDynamicSymbolIterators()) { in ELFSoFileParser() 92 auto elf_sym_or_error = obj->getSymbol(symbol_it.getRawDataRefImpl()); in ELFSoFileParser()
|
/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/ |
D | SetTwoMinuteAlarm.java | 136 UiObject obj = new UiObject(new UiSelector().description(text)); in clickByDescription() local 137 obj.clickAndWaitForNewWindow(); in clickByDescription() 146 UiObject obj = new UiObject(new UiSelector().text(text)); in clickByText() local 147 obj.clickAndWaitForNewWindow(); in clickByText()
|
D | LogBuildNumber.java | 116 UiObject obj = appsSettingsList.getChildByText(SettingsHelper.LIST_VIEW_ITEM, name); in selectSettingsFor() local 117 obj.click(); in selectSettingsFor()
|
/development/tools/winscope/src/parsers/window_manager/ |
D | parser_window_manager_utils.ts | 109 let obj = entry; 111 Object.getOwnPropertyNames(obj).forEach((it) => { 116 obj = Object.getPrototypeOf(obj); 117 } while (obj); 242 let obj = container; 244 Object.getOwnPropertyNames(obj).forEach((it) => { 247 obj = Object.getPrototypeOf(obj); 248 } while (obj);
|
/development/tools/winscope/src/parsers/view_capture/legacy/ |
D | parser_view_capture_window.ts | 223 let obj = node; 225 Object.getOwnPropertyNames(obj).forEach((it) => { 230 obj = Object.getPrototypeOf(obj); 231 } while (obj);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | CustomArrayAdapter.java | 91 ListItemObject obj = mData.get(position); in getView() local 99 .MATCH_PARENT, obj.getHeight())); in getView() 105 obj.getImgResource(), null); in getView() 107 textView.setText(obj.getTitle()); in getView()
|
D | InsertingCells.java | 83 ListItemObject obj = mValues[mItemNum % mValues.length]; in addRow() local 84 final ListItemObject newObj = new ListItemObject(obj.getTitle(), obj.getImgResource(), in addRow()
|
/development/host/windows/usb/api/ |
D | adb_api.cpp | 108 AdbInterfaceObject* obj = NULL; in AdbCreateInterfaceByName() local 115 obj = new AdbLegacyInterfaceObject(interface_name); in AdbCreateInterfaceByName() 121 obj = InstantiateWinUsbInterface(interface_name); in AdbCreateInterfaceByName() 122 if (NULL == obj) { in AdbCreateInterfaceByName() 131 ret = obj->CreateHandle(); in AdbCreateInterfaceByName() 136 if (NULL != obj) in AdbCreateInterfaceByName() 137 obj->Release(); in AdbCreateInterfaceByName()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | Projector.java | 41 public void project(float[] obj, int objOffset, float[] win, int winOffset) { in project() argument 47 Matrix.multiplyMV(mV, 0, mMVP, 0, obj, objOffset); in project()
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbTestActivity.java | 83 m.obj = s; in log() 110 m.obj = device; in deviceOnline() 201 appendLog((String)msg.obj); 204 handleDeviceOnline((AdbDevice)msg.obj);
|
/development/build/ |
D | sdk.atree | 43 ${OUT_DIR}/target/common/obj/PACKAGING/android_jar_intermediates/android.jar platforms/$… 44 ${OUT_DIR}/target/common/obj/PACKAGING/android_jar_intermediates/android-stubs-src.jar platforms/$… 47 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/core-current-stubs-for-system-modules_intermediates/cla… 51 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.stubs_intermediates/classes.jar … 53 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android_uiautomator_intermediates/classes.jar platf… 55 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android.car-stubs_intermediates/classes.jar pla… 57 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android.test.mock.stubs_intermediates/classes.jar pla… 58 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android.test.base.stubs_intermediates/classes.jar pla… 59 ${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android.test.runner.stubs_intermediates/classes.jar pla… 62 ${OUT_DIR}/target/common/obj/PACKAGING/framework.aidl platfo… [all …]
|
/development/ |
D | CleanSpec.mk | 47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/CorpApp_intermediates)
|
/development/samples/LceDemo/src/com/example/android/lce/ |
D | LceDemoActivity.java | 56 text.append((String)msg.obj); in onCreate() 68 message.obj = "New downlink capacity received: " + in onCreate()
|
/development/tools/idegen/src/com/android/idegen/ |
D | Module.java | 371 public boolean equals(Object obj) { in equals() argument 372 if (this == obj) { in equals() 375 if (obj == null || getClass() != obj.getClass()) { in equals() 378 Module other = (Module) obj; in equals()
|
/development/tools/winscope/src/trace/ |
D | trace_tree_node.ts | 44 obj?: any; property
|
/development/host/windows/usb/adb_winapi_test/ |
D | SOURCES | 18 TARGETPATH = obj 37 ..\api\obj$(BUILD_ALT_DIR)\i386\AdbWinApi.lib
|