/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | AdapterHelper.java | 95 switch (op.cmd) { 225 if (op.cmd == UpdateOp.ADD || op.cmd == UpdateOp.MOVE) { 239 int tmpStart = updatePositionWithPostponed(op.positionStart, op.cmd); 246 switch (op.cmd) { 258 int updatedPos = updatePositionWithPostponed(pos, op.cmd); 263 switch (op.cmd) { 275 UpdateOp tmp = obtainUpdateOp(op.cmd, tmpStart, tmpCnt); 281 if (op.cmd == UpdateOp.UPDATE) { 290 UpdateOp tmp = obtainUpdateOp(op.cmd, tmpStar 322 updatePositionWithPostponed(int pos, int cmd) argument 613 int cmd; field in class:AdapterHelper.UpdateOp 620 UpdateOp(int cmd, int positionStart, int itemCount) argument 685 obtainUpdateOp(int cmd, int positionStart, int itemCount) argument [all...] |
H A D | OpReorderer.java | 47 switch (nextOp.cmd) { 87 moveOp.cmd = REMOVE; 220 if (op1.cmd == MOVE) { 233 UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount); argument
|
H A D | StaggeredGridLayoutManager.java | 1306 private void handleUpdate(int positionStart, int itemCountOrToPosition, int cmd) { argument 1311 if (cmd == AdapterHelper.UpdateOp.MOVE) { 1325 switch (cmd) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | AdapterHelperTest.java | 887 AdapterHelper.UpdateOp op(int cmd, int start, int count) { argument 888 return new AdapterHelper.UpdateOp(cmd, start, count); 1009 switch (op.cmd) {
|
H A D | OpReorderTest.java | 47 public UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount) { 48 return new UpdateOp(cmd, startPosition, itemCount); 225 void randOp(int cmd) { argument 226 switch (cmd) { 329 if (op.cmd == MOVE) { 362 switch (op.cmd) { 391 copy.add(new UpdateOp(op.cmd, op.positionStart, op.itemCount));
|
/frameworks/wilhelm/src/android/ |
H A D | android_StreamPlayer.cpp | 98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { argument 100 mListener->issueCommand(cmd, false /* synchronous */, msg);
|
/frameworks/rs/ |
H A D | rsContext.cpp | 950 destroyCmd cmd; local 951 cmd.cmdID = RS_CMD_ID_ObjDestroy; 952 cmd.bytes = sizeof(RsAsyncVoidPtr); 953 cmd.ptr = objPtr; 955 io->coreWrite((void*)&cmd, sizeof(destroyCmd));
|
H A D | rsContext.h | 193 void setWatchdogGL(const char *cmd, uint32_t line, const char *file) const { argument 194 watchdog.command = cmd;
|
H A D | rsThreadIO.cpp | 109 const CoreCmdHeader *cmd = (const CoreCmdHeader *)&buf[0]; local 139 mToCore.read(&buf[sizeof(CoreCmdHeader)], cmd->bytes); 145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); 153 //ALOGV("playCoreCommands 3 %i %i", cmd->cmdID, cmd->bytes); 155 if (cmd->cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) { 156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); 157 ALOGE("playCoreCommands error con %p, cmd %i", con, cmd [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | BackStackRecord.java | 67 mOps[pos++] = op.cmd; 116 op.cmd = mOps[pos++]; 209 int cmd; field in class:BackStackRecord.Op 306 switch (op.cmd) { 315 default: cmdStr="cmd=" + op.cmd; break; 437 op.cmd = opcmd; 457 op.cmd = OP_REMOVE; 466 op.cmd = OP_HIDE; 475 op.cmd [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataConnection.java | 234 // Convert cmd to string or null if unknown 235 static String cmdToString(int cmd) { argument 237 cmd -= BASE; 238 if ((cmd >= 0) && (cmd < sCmdToString.length)) { 239 value = sCmdToString[cmd]; 241 value = DcAsyncChannel.cmdToString(cmd + BASE); 244 value = "0x" + Integer.toHexString(cmd + BASE);
|
H A D | DcAsyncChannel.java | 83 // Convert cmd to string or null if unknown 84 protected static String cmdToString(int cmd) { argument 85 cmd -= BASE; 86 if ((cmd >= 0) && (cmd < sCmdToString.length)) { 87 return sCmdToString[cmd]; 89 return AsyncChannel.cmdToString(cmd + BASE);
|
H A D | DcSwitchAsyncChannel.java | 84 protected static String cmdToString(int cmd) { argument 85 cmd -= BASE; 86 if ((cmd >= 0) && (cmd < sCmdToString.length)) { 87 return sCmdToString[cmd]; 89 return AsyncChannel.cmdToString(cmd + BASE);
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 787 static void showHelp(const char *cmd) argument 789 fprintf(stderr, "usage: %s [options] [categories...]\n", cmd);
|
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 727 static void showHelp(const char *cmd) { argument 728 fprintf(stderr, "usage: %s [options]\n", cmd);
|
/frameworks/native/cmds/installd/ |
H A D | installd.c | 232 static int execute(int s, char cmd[BUFFER_MAX]) argument 241 // ALOGI("execute('%s')\n", cmd); 247 arg[0] = cmd; 248 while (*cmd) { 249 if (isspace(*cmd)) { 250 *cmd++ = 0; 252 arg[n] = cmd; 258 cmd++; 276 n = snprintf(cmd, BUFFER_MAX, "%d %s", ret, reply); 278 n = snprintf(cmd, BUFFER_MA [all...] |
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 631 static void show_help(const char *cmd) argument 633 fprintf(stderr,"Usage: %s COMMAND [options] [backup-file-path]\n", cmd); 654 cmd);
|
/frameworks/native/cmds/servicemanager/ |
H A D | binder.c | 61 const char *cmd_name(uint32_t cmd) argument 63 switch(cmd) { 208 uint32_t cmd = *(uint32_t *) ptr; local 211 fprintf(stderr,"%s:\n", cmd_name(cmd)); 213 switch(cmd) { 278 ALOGE("parse: OOPS %d\n", cmd); 288 uint32_t cmd[2]; local 289 cmd[0] = BC_ACQUIRE; 290 cmd[1] = target; 291 binder_write(bs, cmd, sizeo 296 uint32_t cmd[2]; local 305 uint32_t cmd; member in struct:__anon1173 322 uint32_t cmd; member in struct:__anon1174 453 uint32_t cmd; member in struct:__anon1175 [all...] |
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 159 const int32_t* cmd = (const int32_t*)_cmd; local 160 int32_t code = *cmd++; 163 out << "BR_ERROR: " << (void*)(*cmd++) << endl; 164 return cmd; 167 return cmd; 175 cmd = (const int32_t *)printBinderTransactionData(out, cmd); 180 const int32_t res = *cmd++; 188 const int32_t b = *cmd++; 189 const int32_t c = *cmd 220 const int32_t* cmd = (const int32_t*)_cmd; local 423 int32_t cmd; local 711 int32_t cmd; local 901 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument 944 executeCommand(int32_t cmd) argument [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_eglapi.cpp | 91 uint32_t cmd = ntohl(*(uint32_t*)cmdBuf); local 93 bool collectFbOnEglSwap = (cmd & READ_FB_ON_EGLSWAP_MASK) != 0; 94 bool collectFbOnGlDraw = (cmd & READ_FB_ON_GLDRAW_MASK) != 0; 95 bool collectTextureData = (cmd & READ_TEXTURE_DATA_ON_GLTEXIMAGE_MASK) != 0;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 133 void printSyntax(const char *cmd); 170 char cmd[MAXCMD]; local 281 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 282 if (rv >= (signed) sizeof(cmd) - 1) { 286 testExecCmd(cmd); 402 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 403 if (rv >= (signed) sizeof(cmd) - 1) { 407 testExecCmd(cmd); 424 printSyntax(const char *cmd) argument [all...] |
H A D | hwcCommit.cpp | 308 void printSyntax(const char *cmd); 344 char cmd[MAXCMD]; local 415 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 416 if (rv >= (signed) sizeof(cmd) - 1) { 420 testExecCmd(cmd); 619 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 620 if (rv >= (signed) sizeof(cmd) - 1) { 624 testExecCmd(cmd); 1548 printSyntax(const char *cmd) argument [all...] |
H A D | hwcRects.cpp | 175 void printSyntax(const char *cmd); 209 char cmd[MAXCMD]; local 238 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 239 if (rv >= (signed) sizeof(cmd) - 1) { 243 testExecCmd(cmd); 350 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 351 if (rv >= (signed) sizeof(cmd) - 1) { 355 testExecCmd(cmd); 543 printSyntax(const char *cmd) argument [all...] |
H A D | hwcStress.cpp | 244 char cmd[MAXCMD]; local 375 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); 376 if (rv >= (signed) sizeof(cmd) - 1) { 380 testExecCmd(cmd); 515 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); 516 if (rv >= (signed) sizeof(cmd) - 1) { 520 testExecCmd(cmd);
|
/frameworks/base/tools/aapt/ |
H A D | Bundle.h | 76 void setCommand(Command cmd) { mCmd = cmd; } argument
|