Default no you haven't lost your warranty

No need to worry you haven't lost your warranty.
you will lose your warranty if and only if you unlock bootloader or root your device.